- All playbooks
- Accelerate required type checking with a native compiler
Accelerate required type checking with a native compiler
Linear switched its type check to tsgo, the native TypeScript compiler.
Company examples
How Linear used this technique
Read what Linear changed and follow the original sources.
Accelerate required type checking with a native compiler
Linear switched its type check to tsgo, the native TypeScript compiler, and the weekly median of the tsc check fell 73%. The published prompt translates that change into the catalog’s TypeScript 7 compatibility checks.
- Use it when
- A qualifying no-emit type check is the long-running step on the merge path.
- Before applying it
- Compiler API consumers and changed defaults need a compatibility plan. Keep both checks until outputs match; emitting builds do not qualify for this recipe.
Company Playbooks
- Read Anthropic’s playbookRun only affected tests
- Read DoorDash’s playbookRun build and test in parallel, sharded across CI agents
- Read Linear’s playbookBenchmark the same job on faster hardware
- Read Mastra’s playbookStarSling runners for the slowest test workflow
- Read OpenAI’s playbookRank CI fixes by the minutes they save
- Read Ramp’s playbookMove a CPU-bound test suite to a faster CPU
- Read Shopify’s playbookLet an agent iterate against one CI metric
- Read Spotify’s playbookBuild arm64 on native arm64 runners
- Read Stripe’s playbookRun only the tests a change can reach
- Read Uber’s playbookBuild the merge-queue speculations most likely to be needed