bazelbuild / rules_go

Go rules for Bazel
Apache License 2.0
1.36k stars 636 forks source link

Windows symlinked binaries are unreliable with remote cache enabled. #3976

Open luke-flow opened 4 days ago

luke-flow commented 4 days ago

What version of rules_go are you using?

What version of gazelle are you using?

NA

What version of Bazel are you using?

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.