Skip to content

Fix the server tests #5855 broke and make plugin changes rerun them - #5913

Merged
brsbl merged 2 commits into
mainfrom
bb/server-test-merge-base-branch-thr_eigbyjruhs
Oct 20, 2026
Merged

brsbl merged 2 commits into
mainfrom
bb/server-test-merge-base-branch-thr_eigbyjruhs

Conversation

@brsbl

@brsbl brsbl commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

#5855 made mergeBaseBranch required 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#test hashes only plugins/*/skills/**, not the plugin sources the tests import, so the server-2 shard reused a cached result from before the contract change.

What changed

  • The two checkout attach stubs in provider-orchestration.test.ts now return mergeBaseBranch: null.
  • @bb/server#test now hashes all of plugins/*/** (except node_modules and dist), so a plugin contract change reruns the server tests.

How you verified

  • Uncached run with only the cache-input fix (run): server-2 missed the cache and failed the same two tests on Ubuntu and Windows, reproducing the bug on main's code.
  • Remote CI on this PR's head passed with the server shards uncached: provider-orchestration.test.ts ran and passed on Ubuntu (1715 tests) and Windows (1079 tests).
  • Slop Cop (security, architecture, code quality, performance): no P0 or P1 findings.

Follow-ups (P2, not in this PR)

  • @bb/integration-tests#test loads built-in plugins from plugins/* too, and its inputs don't include them either.
  • Locally, plugins/*/.turbo/ and plugins/*/.bundled-runtime/ are gitignored but hashed by the new glob, so @bb/server#test misses the local cache after any plugin build. CI checkouts are fresh, so CI is unaffected.
  • Plugin-only PRs now schedule the server test shards, which is the cost of catching contract breaks like Take a project checkout's base and existing branches from origin when the clone lacks them #5855's.

BB-Thread-ID: thr_eigbyjruhs

🤖 Generated with Claude Code

AGENT GENERATED

brsbl and others added 2 commits October 20, 2026 21:05
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]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T21:19:54.616174Z 4966efa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@brsbl
brsbl merged commit 017b53b into main Oct 20, 2026
48 checks passed
@brsbl
brsbl deleted the bb/server-test-merge-base-branch-thr_eigbyjruhs branch October 20, 2026 21:24
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