Repository navigation
fix(scan): report incomplete results as errors and deduplicate log warnings - #977
Conversation
|
@codex review |
Codex Review SummaryThis 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. |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
zcrab-oai
left a comment
There was a problem hiding this comment.
Reviewed the diff and relevant surrounding code at 65a1841, with an independent second pass. No obvious correctness or regression issues found. Full local platform suites were not rerun. CI still has failed, canceled, or unfinished checks; those results remain separate from this source-review approval.
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b4f35dfa85
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 178c6bb77f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Starting, rerunning, or resuming a scan with partial or unknown coverage reports a failure to JSON/JSONL full-output consumers while retaining available results. Optional cost tracking reports repeated permission warnings for each session log only once.
Changes
ok: falsewithSCAN_FAILEDfor incomplete--full-outputresults while retainingdata, replay filtering, pagination, and exit code 2. Changed-target diagnostics take precedence.EACCES/EPERMlog-open warnings per scan and path while keeping retries active. Preserve other errors and the first-error behavior of an explicit spending limit.Testing
Recorded local checks use Bun 1.3.14 on Linux, based on main
2ca151bf:6dca78d8, all three session-log retry cases pass, including per-path EACCES/EPERM warning deduplication and repeated EMFILE warnings. The exacttsc --noEmitcommand, targeted formatting andgit diff --checkpass.The retry fixtures keep the event loop alive while their fake Codex stream waits for the real tracker to poll. They use the same referenced timer pattern as adjacent tests and clear it in
finally; production polling and configured test timeouts are unchanged.The isolated native Windows EACCES retry check passed with the fixture reference. Require current CI on this final revision before merging. Full local test suites were not run.
Risk and rollout
JSON/JSONL full-output consumers should treat incomplete coverage as an error and continue reading available results under
data. No public commands, flags, environment variables, or migrations change. Optional warning deduplication does not stop log readers or weaken a requested spending limit.Public disclosure review
Reviewed the branch, title, description, commit history, complete six-file feature diff, comments, available workflow logs and artifact metadata, and fresh focused-test diagnostics. Fixtures are synthetic. No new screenshots or attachments are published; prior artifact-payload review limitations remain unchanged.