Repository navigation
fix(mcpx): resync dogfood plugin copy with pkgs source (#13349) - #14002
Merged
Merged
Conversation
The CI dogfood sync guard (diff -r pkgs/mcpx/plugin/opencode/mcpx .opencode/plugin/mcpx, core, mcpx-session.ts) fails on main: four test files exist only in the source copy, ops.gen.ts carries a stale fingerprint, ops.test.ts lacks the abort-wait fix, and the Fleet FLEET_SESSION_ID behavior (22bf6e1) exists only in the dogfood copy. Port each side's newer content to the other so all three diffs are clean.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 19 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
Summary
One slice of #13349 (main-broken at 5c8e163): the CI dogfood sync guard
(
diff -r pkgs/mcpx/plugin/opencode/mcpx .opencode/plugin/mcpx,diff -r pkgs/mcpx/plugin/core .opencode/plugin/core,diff .../mcpx-session.ts .../mcpx-session.ts, also enforced inside thebasic: testjob) fails on current main. Each side had newer content,so this ports both ways until all three diffs are clean:
headless, tool-timing), regenerated
ops.gen.ts(Roc codegen, mcpx: Roc as a script language, and whether mcpx should be a Roc platform #1964),ops.test.tsabort-wait fix (32f580e)FLEET_SESSION_IDenv + session test (fleetcommit 22bf6e1 edited the dogfood copy directly)
Evidence
Before (main 7b55a05): all three diff commands exit 1 (4 only-in-source
files, 5-line session-created hunk, fingerprint + abort-wait hunks,
3-line mcpx-session hunk).
After (1fef27d): all three diffs clean.
go test ./internal/api -run TestPluginOpsAreGenerated -count=1ok(proves the source fingerprint is generator-fresh, so source->dogfood
is the correct direction for ops.gen.ts)
bun test plugin/opencode/mcpx/ plugin/core/(the exact CI leg):93 pass, 5 skip, 0 fail, 98 tests across 11 files
bun test plugin/opencode/mcpx/session-created.test.ts: 6 pass(includes the ported FLEET_SESSION_ID test)
(instructions behavioral x3 + module-resolution errors of the same
kind as the pre-existing ceiling.test.ts case, verified identical at
pristine HEAD; CI never executes the dogfood copy in place)
Ran on the laptop at 1fef27d.
Merge Danger
Low. Six of eight files are test/plugin copies with no runtime effect.
The one behavior change: the source plugin now exports
FLEET_SESSION_IDinshell.env, matching dogfood since 22bf6e1.Inert for standalone mcpx use; consumed by fleet session-state.
Closes the plugin-sync leg of #13349. Remaining:
basic: testpackage timeouts, stress legs, and the #3016 guard (out of scope).
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-24T01:57:31Z", "session_id": "ses_e5df4ca42f0ffeH7jEc8BmXnGM", "lane": null, "host": "amd", "worktree": "/home/user/git/fleet/code-g-13349-20261124T014612Z-bfa4a79f", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/fleet/code-g-13349-20261124T014612Z-bfa4a79f", "repo": "developing-today/code", "branch": "code-g/13349-plugin-sync", "sha": "1fef27d51c7b8f6c1ba31d05b702b817a6e5a2bc" }, "auth_subject": "oc-code-06", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.