Skip to content

windows: drop the js_binary build-tool shim once bazel-lib or rules_js export the runfiles manifest again (part of #13788) #13889

Open

Description

@TrapsterDK

Part of #13788. The fix for #13788 adds a rules_dx shim for Windows js_binary build tools. It brings back the RUNFILES_MANIFEST_FILE export that bazel_lib 3.7.3+ dropped. The shim should be removed once upstream fixes the bug.

Where

Fix

  • Report the bug to bazel-lib. Have the sibling-.sh branch also set RUNFILES_MANIFEST_FILE (%~f0.runfiles\MANIFEST, else %~f0.runfiles_manifest) when it is unset. Alternatively, have the rules_js launcher fall back to ${0%.sh}.bat.runfiles.
  • Once a bazel_lib or rules_js release with the fix is the floor (or rules_js makes the hermetic launcher the default with Windows arm64 toolchains), delete js_build_tool and point the labels back at @npm_typescript//:tsc and @npm_typescript//:validator.
  • Verify by running //examples/adopt-polyglot:consumer_test through evidence.yml on windows_x86_64 and windows_arm64.

Activity

  1. added
    P2
    on Nov 19, 2026
  2. TrapsterDK commented on Nov 19, 2026

    @TrapsterDK
    CollaboratorAuthor

    Wrappers to drop with the shim (from #13927): //javascript/private:vite_build_tool, //astro/private:astro_build_tool, //javascript/private/quality/bin:{astro,mdx,svelte,vue}_tsc_tool, //typescript/private/quality:tsc_gate_tool (plus //typescript/private:tsc/validator from #13857). Removal is a revert of their callers to the js_binary targets.

  3. TrapsterDK commented on Nov 20, 2026

    @TrapsterDK
    CollaboratorAuthor

    Tripwire added in #14260 (//typescript/tests:windows_tool_tests_upstream_launcher). Remaining: report the bug to bazel-lib (maintainer); once the tripwire fires on a fixed release, delete js_build_tool plus every caller from git grep js_build_tool, the tripwire test and the typescript/private/proto.bzl:46 note; verify //examples/adopt-polyglot:consumer_test via evidence.yml on windows_x86_64 and windows_arm64.

  4. TrapsterDK commented on Nov 21, 2026

    @TrapsterDK
    CollaboratorAuthor

    Tripwire now also watches rules_js's bash {{initialize_runfiles}} (#14488). Remaining: report the bug to bazel-lib (maintainer); once the tripwire fires, delete js_build_tool plus callers (git grep js_build_tool), the tripwire tests and the typescript/private/proto.bzl:46 note; verify //examples/adopt-polyglot:consumer_test via evidence.yml on windows_x86_64 and windows_arm64.

  5. added
    cloud-pool
    on Nov 21, 2026
  6. TrapsterDK commented on Nov 21, 2026

    @TrapsterDK
    CollaboratorAuthor

    cloud-claim 927c03f8


    Generated by Claude Code

  7. added
    blocked
    cloud-taken
    and removed
    cloud-pool
    on Nov 21, 2026
  8. TrapsterDK commented on Nov 21, 2026

    @TrapsterDK
    CollaboratorAuthor

    Blocked: removal needs a bazel_lib or rules_js release that restores RUNFILES_MANIFEST_FILE (tripwire //typescript/tests:windows_tool_tests_upstream_launcher has not fired), and the bazel-lib bug report is a maintainer step.

    Next slice: once the tripwire fires on a new floor, delete js_build_tool and its callers (git grep js_build_tool), the tripwire tests and the typescript/private/proto.bzl:46 note, then run //examples/adopt-polyglot:consumer_test through evidence on windows_x86_64 and windows_arm64.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2blockedcloud-taken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions