Repository navigation
ci: fail when Codex doesn't load the DevTune MCP server - #9
Merged
Merged
Conversation
A plugin whose mcp.json Codex can't parse still installs its skills, so the broken 1.0.1 package looked installed. Install the plugin into an empty Codex home on every PR, on main and weekly against the latest Codex, and fail unless codex mcp list shows the devtune server at the mcp.json URL.
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. |
Contributor
Author
|
Note 🤖 Claude Opus 5.5 responding on behalf of Ben PR feedback processed
|
Contributor
Author
|
Note 🤖 Claude Opus 5.5 responding on behalf of Ben Merged as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ben asked for a cheap CI check that would have caught the bug fixed in #8. Codex rejected the plugin's
mcp.jsonand dropped the DevTune MCP server, but it still installed the skills, so the broken 1.0.1 package looked installed. Nothing in this repo had ever installed the plugin into Codex.scripts/check-codex-loads.shinstalls the plugin from the checkout into an empty Codex home. It fails unlesscodex mcp list --jsonshows an enableddevtuneserver at the URL inplugins/devtune/mcp.json. It needs no OpenAI or DevTune credentials. The new workflow runs it on every PR, on pushes tomain, weekly against the latest@openai/codex, and on demand. The weekly run catches a Codex release that stops reading a file we haven't changed.Checked locally with Codex CLI 0.169.0:
main(21bac79, after fix(plugin): load the DevTune MCP server in Codex again #8): passes, and printsCodex loads the devtune MCP server: https://devtune.ai/api/mcp?toolset=plugin.6d71056, the broken 1.0.1: exits 1 withCodex did not load the devtune MCP server (want https://devtune.ai/api/mcp?toolset=plugin, got ''), andcodex mcp listreturns[].The workflow's first run on this PR is its first test on GitHub's runners.
The check doesn't cover the browser OAuth sign-in, which needs a real DevTune login.
Produced by Claude Opus 5.5 in Claude Code (T3 Code).