Skip to content

[Bug]: js_image_layer hangs in Computing Layer Groups #2216

Open
@westrik

Description

@westrik

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions