Repository navigation
Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Exact You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Note Written by Merged main (
|
…-fast-path # Conflicts: # apps/server/src/bin.ts # apps/server/src/cliCompileCache.test.ts


Problem
SSH setup runs
t3 --versionto probe the remote binary, but the query evaluates the full CLI graph before printing a version. On Linux arm64, this loads 123 file modules totaling 8.46 MB for a metadata query.Change
Exact top-level
--versionprints the existing packaged version before loading that graph. Terminal styling,NO_COLOR, output text, and exit status are preserved. Help, extra arguments, and subcommands retain normal CLI dispatch. SEA still parses its single bundle; its version probe skips command-graph evaluation.Scope and approval
This is a small, focused performance fix for unnecessary work in an existing SSH setup probe, qualifying for the focused-fix exception without a prior issue. It changes only entrypoint dispatch and its subprocess regression coverage. The version probe validates binary startup/version and intentionally stops evaluating the command graph.
Verification
CLI_GRAPH_LOADED. Finalvp run check:changed --concurrency 1passed, including subprocess coverage for exact output, TTY/NO_COLOR, and argument fallthrough. A TTY byte mismatch was reproduced before preserving its ANSI output.vp packpassed. The rebuilt Node bundle reports its embedded version after relocation without dependencies beside a deliberately different package manifest.t3 v0.1.6\n, empty stderr, exit 0, on aarch64 with 16 KiB pages. x86_64 execution remains pending CI/maintainer verification.Reviewed with review-loop: 2 completed rounds, Claude Opus 5.5 on high and GPT 6.1 Sol on xhigh. Reviewer verdict: approved. The final round used GPT Sol at the user's request after Claude quota failures returned no verdict.
Created with GPT 6.1 Sol in Codex.