Repository navigation
fix(cli): show file scope until scan review progress begins - #464
Conversation
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. 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". |
|
Security review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review Please review the current head, |
|
Codex Review: Didn't find any major issues. Chef's kiss. 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". |
|
Security review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. 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". |
|
Security review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
kmbroai
left a comment
There was a problem hiding this comment.
Critical review
Reviewed d3dad7ec18e1cf384a279b2567e53f5a2f052f4d. This is a small, justified presentation correction; no blocking correctness issue found.
Necessity
Knowing the inventory is not the same as having reviewed it. The old 0 / N reviewed label can look like verified progress stalled at zero when the only available fact is the scope size. Showing N in scope until a positive verified count arrives communicates the state more accurately without adding estimated progress or new scan state.
This is lower priority than missing or incorrect coverage, and does not solve the broader progress problem by itself. It should remain presentation-only.
Correctness and simplification
The three existing states—no inventory, inventory without positive reviewed count, and verified review progress—are adequately expressed by the small conditional. A new phase enum, event type, telemetry counter, or reusable formatter would add more machinery than this change needs.
The updated test observes both labels during one real dashboard lifecycle and still rejects the misleading zero-reviewed wording. That is the right coverage shape. Keep the upstream validation of progress counts separate; this view should not invent percentages or infer review from file-open activity. For an empty scope the result remains 0 in scope, which is consistent with what is actually known.
Verification
Ran scan-dashboard.test.ts and worker-progress.test.ts with seed 12345: 38 passed, 0 failed, 196 assertions, Bun 1.3.14/Linux with locally available dependencies. I inspected the complete two-file diff. No full package, installed-package, or current CI result is claimed.
zcrab-oai
left a comment
There was a problem hiding this comment.
Reviewed the diff and relevant surrounding code at b1ef9c5, 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 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. Bravo. 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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? 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". |
Summary
Show file scope during scan startup, then display review progress when review work begins.
Changes
Preserve accurate progress during resume and publication. Integrate latest main
acb8eac2, including inherited Deep Scan context and compaction limits, and replace the finding-document example with explicitly fictional data. Fix the publication test handshake by waiting for the child PID file to contain data before signaling its parent, retaining the original timeouts and assertions.Testing
All 15 affected checks passed at
ea2c8fa5: the five required portable plugin checks, SDK and MCP types, formatting, plugin build, the complete API and fresh/resumed worker-executor modules, source compatibility, and all archive and installed-consumer checks. The executor uses real synthetic child processes to verify inherited settings, intentional worker overrides, resumption and concurrent scan isolation.The prior
3bd97cecsource passed 21 broader affected checks, including 419 SDK tests with 27 platform skips and all 12 publication tests. Those results retain that source attribution. The PID readiness defect was reproduced before the minimum fix and passed afterward.The immutable full fixed-seed run at
cfbc1944ended with 4,038 passes, 68 skips, one failure and one error; subsequent types, formatting and random-seed commands did not run. A complete workflow module at3bd97cecpassed 16 tests and timed out in concurrent screening. That exact original 30-second case also timed out on unmodified main77ea91ea, with all relevant source unchanged. These failed executions remain recorded; no full-suite pass or timeout cause is claimed.Risk and rollout
No public command, flag or environment variable is added. Existing credential, unsafe-path and scan-integrity controls remain in force. Linux checks retain their recorded Windows skips; current packaged native payloads retain their exact historical compiler and source proof.
Public disclosure review
The current documentation example is explicitly fictional. The provenance of a removed historical example remains unestablished, so the second disclosure attestation remains unchecked.