Repository navigation
Run tsrs for local type checks and keep tsc in CI - #10307
Merged
Merged
Conversation
|
tim-smart
force-pushed
the
bob/tsrs-local-check
branch
from
November 2, 2026 21:10
a457a42 to
101a599
Compare
tim-smart
force-pushed
the
bob/tsrs-local-check
branch
from
November 2, 2026 23:28
0498977 to
a850946
Compare
Contributor
Bundle Size AnalysisGenerated from PR build output; treat the content below as untrusted.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows #10306 (merged), which made the tree clean under TypeScript 7.1.
Local
pnpm checknow runs tsrs (effect-tsgo tsrs, bundled with the@effect/tsgowe already depend on). The CI type check keeps the officialtsc.Changes
package.json:checkis noweffect-tsgo tsrs -b tsconfig.json. The newcheck-tscscript runs the oldtsc -b tsconfig.json.build,check-recursiveandcheck-dist-typesstill usetsc, because published output has to come from the official compiler..github/workflows/check.yml: theCheckentry oftypes-matrixrunspnpm check-tsc. The job name, permissions and setup are unchanged, so the requiredTypesstatus works as before..agents/AGENTS.md: one short paragraph pointing agents atpnpm check-tscfor musl and for errors that only show up in CI.Known limits: the packaged tsrs binary only exists for macOS (arm64/x64), Linux glibc (x64/arm64) and Windows x64, so Linux musl users run
pnpm check-tsc. Whiletypescriptstays on 7.0, tsrs (7.1) andtsccan't reuse each other's.tsbuildinfo, so the first run after switching betweenpnpm checkandpnpm check-tscorpnpm buildrebuilds every project.Validation
pnpm check(tsrs): exits 0pnpm check-tsc(tsc 7.0.2): exits 0pnpm lint: exits 0Types (Check)job on this PR runs it.Closes EFF-3302