Repository navigation
feat(scans): stream reviewed findings during local scans - #2671
mldangelo-oai wants to merge 19 commits into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
I checked the SQLite upgrade at There is a landing-order dependency with #275 / #2263 and #919 / #907. Each pair already uses 73 for another migration. I tested both histories with this PR’s Python migrator. It returned successfully because 73 was already recorded, then Please choose the canonical 73/74 history before combining these branches. If this PR lands first, preserve its 73 for the finding journal, including in its dependent PR #2672. For any interim databases that need an upgrade path, test the populated history from each supported branch and a second migration run. A change to the number in the manifest alone cannot repair a database that already carries the conflicting receipt. |
Summary
People following a local Standard, Diff, or Deep scan can now see a reviewed finding before the final report and follow the same finding ID if the assessment changes or is withdrawn.
Changes
list_codex_security_finding_updates. Each scan has its own cursor, so another client can disconnect and replay the updates it missed.onFindingUpdatecallback. The CLI uses the existing flags and keeps JSON output on stdout and progress on stderr.Testing
The correction at
f237ae54fixes superseded finding IDs remaining active in the feed. The main integration also includes two CI installer pin updates.f9dd3e8executions retain their original attribution.Risk and rollout
The plugin adds an append-only SQLite migration for the local journal. The SDK negotiates feed support with the installed plugin. Hosted and imported results keep their existing workflow. Clients that persist a cursor should key it by scan ID. An interrupted scan can have reviewed findings without a final disposition.
The journal uses migration 87. An upgrade moves its own preview receipt and leaves other migrations at 73 available to their owners. Use the updated journal build when reopening an upgraded database. An unknown receipt at 87 causes a transactional error.
Public disclosure review
Review covers the available PR material, workflow logs and artifacts, and service-exported Code Scanning reports. One historical workflow artifact and the original Code Quality upload payloads were not retrieved or reviewed.