Repository navigation
Resolve Finding rows once their private records are triaged - #1241
Merged
Merged
Conversation
This was referenced Oct 24, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Shares the Security run's advisory/private issue selection and triage rules. Preserves waiting facts on failed reads, respects the REST reserve, and freezes History rows. Updates the hand-written site and domain-to-code index.
Closes #1198
Evidence
cargo test --test status finding_leaves_only_after_its_last_private_record_is_triaged -- --exactfailed: the old Finding was in History while GitHub still showed a waiting draft advisory.After: the same binary test passes and checks the “findings triaged” exit, per-run finding identities, and kept-answer privacy.
cargo checkandcargo test --test status --test dismisspassed.cargo test --test security_run an_audit_then_fix_notification_marks_the_fixed_finding_apart_from_those_waiting -- --exactpasses and covers live GitHub triage separately from the completion-time notification.ghcall-record truncate/read race seen locally and in CI. The reader now shares the writer’s state lock;cargo test --test status fake_gh_call_reads_wait_for_an_in_progress_record_write -- --exactand all eightcargo test --test console github::tests pass.9ae34cfpassed: 2,516 Rust tests (57 ignored fixture/platform entries), formatting, strict Clippy, Console/site checks and release artifact builds./usr/bin/time -p scripts/affected-tests origin/issue-919passed all 49 site tests and reached the stale Security run assertion corrected above; 897.03 seconds, including compilation. The complete final Rust result is reused from successful CI on the exact head.Test seams
thirdshift status --jsonand text output through the binary with the fakeghsupplying advisory/private issue states, quota and failures.thirdshift dismissthrough the binary with the same kept GitHub answer.ghsystem seams.ghcall-record reader while the background writer holds its state lock.Snapshot::next_inbox_change, the shared status/Console retention deadline interface, with a fixed observation time.Unaddressed findings
Security review outcome
No unaddressed introduced findings.
Review coverage
Standards and Spec each read the first 14 changed files. Unread by both review axes:
tests/security_run.rs, a late CI fixture correction after their single coverage follow-up. Later fixture race edits intests/support/mod.rsandtests/status.rswere also not re-reviewed. There are no generated output exclusions. Final files-read lists and findings are retained in the session’sstandards.mdandspec.mdreports. Fixed point:issue-919atd917398(the fetched remote branch; the local branch is checked out elsewhere).Merge Danger
Door: two-way
Code and additive kept-answer fields can be rolled back.
Blast Radius: Inbox
Changes Finding grouping and the private REST reads shared by status and Console.
Built with codex · gpt-6.1-sol · xhigh