Repository navigation
Update to nodejs rules 0.31.1 & bazel 0.26.0 - #30627
gregmagolan wants to merge 5 commits into
Conversation
|
For reference, there was a managed directories flaky crash observed when running the bazel-schematics integration test locally. Issue file to Bazel here bazelbuild/bazel#8488 |
|
Probably want bazel 0.26.1 with this which fixes managed directories being edited externally (by rm -rf for example) |
|
Thanks @Toxicable I hadn't seen that the fix was released. Just mirrored that to npm and will update this PR |
There was a problem hiding this comment.
LGTM. Thanks for finishing it up @alexeagle
|
Not quite done. Bazel 0.26.1 doesn't fix node_modules issue so need to put back |
|
uh oh.. what's going on with node_modules? why's still broken? |
|
Scope change on the bazel side getting the managed_directories feature in led to an issue: bazel-contrib/rules_nodejs#802 with Bazel 0.26.0. Irina on Bazel team fixed it but hasn't landed in a release yet. Tracking for Bazel team here: bazelbuild/bazel#8487 |
|
|
nodejs rules 0.30.1 has new feature to symlink node_modules with yarn_install and bazel 0.26.0 includes new managed_directories feature which enables this
* entry_point attribute of nodejs_binary & rollup_bundle is now a label * symlinking of node_modules for yarn_install temporarily disabled (except for integration/bazel) until the fix for bazelbuild/bazel#8487 makes it into a future bazel release
…SPACE and bazel schematics This is needed to work-around issue: yarn_install & npm_install with managed directories can't handle deleted or manually regenerated node_modules folder [bazel-contrib/rules_nodejs#802] Underlying issue has been fixed in Bazel bazelbuild/bazel#8487 but hasn't landed in a release yet
|
Ah my mistake, I assumed it was released when I saw the 0.26.1 release along with this being closed |
|
@gregmagolan this one doesn't cleanly land on the patch branch, could you please send a separate PR that targets just 8.0.x? thanks |
* entry_point attribute of nodejs_binary & rollup_bundle is now a label * symlinking of node_modules for yarn_install temporarily disabled (except for integration/bazel) until the fix for bazelbuild/bazel#8487 makes it into a future bazel release PR Close #30627
…SPACE and bazel schematics (#30627) This is needed to work-around issue: yarn_install & npm_install with managed directories can't handle deleted or manually regenerated node_modules folder [bazel-contrib/rules_nodejs#802] Underlying issue has been fixed in Bazel bazelbuild/bazel#8487 but hasn't landed in a release yet PR Close #30627
Roger |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Uh oh!
There was an error while loading. Please reload this page.