Repository navigation
fix(cli): disclose incomplete search coverage and pin beta setup - #165
Conversation
|
Fixed both review items.
The full suite passed with 1,541 tests passed and 2 skipped. |
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. |
Confidence Score: 4/5
[Low impact] The changes reach CLI search output and Codex setup guidance. Fix the Codex setup version before merging; both help commands currently select a different version from the documented beta. Findings
SummaryAdds incomplete-source warnings to human search output and shares the package-version reader across the CLI and server.
Reviews (1) · Last reviewed commit: "fix(cli): use the running version in Cod..." · Reviewed by Greptile |
| export const CODEX_SETUP_LABEL = isPrerelease | ||
| ? 'Codex prerelease setup line:' | ||
| : 'Codex setup line:'; | ||
| export const CODEX_SETUP_COMMAND = `codex mcp add codebase-context -- npx -y codebase-context@${PKG_VERSION}`; |
There was a problem hiding this comment.
Setup selects the wrong version
CODEX_SETUP_COMMAND reads 2.3.0 from package.json, so both help commands print codebase-context@2.3.0, not the promised codebase-context@2.3.1-beta.0. Users copying that command do not select the documented beta. Use an explicit published-beta version for this recipe, and test against that version rather than reading the same manifest value.
Agent: codex-cli jobOR2
Agent: codex-cli jobOR2
Agent-Harness: codex Agent-Session: 01a23fe6-afbb-7731-8840-9dcf12347cb3
af76eaf to
0b09436
Compare
Human search output hid when source inspection stopped early, and Codex setup help could select the stable package instead of the beta. This change shows checked and skipped file counts with early-stop guidance, and makes the README, --help and init --help use codebase-context@2.3.1-beta.0 explicitly.
Validation: all 61 CLI tests pass. The build, changed-source ESLint, source formatting check and replay of a recorded search response pass. npm currently lists beta 2.3.1-beta.0 and stable 2.2.0.
The seven original freshness-test timeouts did not reproduce: all seven pass on both this patch and the unchanged base at the original 15-second limit, and in separate 60-second diagnostic runs, all serial. The pre-push full suite then reported 1,449 passes, 13 timeouts and two skips. All 13 failed cases pass in a single isolated serial check at their unchanged original limits. The timeout cause remains unproven. These checks do not establish a green full-suite result.