Repository navigation
fix(cli): distinguish file inventory from review progress - #1960
Conversation
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. |
alandelong-oai
left a comment
There was a problem hiding this comment.
Thanks for clarifying the progress display. This owner-level merge-safety pass found no issues at 05c0bf6. The shared formatter consistently distinguishes inventory from completed files while preserving known review counts and structured output.
Validation: builds, types, formatting, and five built-CLI progress scenarios passed. The local UI run passed 354 tests; all 54 failures also reproduce on the unchanged base, where output-directory ownership checks prevent the affected fixtures from running. Exact-source hosted CI passed all 64 component tests, including all six updated presentation cases. The full SDK suite was not rerun.
Summary
Plain scan progress printed
Files: 0/3as soon as registration found three files. At that point the CLI knows the inventory, but has no file review count. The CLI now printsFile inventory: 3.Refs #70. The separate work on saved review progress remains open.
Changes
Use the same count formatter for phase messages, running updates, and component scans. Show a known empty inventory as zero. Once file reviews are reported, preserve
Files: 1/3; when review items are known, preserve ratios such asReviews: 0/2.Testing
3c68266a) and on this commit against a synthetic three-file Git repository, a one-file committed diff, and an empty component. All six runs stopped immediately after registration, before a model call. Main printedFiles: 0/3orFiles: 0/0; the fix printedFile inventory: 3orFile inventory: 0.git diff --checkpassed.umask 002). The first failing test reproduced unchanged on main and passed withumask 022; the full local run was restarted with that setting.Risk and rollout
Only human-readable progress text changes. The SDK events, saved scan data, and machine-readable output are unchanged. A diff's initial inventory can include unchanged files, so the new text does not call it a changed-file count. No migration or rollout steps.
Public disclosure review