Skip to content

A vulnerability gets assessed again for every tracker that points at the same commit #2194

Backlog

Description

@ascerra

What happens

A tracker is the work item that asks whether a vulnerability affects one release. Trackers are often kept per product release and per component, and Fullsend's tracker-first dispatch design does the same (ADR 0167 draft, L56-L58). Many components, such as container images, are built from the same branch. So one vulnerability can have several trackers that point at the same repository, branch and commit.

Each of those trackers gets its own assessment. In the cve agent prototype the release mapping picks one repository and branch for a tracker, and the verdict is stored only on that tracker (docs/cve.md L177-L185). Nothing looks for an earlier verdict on another tracker. Under ADR 0167, if each image counts as a component, two images built from one branch get two trackers, and so two assessments.

What goes wrong

Say a release ships 25 container images built from one branch, and a CVE in a shared library affects all of them. The same question about the same code is answered 25 times. That's 25 model runs and 25 waits, and the verdicts can disagree with each other.

What should happen

Keep one verdict per vulnerability, repository, branch and commit. A tracker that maps to a commit that already has a current verdict gets that verdict, with a link to the run that produced it, and no model runs. A new commit, a changed advisory or a changed mapping means a new assessment.

What this depends on that doesn't exist yet

Scope

This is about the assessment only. Whether several trackers share one fix is a separate question.

Proposed test case

Scenario: a second tracker for a vulnerability already assessed on the same commit
  Given tracker A for CVE-X maps to repository R, branch B at commit C
  And the cve agent has posted a verdict for CVE-X on R, B and C on tracker A
  When tracker B for CVE-X maps to R and branch B, still at commit C
  Then tracker B gets the same verdict with a link to tracker A's run
  And no model runs for tracker B

Activity

  1. fullsend-ai-triage commented on Nov 27, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 10:00 PM UTC · Completed 10:02 PM UTC

    Commit: 0e5514e · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.20

  2. fullsend-ai-triage commented on Nov 27, 2026

    @fullsend-ai-triage

    Thanks for the detailed write-up. The problem and the desired behavior are clear: keep one verdict per vulnerability, repository, branch and commit, and reuse it for any other tracker that maps to the same commit. Work can't start yet, because the dependencies you listed are still open:

    This issue stays blocked until those land. Two things to settle then: where the verdict lookup key is stored (journal or tracker property), and what counts as a changed advisory or mapping for invalidation. The test case you proposed is a good acceptance scenario. Also cover the invalidation cases: a new commit, a changed advisory and a changed mapping should each trigger a fresh assessment.

    No open pull request addresses this issue, and no duplicate was found. #2007 (priority evidence in the assessment) is related but covers a different concern.

    Blocked by:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions