Skip to content

fix(codex): avoid remote catalog fetches in plugin checks - #290

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
diagnose-trace-stall-e5ce4122
Nov 16, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
diagnose-trace-stall-e5ce4122

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

bt trace doctor codex synchronously runs codex plugin list --json to check the installed tracing plugin version. Codex 0.169.0 also fetches its remote catalog for an unfiltered listing, which caused a long silent stall before doctor could print any diagnostics.

Scope the shared plugin listing to --marketplace braintrust-codex-plugins. Doctor's version probe and the installed-plugin checks used by update and disable now avoid the unrelated remote catalog request. Update the setup assertions to verify the scoped listing.

Validation:

  • All 6 Codex setup tests pass: cargo test --manifest-path bt-daemon/Cargo.toml --all-features setup::codex::tests.
  • cargo fmt --manifest-path bt-daemon/Cargo.toml --check and git diff --check pass.
  • On the affected machine, the scoped listing completed in about 40 ms. Running the installed doctor through a temporary wrapper applying the same marketplace filter completed in 5.4 seconds, including its separate five-second daemon status timeout.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T20:42:58.320273Z f38f729 PR opened
ℹ️ About Codex in GitHub

Your 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.

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit 74ae4fe into main Nov 16, 2026
29 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the diagnose-trace-stall-e5ce4122 branch November 16, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant