Repository navigation
Fix the server tests #5855 broke and make plugin changes rerun them - #5913
Merged
Merged
Conversation
Server tests load built-in plugins straight from plugins/*, which isn't a workspace dependency of @bb/server, so a plugin contract change reused a cached server test result. Co-Authored-By: Claude Opus 5.5 <[email protected]>
#5855 made mergeBaseBranch required in the attach response, and the fake host rejects replies that omit it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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. |
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.
Human comments
What was wrong
#5855 made
mergeBaseBranchrequired in the checkout plugin's attach response, but two server test stubs still reply without it. The fake plugin host rejects those replies, so two provider-orchestration tests fail. Main stayed green because@bb/server#testhashes onlyplugins/*/skills/**, not the plugin sources the tests import, so the server-2 shard reused a cached result from before the contract change.What changed
provider-orchestration.test.tsnow returnmergeBaseBranch: null.@bb/server#testnow hashes all ofplugins/*/**(exceptnode_modulesanddist), so a plugin contract change reruns the server tests.How you verified
provider-orchestration.test.tsran and passed on Ubuntu (1715 tests) and Windows (1079 tests).Follow-ups (P2, not in this PR)
@bb/integration-tests#testloads built-in plugins fromplugins/*too, and its inputs don't include them either.plugins/*/.turbo/andplugins/*/.bundled-runtime/are gitignored but hashed by the new glob, so@bb/server#testmisses the local cache after any plugin build. CI checkouts are fresh, so CI is unaffected.BB-Thread-ID: thr_eigbyjruhs
🤖 Generated with Claude Code