Repository navigation
Load TypeScript pull request builds in Playground v2 - #3697
Merged
Jake Bailey (jakebailey) merged 1 commit intoNov 9, 2026
Merged
Conversation
PR builds of microsoft/TypeScript are now published to npm as @typescript-deploys/pr-build with versions like 7.1.0-pr.<PR>.<build>, so that the bot can link a ?ts=<version> Playground URL for them. They are not published under the typescript name, so the Playground must fetch them from the @typescript-deploys packages instead.
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the TypeScript PR-build loading changes.
No open issues 🎉
What changed in this PR
Adds support for loading TypeScript pull request builds in Playground v2 from the new @typescript-deploys npm packages.
Changes:
- Recognizes
7.1.0-pr.<PR>.<build>-style versions as WebAssembly compiler builds. - Routes PR builds to their dedicated API and WebAssembly packages.
- Adds tests for version classification and PR-build distribution URLs.
| File | Description |
|---|---|
packages/playground-v2/src/native-compiler.test.ts |
Tests PR-version recognition and loading from dedicated packages. |
packages/playground-v2/src/compiler-versions.ts |
Detects PR-build versions and classifies them as WebAssembly-compatible. |
packages/playground-v2/src/compiler-distribution.ts |
Selects the PR-build packages when loading a PR version. |
Review effort: Balanced
Gabriela Araujo Britto (gabritto)
approved these changes
Nov 9, 2026
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.
TS PR builds are now published to npm as
@typescript-deploys/pr-buildwith versions like7.1.0-pr.<PR>.<build>; support them.Goes with microsoft/TypeScript#65406