-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
rules_nodejs is broken on Windows, Bazel CI didn't catch it #582
Comments
@alexeagle This also means rules_nodejs 0.26.0 release doesn't work on Windows. |
I can reproduce the issue on CI after disabling remote cache in tests |
Maybe we should disable remote caching until we have a way to test the hermeticity of rules? |
Yes, I already did that for running the tests, there is no easy way to disable remote cache for the build currently. (Maybe we should add one @fweikert) @alexeagle @gregmagolan Please work on a fix for this, otherwise the presubmit of rules_nodejs will always be red. |
@meteorcloudy Thanks for reporting. I'll TAL today or tomorrow. |
I tried reproducing on my local Windows machine with Bazel 0.22.0 with no luck |
That's strange. I checked the latest builds https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/840 & https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/839 and rules_nodejs is all green. Don't know what caused the failure or how you managed to reproduce it locally @meteorcloudy. Closing this as its now passing at head but feel free to re-open if it shows up again. |
🐞 bug report
Is this a regression?
Yes, rules_nodejs no longer builds on Windows
Description
Rules_nodejs is red in downstream test on Bazel CI:
https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/826#40bcf682-9310-4cb7-8215-0b09f9f601bf
First I thought it was a Bazel bug, but while bisecting, even a previous good bazel commit fails with the same error.
https://buildkite.com/bazel/culprit-finder/builds/117#9cd512ab-6511-4941-8140-779f1bc47655
Then I tried to reproduce on my local Windows machine with Bazel 0.22.0, I got the same error.
After a local bisecting, I found #575 as the culprit.
I suspect we didn't catch this on presubmit because the actions were remote cached.
This means we have a hermetic problem in either rules_nodejs rule or Bazel, please help investigate.
🔬 Minimal Reproduction
With Bazel 0.22.0
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules version (SHA):
The text was updated successfully, but these errors were encountered: