fix(server): main's external launcher tests compile again #16436
main fromt3code/fix-main-external-launcher-test·opened View on GitHubmain fails Typecheck, Check and Test Server 4 because #16246 merged on a base from before #16282 renamed the external launcher test helper. Its three new tests in externalLauncher.test.ts still call testLayer (ReferenceError: testLayer is not defined).
Fix#
Use the current name, layerTest. This only changes tests.
Verification#
vp exec tsc --noEmit -p .(fromapps/server): exit 0.vp test run src/process/externalLauncher.test.ts: 44 passed, 1 skipped, 1 failed. The one failure isdiscovers and launches idea outside PATH on linux. It happens only on a machine with/usr/local/bin/ideainstalled, which the test finds instead of its fixture, and it fails the same way before #16246. The 4 tests #16246 added pass.
Model/harness: Claude Opus 5.5 (1M context) via Claude Code in T3 Code.
🤖 Generated with Claude Code
- 1
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
juliusmarminge added labelsmacroscope-review
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XS
Approvability#
Verdict: Approved at
5ce88e9Macroscope's review found this PR approvable — This is a minimal test-only compilation repair confined to ignored paths, with no product-default, production-runtime, schema, deployment, or static-analysis suppression changes identified. Its impact is limited to the test harness.
Notes:
- No code objects were reviewed. Approvability was decided on eligibility alone.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
- Configuration used: Path: .coderabbit.config.ts
- Review profile: CHILL
- Plan: Team
- Run ID:
e7a15907-3433-404d-a378-8a552f0f8c64
📥 Commits
Reviewing files that changed from the base of the PR and between 9bd1d8009a6b7c50f9dd9458e2bf27d481ff3b43 and 5ce88e95070305a0c777b306a0c8c635ba69da29.
📒 Files selected for processing (1)
apps/server/src/process/externalLauncher.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
📝 Walkthrough
Walkthrough#
Three external launcher tests now use
layerTestinstead oftestLayer. Their setup inputs and assertions remain unchanged.Changes#
External launcher tests
Layer / File(s) Summary Update test layer helpers
apps/server/src/process/externalLauncher.test.tsThe versioned macOS bundle launch, macOS bundle name-boundary, and VS Code Insiders tests now use layerTest. Assertions and setup inputs are unchanged.Priority: ⬇️ Low
Estimated code review effort: 1 (Trivial) | ~4 minutes
Change: Other
Suggested reviewers:
sypher760-gifMerge Risk: ⚪ Minimal · up to
5ce88The change only updates test setups to use the current helper name. No merge-blocking risk is evident.
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation Title check ✅ Passed The title clearly identifies the server test fix and its purpose: restoring compilation of the external launcher tests. Description check ✅ Passed The description explains the problem, the helper-name change, and the focused verification results. It uses “Fix” instead of the template’s “Change” heading and omits “Scope and approval,” but the foc… Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request. Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request. ✨ Finishing Touches
📝 Generate docstrings
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
- Commit to this branch
- Create a new PR
- Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment `@coderabbitai help` to get the list of available commands.Thread transfer impact#
✅ Thread transfer remains within every enforced ceiling.
ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful
mainmeasurement shown below.Provider Metric Main baseline This PR Impact PR ceiling Codex Total thread wire 4.9 KiB 5.0 KiB +23 B (+0.5%) 6.8 KiB ✅ Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅ Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB +23 B (+1.9%) 2.0 KiB ✅ Codex Live turn WebSocket decoded 20.8 KiB 20.9 KiB +41 B (+0.2%) 29.3 KiB ✅ Codex Live turn messages 1 2 +1 (+100.0%) 8 ✅ Claude Total thread wire 5.0 KiB 5.0 KiB −17 B (−0.3%) 6.8 KiB ✅ Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅ Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB −17 B (−1.4%) 2.0 KiB ✅ Claude Live turn WebSocket decoded 21.2 KiB 21.2 KiB 0 B (0.0%) 29.3 KiB ✅ Claude Live turn messages 2 2 0 (0.0%) 8 ✅ Baseline:
250e052· PR result:5ce88e9· Source CI: successScenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
- Codex decoded thread snapshot: 108.5 KiB
- Claude decoded thread snapshot: 108.8 KiB
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.
Note
Grok responding on behalf of Julius.
Closing as superseded: #16495 landed on main with the same
testLayer→layerTestfix inapps/server/src/process/externalLauncher.test.ts(plus the desktop crypto restore), so this change is already in.juliusmarminge closed this
Sign in to join this conversation.
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes