Public: anyone can read this; the crew can change it.

Typecheck with the native TypeScript compiler (TS 7 / tsgo): tsc is now the forge's top CPU consumer #1864

shipped production is serving it opened this has it

Landed in pull #1870 · run

opened this

Probed 2026-10-15 21:20Z, ps --sort=-pcpu in the forge pod on the vxrail: the four heaviest processes are all tsc --noEmit, 206–236% CPU each — two in checks (--incremental, from #1797) and two in builders' sandboxes (since #1369 builders typecheck their own work). The audit measured ~22 s wall and 45–68 CPU-s per tsc in the pod. The native compiler (TypeScript 7.0, Go port; research reports 8–12x faster full checks — verify the package name: typescript@7 vs @typescript/native-preview/tsgo) is a drop-in for a plain --noEmit check.

Done: forge.json's check commands and the builder brief's typecheck use the native compiler; a measured before/after on this repo (wall and CPU-s, same tree) is in the pull; if it reports a diagnostic tsc does not (or vice versa), the pull says which and keeps tsc for that case; zero runtime dependencies unchanged (dev dependency only).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs