Description
What happened?
The Computing Layer Groups stage of one of our js_image_layer
builds usually takes around 30 seconds, but occasionally it will take 1000+ seconds, and this causes our CI build to timeout. It seems like this might be caused by a race condition in https://github.com/aspect-build/rules_js/blob/main/js/private/js_image_layer.mjs.
Version
Development (host) and target OS/architectures: Linux x86_64
Output of bazel --version
: 8.2.1rc1
Version of the Aspect rules, or other relevant rules from your
WORKSPACE
or MODULE.bazel
file: rules_js v2.3.3
Language(s) and/or frameworks involved:
How to reproduce
Any other information?
I don't have a repro or additional data since this happens infrequently, but please let me know if there's something that would be helpful to collect the next time we see this issue.