You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(review): a dependency advisory the base revision's pins already have is listed as pre-existing #1353
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
This is a Copilot thread on release PR #1283, verified at b57ef7f. base_fingerprints comes only from rerunning the static scanners on the base revision [code: src/devops_cli/ai/review/pipeline.py:2911]. So every dependency advisory is listed as introduced, with SARIF baselineState: new, even when the base revision pins the same vulnerable version. This fails safe, since nothing gates on the label. The v0.2.28 release notes say so. #1289 and #1304 introduced this.
Acceptance criteria
_audit_file_dependencies extracts the base revision's pins and reuses its advisory cache, so it makes no extra OSV requests. It admits them against the base content and adds those fingerprints to base_fingerprints.
A test fails today: an advisory the base revision already has is listed under Pre-existing, and a new pin's advisory under Introduced.
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
Priority: P2-Medium. The mislabeling is visible in reports but explicitly fails safe (nothing gates on the label), so it is a correctness issue without functional or security impact.
Value: Medium. Users see inaccurate Introduced vs Pre-existing classification for dependency advisories, which undermines trust in the review report but does not block or misdirect any action.
Effort: Medium. Requires modifying _audit_file_dependencies to extract base pins, reuse the advisory cache, admit against base content, update base_fingerprints, and add a failing-then-passing test.
Linked: #1302 and #1146 share the advisory path (ai/review/pipeline.py:2881-2959), which #1146 replaces. The pre-existing match (review/admission.py:175) is reliable only with #1141's purl@version. Found by the 2026-10-08 backlog review.
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
Activity
dan-petty-bot commentedon Oct 8, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The mislabeling is visible in reports but explicitly fails safe (nothing gates on the label), so it is a correctness issue without functional or security impact.Users see inaccurate Introduced vs Pre-existing classification for dependency advisories, which undermines trust in the review report but does not block or misdirect any action.Requires modifying _audit_file_dependencies to extract base pins, reuse the advisory cache, admit against base content, update base_fingerprints, and add a failing-then-passing test.dan-petty commentedon Oct 8, 2026
Linked: #1302 and #1146 share the advisory path (
ai/review/pipeline.py:2881-2959), which #1146 replaces. The pre-existing match (review/admission.py:175) is reliable only with #1141'spurl@version. Found by the 2026-10-08 backlog review.