Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): main's external launcher tests compile again #16436

Closedjuliusmarmingewants to merge 1 commit intomain fromt3code/fix-main-external-launcher-testopened View on GitHub

juliusmarmingecommented

main 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 . (from apps/server): exit 0.
  • vp test run src/process/externalLauncher.test.ts: 44 passed, 1 skipped, 1 failed. The one failure is discovers and launches idea outside PATH on linux. It happens only on a machine with /usr/local/bin/idea installed, 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


Devin Review
    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. juliusmarminge added labelsmacroscope-review

    3. Approvability

      Verdict: Approved at 5ce88e9

      Macroscope'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.
      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    4. Review in Change Stack →

      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 layerTest instead of testLayer. 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.ts
      The 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-gif

      Merge Risk: ⚪ Minimal · up to 5ce88

      The 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 nameStatusExplanation
      Title check✅ PassedThe title clearly identifies the server test fix and its purpose: restoring compilation of the external launcher tests.
      Description check✅ PassedThe 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✅ PassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes check✅ PassedCheck 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.
    5. 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 main measurement shown below.

      ProviderMetricMain baselineThis PRImpactPR ceiling
      CodexTotal thread wire4.9 KiB5.0 KiB+23 B (+0.5%)6.8 KiB✅
      CodexThread snapshot wire3.8 KiB3.8 KiB0 B (0.0%)4.9 KiB✅
      CodexLive turn WebSocket wire1.2 KiB1.2 KiB+23 B (+1.9%)2.0 KiB✅
      CodexLive turn WebSocket decoded20.8 KiB20.9 KiB+41 B (+0.2%)29.3 KiB✅
      CodexLive turn messages12+1 (+100.0%)8✅
      ClaudeTotal thread wire5.0 KiB5.0 KiB−17 B (−0.3%)6.8 KiB✅
      ClaudeThread snapshot wire3.8 KiB3.8 KiB0 B (0.0%)4.9 KiB✅
      ClaudeLive turn WebSocket wire1.2 KiB1.2 KiB−17 B (−1.4%)2.0 KiB✅
      ClaudeLive turn WebSocket decoded21.2 KiB21.2 KiB0 B (0.0%)29.3 KiB✅
      ClaudeLive turn messages220 (0.0%)8✅

      Baseline: 250e052 · PR result: 5ce88e9 · Source CI: success

      Scenario 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.

    6. Note

      Grok responding on behalf of Julius.

      Closing as superseded: #16495 landed on main with the same testLayer → layerTest fix in apps/server/src/process/externalLauncher.test.ts (plus the desktop crypto restore), so this change is already in.

    7. juliusmarminge closed this

Sign in to join this conversation.