Skip to content

A Finding leaves once its findings are triaged #1198

Closed

Description

@JacobStephens2

Parent

#919

What to build

A Finding row leaves Needs you once none of its findings still waits (Spec Q2.8), saying "findings triaged".

What's read. Each read adds one paginated REST list for each repository with a Security run row whose findings were waiting, whether a Finding or a failed Security run. The list is read the way a Security run reads it.

When a finding waits. It waits while its private record is untriaged: a draft advisory with no severity, or an open security-finding issue labelled needs-triage. One that a merged fix closed (#1073) no longer waits.

Dismissed failures. A failed Security run dismissed while its findings wait comes back as a Finding (#1192), but only while GitHub shows them still waiting.

Quota and privacy. The lists come out of the REST quota, and they respect its reserve (#1197). The kept answer holds only whether each finding still waits, never its write-up (ADR 0015).

Acceptance criteria

  • A Finding row leaves once every one of its findings is triaged on GitHub, saying "findings triaged".
  • It stays while any of its findings is still a draft advisory with no severity, or an open security-finding issue labelled needs-triage.
  • A finding that a merged fix closed no longer counts as waiting.
  • A dismissed failed Security run comes back as a Finding only while GitHub shows its findings waiting.
  • There's one list for each repository with such a row and none for any other, and no list is read while the REST quota is below its reserve.
  • The kept answer holds no finding's title, severity or description.
  • Tested through the thirdshift binary, with the fake gh's findings.
  • The hand-written site pages and the domain-to-code index say what changed.

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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions