Skip to content

Fix wrappers issues in Bazelisk 1.28.0 on Windows#762

Merged
fweikert merged 2 commits intobazelbuild:masterfrom
valco1994:master
Jan 19, 2026
Merged

Fix wrappers issues in Bazelisk 1.28.0 on Windows#762
fweikert merged 2 commits intobazelbuild:masterfrom
valco1994:master

Conversation

@valco1994
Copy link
Contributor

Rework wrappers probation order according to #761:

  • probe tools/bazel.exe on Windows after platform-specific executables and before Windows-specific scripts
  • probe tools/bazel on Windows with the lowest priority (for backward compatibility only)

Update core_test.go and README.md to reflect the changes.

Fixes #761.

I think that it will be necessary to release 1.28.1 after merging this fix, because without it using script wrappers in the cross-platform scenario is hardly possible.

@valco1994 valco1994 force-pushed the master branch 3 times, most recently from 1a40d03 to e73fdbb Compare January 16, 2026 22:59
* probe tools/bazel.exe on Windows after platform-specific executables and before Windows-specific scripts
* probe tools/bazel on Windows with lowest priority (for backward compatibility only)

Update core_test.go and README.md to reflect the changes.
…zel.mirror, use Bazel 8.5.1 instead in the test `test_path_is_consistent_regardless_of_base_url` from bazelisk_test.sh
@valco1994
Copy link
Contributor Author

@fweikert, please take a look at it.

@fweikert fweikert self-requested a review January 19, 2026 16:42
@fweikert
Copy link
Member

Thank you!

@fweikert fweikert merged commit 1e6aaf1 into bazelbuild:master Jan 19, 2026
2 checks passed
rdesgroppes added a commit to DataDog/datadog-agent-buildimages that referenced this pull request Jan 29, 2026
### What does this PR do?
Update bazelisk from v1.27.0 to v1.28.1 across all supported platform
configurations (Linux amd64/arm64 and Windows amd64).

### Motivation
Ability to use platform-specific `tools/bazel*` wrappers:
- bazelbuild/bazelisk#696 (v1.28.0)

Ability to switch our `tools/bazel.bat` to `tools/bazel.ps1` on Windows:
- bazelbuild/bazelisk#732 (v1.28.0)
- bazelbuild/bazelisk#762 (v1.28.1)
rdesgroppes added a commit to DataDog/datadog-agent-buildimages that referenced this pull request Jan 29, 2026
### What does this PR do?
Update bazelisk from v1.27.0 to v1.28.1 across all supported platform
configurations (Linux amd64/arm64 and Windows amd64).

### Motivation
Ability to use platform-specific `tools/bazel*` wrappers:
- bazelbuild/bazelisk#696 (v1.28.0)

Ability to switch our `tools/bazel.bat` to `tools/bazel.ps1` on Windows:
- bazelbuild/bazelisk#732 (v1.28.0)
- bazelbuild/bazelisk#762 (v1.28.1)
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.

Wrappers don't work properly in Bazelisk 1.28.0

2 participants