bazel-contrib / bazel-contrib/rules_go
Windows symlinked binaries are unreliable with remote cache enabled.
- Dominant language
- Go
- Stars
- 1.5k
- Forks
- 760
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 12
Description
### What version of rules_go are you using?
* `0.47.1`
* But present in in `0.48.1` too.
### What version of gazelle are you using?
NA
### What version of Bazel are you using?
* `bazel 8.0.0-pre.20240607.2`
### Does this issue reproduce with the latest releases of all the above?
Yes.
### What operating system and processor architecture are you using?
Various but bug exists on Windows.
### Any other potentially useful information about your toolchain?
NA
### What did you do?
Run builds in CI which result in build failures on Windows as described in Same build failures as https://github.com/bazelbuild/bazel/issues/21747
### What did you expect to see?
No failures.
### What did you see instead?
Build failure due to a broken executable fetched from remote cache.
Contributor guide
Research direction
Start by reproducing the CI build on Windows with rules_go 0.47.1 or 0.48.1 and Bazel 8.0.0-pre.20240607.2, then compare the failure with Bazel issue 21747. Done means builds using remote cache no longer fetch a broken executable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100