Repository navigation
Canonicalize cross-stream MR titles and changelog entries by issue family - #828
Conversation
PR Summary by QodoCanonicalize cross-stream titles by issue family
AI Description
Diagram
High-Level Assessment
Files changed (16)
|
Code Review by Qodo
1.
|
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 17e666c |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 6b5af8f |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit bd3ed67 |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit b078d2c |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit e606187 |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit dc86d68 |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit e33e4da |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 753fa76 |
2ddcf1c to
f48d4fd
Compare
|
@nforro my concerns here are:
my 2 cents would be that it should check if there is source changelog first and if there is use it for all subsequent streams instead of generating one. if there isnt a source changelog then it can generate one which would then be re-used for all subsequent streams from there. while we dont have a rule anywhere in the RHEL process that says the changelog entries must be consistent across streams i've found that it is generally what people expect to happen and they start to complain otherwise. |
|
@antbob Hopefully I've addressed your points. |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit a5b9188 |
|
@nforro thank you, this is very thorough and should keep the changelogs consistent for us! i dont completely understand the reasoning behind the part that does the recovery when cache is missing (ie why cannot the info be recovered straight from source commit instead) but i guess you have solid reasons for doing that, maybe multi-commit cases. either way, on my side i would be just happy that it works consistently, and not how/why. |
…mily Use canonical CVE and generated non-CVE titles across commits, MRs, and changelogs. Add Redis-backed family coordination, title validation, safe changelog handling, and cross-stream consolidation safeguards. Signed-off-by: Nikola Forró <nforro@redhat.com> Assisted-by: GPT-5.6 Terra via OpenCode Assisted-by: GPT-5.6 Sol via OpenCode
When exactly one RHEL dist-git commit is supplied as a backport source, use its commit subject for the resulting commit and MR title. Preserve source changelog wording, and retain existing behavior for multiple or external source commits. Signed-off-by: Nikola Forró <nforro@redhat.com> Assisted-by: GPT-5.6 Terra via OpenCode
IIUC what you mean by this, that's the "upstream Ymir" case, we don't have any source commit to take the metadata from. |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 01bfdcf |
Find resolved same-family Jira siblings with Fixed in Build metadata. Select the latest by Jira resolution date, resolve its Brew source commit in RHEL or CentOS Stream dist-git, and reuse its title and changelog before Redis or TitleAgent fallback. Signed-off-by: Nikola Forró <nforro@redhat.com> Assisted-by: GPT-5.6 Terra via OpenCode
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 66cf5ec |
lbarcziova
left a comment
There was a problem hiding this comment.
overall design LGTM, couldn't find any issues, thanks!
Summary
Makes commit subjects, MR titles, and changelog entries consistent across related Jira issues and RHEL streams.
The workflow prefers durable human-authored downstream metadata when available; Redis is a short-lived coordination cache.
Metadata Selection
Normal backports use this precedence:
A selected source commit provides:
Multiple explicit source commits retain the existing combined-changelog behavior and do not select an arbitrary source title.
Resolved Sibling Recovery
For backports without an explicit source title, Ymir:
Fixed in Build.resolutiondate.This restores consistent human-authored wording even after Redis expires or is cleared.
Redis And Safety
Tests and documentation cover source recovery, cache behavior, CVE parsing, and changelog consistency.
Fixes https://redhat.atlassian.net/browse/PACKIT-5208.