Repository navigation
windows: route vite, astro, framework tsc and tsc_gate tools through js_build_tool (closes #13890) - #13927
Merged
Conversation
This was referenced Nov 19, 2026
TrapsterDK
force-pushed
the
fix-13890-windows-build-tools
branch
from
November 19, 2026 12:27
cc12d59 to
43820ae
Compare
TrapsterDK
marked this pull request as ready for review
November 19, 2026 12:27
…Windows (closes #13788) The bazel_lib 3.8.0 Windows launcher starts the sibling bash script without exporting a runfiles location, so js_binary tools in build actions fail with "RUNFILES environment variable is not set". typescript_* now passes ts_project an action_tool wrapper that sets RUNFILES_MANIFEST_FILE to its own runfiles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
…d by alias (#13788) Replace action_tool with javascript/private/windows_tool.bzl: js_build_tool defines an alias that selects windows_js_tool_shim on @platforms//os:windows and the @npm_typescript launcher everywhere else, so Linux and macOS action keys are unchanged. The quality tsc gate uses the same alias. Analysis tests cover the shim content, its runfiles and the select on both platforms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
…js_build_tool (closes #13890) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
TrapsterDK
force-pushed
the
fix-13890-windows-build-tools
branch
from
November 19, 2026 12:27
43820ae to
e00a707
Compare
TrapsterDK
changed the base branch from
fix-13788-tsc-windows-runfiles
to
main
November 19, 2026 12:28
This was referenced Nov 19, 2026
Closed
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.
Closes #13890
Stacks on #13857 (
js_build_tool); base isfix-13788-tsc-windows-runfiles. Rebase withgit rebase --onto origin/mainafter that squash-merges.Changes
javascript/private/windows_tool.bzl: visible to//astro/...; the shim forwards the tool'sexecroot_data_filesoutput group, whichjs_run_binarycollects.js_build_toolaliases, callers repointed://javascript/private:vite_build_tool(frameworks.bzl_VITE_TOOL)//astro/private:astro_build_tool(astro/private/defs.bzl)//javascript/private/quality/bin:{astro,mdx,svelte,vue}_tsc_tool(tsc_aspectdefaults)//typescript/private/quality:tsc_gate_tool(tsc_gatedefault)typescript/tests/windows_tool_tests.bzl: shim, Windows-select and default-select cases for tsc, vite and svelte_tsc; the shim test assertsexecroot_data_files.//typescript/tests:windows_ts_actions: buildshello_liband the svelte vite app//svelte/tests/app:site, runshello_typecheck_test(tsc_gate) and the svelte tsc aspect tests. The plan namedhello_lib_typecheck_test, which does not exist;typescript_libraryhas no gate, sohello_typecheck_testis used.ci.ymlstarter-consumer, windows_x86_64 shard 1: runs//typescript/tests:windows_ts_actions.Verification
aquery --output=jsonproto,deps()of//svelte/tests/app:site_dist,//svelte/tests/typecheck:clean_stdout_report,//typescript/tests/fixtures/hello:hello_typecheck): 2164 keys, identical before and after.bazel test //typescript/tests:windows_ts_actions: 13 tests pass.tools/dx check --apply --affected: fails only outside this PR (//rust/tests/fixtures/native_call:native_mixed_crtreal_aspect ownership error; generate refused out-of-scope edits).//tools/ci/producers:producers_binrules_python lockfile error ("The module extension '@@rules_python+//python/extensions:python.bzl%python' for platform os:windows,arch:amd64 does not exist in the lockfile"). Draft until a Windows run gets past it.tools/dx test --affectedand the finaltools/dx check --affectedwere stopped at the local time limit (queued behind the 20-minutedx check --apply).Follow-ups: #13917, #13918. Shim removal: #13889.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K