Repository navigation
Fix changelog Resolves mismatch in MR consolidation - #702
Conversation
PR Summary by QodoFix per-commit consolidation changelog Resolves Jira mismatch
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
7 rules 1.
|
2cff3f3 to
a9cf03e
Compare
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit a9cf03e |
a9cf03e to
7d35b21
Compare
40bd854 to
04039f6
Compare
When per_commit_flow cherry-picks base-branch commits, their changelog entries carry the base MR's Jira key. If the base was backported under a multi-CVE tracker (e.g. RHEL-154707), all CVE entries get that key instead of per-CVE keys (RHEL-190609, RHEL-190617). Add _build_cve_to_jira_map() to derive CVE→Jira mappings from MR titles and branch names, and _fix_changelog_resolves() to correct mismatched Resolves lines in the spec after cherry-picking base commits. Also fix run_log_agent (merged strategy) to pass all collected Jira keys instead of only the first one alphabetically. Observed in mingw-glib2 MR !37 — uril flagged two changelog mismatches (CVE-2026-58014 → RHEL-154707, CVE-2026-58016 → RHEL-154707). Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
04039f6 to
37ecff5
Compare
When per_commit_flow cherry-picks base-branch commits, their changelog entries carry the base MR's Jira key. If the base was backported under a multi-CVE tracker (e.g. RHEL-154707), all CVE entries get that key instead of per-CVE keys (RHEL-190609, RHEL-190617).
Add _build_cve_to_jira_map() to derive CVE→Jira mappings from MR titles and branch names, and _fix_changelog_resolves() to correct mismatched Resolves lines in the spec after cherry-picking base commits. Also fix run_log_agent (merged strategy) to pass all collected Jira keys instead of only the first one alphabetically.
Observed in mingw-glib2 MR !37 — uril flagged two changelog mismatches (CVE-2026-58014 → RHEL-154707, CVE-2026-58016 → RHEL-154707).
Assisted-by: Claude Opus 4.6 (1M context) noreply@anthropic.com