Repository navigation
fix(server): j5/main compiles again after three merges collided - #480
Conversation
#430 and #396 each added the same findRegisteredHome constant to SquadronThreadCreationService.ts, and the merged file declared it twice. #396 made a Crew seat's workspace required while #469 added a test seat without one. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour. 📝 WalkthroughWalkthroughThe pull request updates the operator seat in a launch test to specify a shared workspace. It also removes a duplicate local ChangesLaunch test setup
Thread creation cleanup
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~4 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The test fixture now specifies the required workspace, and the duplicate lookup removal preserves the retained implementation. No concrete merge risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Problem
j5/maindoes not compile, so CI is red on every open PR. Three merges on 2026-10-07 each passed CI alone and merged without a text conflict, but the combined result is broken in two places inapps/server.What changed
findRegisteredHomeconstant toSquadronThreadCreationService.ts, at different lines. The merged file declared it twice in one scope, so the file did not load: lint failed with "IdentifierfindRegisteredHomehas already been declared" and the server tests that import it failed. I removed the second declaration. The two bodies were identical, and the one kept sits above both call sites (the no-Squadron path from feat(squadrons): a thread launched without a Squadron joins its project's Squadron #430 and the existing-home check from fix(a2a): isolate Peer Agent workspaces by default #396).workspacerequired. feat(personas): personas can run with full access #469, merged two hours earlier, had added a test inCrewLaunchService.test.tsthat builds a seat without one, so typecheck failed there. The seat now carriesworkspace: { type: "shared" }, as the other seats in that file do.I read the whole of
SquadronThreadCreationService.tsagainst both PRs' diffs; nothing else in it was doubled. No behavior changes.Checklist
FORK.md(case text and file-table row) in this PR — both files are J5-owneddocs/j5/product/upstream.md— noneAGENTS.md) — server only, no behavior changeVerification
From
apps/server:tsc --noEmit: 0 errors (2 before the fix, both inCrewLaunchService.test.ts).vp lint: 0 errors.vp test runonSquadronThreadCreationService.test.ts,ThreadLaunchService.test.ts, the scheduled-task and scheduler tests, and the server tests fix(a2a): isolate Peer Agent workspaces by default #396 added or changed: 20 files, 203 tests pass.apps/webandpackages/contracts, which fix(a2a): isolate Peer Agent workspaces by default #396 also changed.Opus 5.5 (1M context) in Claude Code, running in J5 Code.
🤖 Generated with Claude Code
Summary by CodeRabbit
Tests
Maintenance