Skip to content

Use tsgo, upgrade oxlint - #3075

Merged
david-crespo merged 4 commits into
mainfrom
use-tsgo-type-checker
Feb 13, 2026
Merged

david-crespo merged 4 commits into
mainfrom
use-tsgo-type-checker

Conversation

@david-crespo

@david-crespo david-crespo commented Feb 13, 2026 •

Copy link
Copy Markdown
Collaborator

https://devblogs.microsoft.com/typescript/typescript-native-port/
https://github.com/microsoft/typescript-go

We still have to keep the regular typescript dep installed because some libraries depend on it, but we can use tsgo for all our actual typechecking. I changed the tsc script to call tsgo since eventually tsgo is going to be released as tsc (I think).

Scenario tsc tsgo Speedup
Cold (no incremental cache) 5.46s 1.54s 3.5x
Incremental (one file touched) 1.02s 280ms 3.7x
Incremental no-op (nothing changed) 995ms 278ms 3.6x

@vercel

vercel Bot commented Feb 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
console Ready Ready Preview Feb 13, 2026 4:31am

Request Review

onSuccess(updatedRules) {
const newRule = updatedRules.rules[updatedRules.rules.length - 1]
// We just appended a rule, so the response list is non-empty
const newRule = updatedRules.rules.at(-1)!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this changes nothing, it just came up when I did an audit of things that fail when we turn on noUncheckedIndexAccess and I changed it to use at because it's shorter

@david-crespo david-crespo changed the title Use tsgo beta Use tsgo Feb 13, 2026
@david-crespo david-crespo changed the title Use tsgo Use tsgo, upgrade oxlint Feb 13, 2026
@david-crespo
david-crespo merged commit f122d7f into main Feb 13, 2026
6 checks passed
@david-crespo
david-crespo deleted the use-tsgo-type-checker branch February 13, 2026 04:55
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Mar 7, 2026
oxidecomputer/console@cf75e3f...d8e6a70

* [d8e6a706](oxidecomputer/console@d8e6a706) oxidecomputer/console#3113
* [01e1aa32](oxidecomputer/console@01e1aa32) oxidecomputer/console#3112
* [f3bb44b9](oxidecomputer/console@f3bb44b9) oxidecomputer/console#3111
* [6590f9f6](oxidecomputer/console@6590f9f6) oxidecomputer/console#3049
* [ca2f9246](oxidecomputer/console@ca2f9246) oxidecomputer/console#3110
* [36e21c63](oxidecomputer/console@36e21c63) oxidecomputer/console#3099
* [9a53ec8b](oxidecomputer/console@9a53ec8b) oxidecomputer/console#3103
* [557e0930](oxidecomputer/console@557e0930) oxidecomputer/console#3108
* [615df346](oxidecomputer/console@615df346) oxidecomputer/console#3102
* [7585bfad](oxidecomputer/console@7585bfad) oxidecomputer/console#3105
* [7a9c93f8](oxidecomputer/console@7a9c93f8) oxidecomputer/console#3101
* [2fb10dc4](oxidecomputer/console@2fb10dc4) oxidecomputer/console#3057
* [52a1571d](oxidecomputer/console@52a1571d) oxidecomputer/console#3091
* [a7779689](oxidecomputer/console@a7779689) oxidecomputer/console#3093
* [0e77012f](oxidecomputer/console@0e77012f) oxidecomputer/console#3092
* [fed6782c](oxidecomputer/console@fed6782c) oxidecomputer/console#3073
* [f93c3e26](oxidecomputer/console@f93c3e26) oxidecomputer/console#3090
* [46894afa](oxidecomputer/console@46894afa) oxidecomputer/console#3089
* [0dbdce5e](oxidecomputer/console@0dbdce5e) oxidecomputer/console#3085
* [96996782](oxidecomputer/console@96996782) oxidecomputer/console#3084
* [599fb017](oxidecomputer/console@599fb017) oxidecomputer/console#3088
* [06c6d62c](oxidecomputer/console@06c6d62c) oxidecomputer/console#3061
* [24eb18b9](oxidecomputer/console@24eb18b9) oxidecomputer/console#3082
* [3b995b5e](oxidecomputer/console@3b995b5e) oxidecomputer/console#3081
* [822b9c19](oxidecomputer/console@822b9c19) oxidecomputer/console#3079
* [ad421859](oxidecomputer/console@ad421859) oxidecomputer/console#3077
* [f122d7f4](oxidecomputer/console@f122d7f4) oxidecomputer/console#3075
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Mar 7, 2026
oxidecomputer/console@cf75e3f...d8e6a70

* [d8e6a706](oxidecomputer/console@d8e6a706)
oxidecomputer/console#3113
* [01e1aa32](oxidecomputer/console@01e1aa32)
oxidecomputer/console#3112
* [f3bb44b9](oxidecomputer/console@f3bb44b9)
oxidecomputer/console#3111
* [6590f9f6](oxidecomputer/console@6590f9f6)
oxidecomputer/console#3049
* [ca2f9246](oxidecomputer/console@ca2f9246)
oxidecomputer/console#3110
* [36e21c63](oxidecomputer/console@36e21c63)
oxidecomputer/console#3099
* [9a53ec8b](oxidecomputer/console@9a53ec8b)
oxidecomputer/console#3103
* [557e0930](oxidecomputer/console@557e0930)
oxidecomputer/console#3108
* [615df346](oxidecomputer/console@615df346)
oxidecomputer/console#3102
* [7585bfad](oxidecomputer/console@7585bfad)
oxidecomputer/console#3105
* [7a9c93f8](oxidecomputer/console@7a9c93f8)
oxidecomputer/console#3101
* [2fb10dc4](oxidecomputer/console@2fb10dc4)
oxidecomputer/console#3057
* [52a1571d](oxidecomputer/console@52a1571d)
oxidecomputer/console#3091
* [a7779689](oxidecomputer/console@a7779689)
oxidecomputer/console#3093
* [0e77012f](oxidecomputer/console@0e77012f)
oxidecomputer/console#3092
* [fed6782c](oxidecomputer/console@fed6782c)
oxidecomputer/console#3073
* [f93c3e26](oxidecomputer/console@f93c3e26)
oxidecomputer/console#3090
* [46894afa](oxidecomputer/console@46894afa)
oxidecomputer/console#3089
* [0dbdce5e](oxidecomputer/console@0dbdce5e)
oxidecomputer/console#3085
* [96996782](oxidecomputer/console@96996782)
oxidecomputer/console#3084
* [599fb017](oxidecomputer/console@599fb017)
oxidecomputer/console#3088
* [06c6d62c](oxidecomputer/console@06c6d62c)
oxidecomputer/console#3061
* [24eb18b9](oxidecomputer/console@24eb18b9)
oxidecomputer/console#3082
* [3b995b5e](oxidecomputer/console@3b995b5e)
oxidecomputer/console#3081
* [822b9c19](oxidecomputer/console@822b9c19)
oxidecomputer/console#3079
* [ad421859](oxidecomputer/console@ad421859)
oxidecomputer/console#3077
* [f122d7f4](oxidecomputer/console@f122d7f4)
oxidecomputer/console#3075
david-crespo added a commit that referenced this pull request Nov 11, 2026
Nothing in the repo references these packages any more. The lockfile
goes from 709 to 704 entries. `tslib` and `@react-router/node` stay
installed as dependencies of other packages, so for those two this only
tidies `package.json`. Lint, tsc, build, and the vitest suite pass. I
did not run e2e locally.

- `tslib` came from the Nx generator that created the repo
([source](https://github.com/nrwl/nx/blob/313552b/packages/react/src/schematics/init/init.ts#L55-L61)),
along with `importHelpers: true` in tsconfig, which tells tsc to import
helpers like `__awaiter` from tslib instead of inlining them. tsc never
emitted our build (that was Babel, then Vite), but with `importHelpers`
on, typechecking fails with TS2354 if tslib can't be resolved and the
target needs a helper, as ours did while it was es2015. #2078 raised the
target to es2020 and #3075 removed `importHelpers`. It is still
installed through `@peculiar/x509` and others.
- `@tailwindcss/container-queries` was added in #2654 for the
`@container` and `@[48rem]:` variants on the instance metrics tabs,
loaded as a plugin in `tailwind.config.ts`. Tailwind 4 [has container
queries built
in](https://github.com/tailwindlabs/tailwindcss-container-queries/blob/7a968b3/README.md?plain=1#L1-L2),
and #2910 deleted the config file that loaded the plugin but left the
package.
- `@tanstack/react-query-devtools` was added in #1238 to show the React
Query devtools panel in dev. It was commented out in
cc67cff to keep it out of screenshots,
and #3400 deleted the commented-out lines.
- `react-is` and `@types/react-is` also came from the Nx generator,
which adds them alongside styled-components
([source](https://github.com/nrwl/nx/blob/313552b/packages/react/src/utils/styled.ts#L18-L28))
because styled-components 5 has react-is as a peer dependency. We
replaced styled-components with emotion in
451bef6. `@reach/menu-button` 0.16 also
had react-is as a peer dependency until #1395 replaced it with Radix,
and no package in the lockfile has had one since. Nothing in the repo
has ever imported react-is, so the types were never used.
- `@react-router/node` was added in #3400, following the [React Router
SPA
guide](https://github.com/remix-run/react-router/blob/f482813/docs/how-to/spa.md#L38),
which says a project needs it for the build-time render of `index.html`.
Our `entry.server.tsx` uses web streams and doesn't import it, and
`@react-router/dev` already depends on the exact same version, so it
stays installed.

This branch was successfully deployed

1 active deployment
Preview — dbd63c97 Deployed Feb 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant