[9.1.0] Include rctx.os.{name,arch} in the pre declared inputs hash (https://github.com/bazelbuild/bazel/pull/29148)#29195
Merged
iancha1992 merged 1 commit intobazelbuild:release-9.1.0from Apr 3, 2026
Conversation
…uild#29148) ### Description ### Motivation Fixes bazel-contrib/rules_go#4581 ### Build API Changes No ### Checklist - [ ] I have added tests for the new use cases (if any). - [ ] I have updated the documentation (if applicable). ### Release Notes RELNOTES: The local and remote repo contents cache now include the host OS and CPU architecture in the cache key. Closes bazelbuild#29148. PiperOrigin-RevId: 893352625 Change-Id: I02c0ded7ffe2b5aa9bc2ef489dc5240b5716ebdf
Wyverald
approved these changes
Apr 3, 2026
gh-worker-dd-mergequeue-cf854d Bot
pushed a commit
to DataDog/datadog-agent
that referenced
this pull request
Apr 22, 2026
### What does this PR do? Update `.bazelversion` from 9.0.1 to 9.1.0 and regenerate `MODULE.bazel.lock` accordingly. ### Motivation The most impactful fix for our dev setup is bazelbuild/bazel#29195: the local and remote repo contents cache now includes the host OS and CPU architecture in the cache key. This bug was initially reported by us (@JSGette): bazel-contrib/rules_go#4581. Previously, sharing `--repository_cache` across platforms (e.g., macOS host + Linux container, Linux host + Windows VM) could cause a cached OS-specific repository to be served to another OS, producing cryptic errors at build time. ### Describe how you validated your changes - locally: built `//pkg/...` on both Linux and Windows (virtiofs mount) with no regressions, - CI. Co-authored-by: regis.desgroppes <[email protected]>
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.
Description
Motivation
Fixes bazel-contrib/rules_go#4581
Build API Changes
No
Checklist
Release Notes
RELNOTES: The local and remote repo contents cache now include the host OS and CPU architecture in the cache key.
Closes #29148.
PiperOrigin-RevId: 893352625
Change-Id: I02c0ded7ffe2b5aa9bc2ef489dc5240b5716ebdf
Commit 2ec24b4