-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bazel CI: rules_haskell is broken with Bazel@HEAD #10953
Comments
@michajlo Can you help fixing this today? Otherwise, I'll have to rollback the culprit. |
Does that rule really need 180 attributes? We can raise the limit, but it can't go any higher than 254 due to https://github.com/bazelbuild/bazel/blob/master/src/main/java/com/google/devtools/build/lib/packages/AttributeContainer.java#L48. The current default was chosen to give a good amount of warning before getting close to that hard limit in order to give users time to fix things. |
/cc @aherrmann @mboes Can you help answering this question? |
Filed tweag/rules_sh#13 for follow-up. |
sh_posix_toolchain [1] has 180, mostly because it has an attribute per unix command. Lifting to 200 to unbreak them and give them some headroom, and will open a github issue to make sure they know this won't scale infinitely. Still staying below the 254 hard limit to give us headroom to attach misc magic attributes after the check, as well as leaving us with a low-effort way to help users that might find themselves in danger without being able to immediately fix things. Fixes bazelbuild/bazel#10953 [1] https://github.com/tweag/rules_sh/blob/master/sh/posix.bzl RELNOTES: Increase max targets per rule class limit to 200 PiperOrigin-RevId: 300633160
https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1421#0d30573e-d485-477b-8c25-9fc9d8a0f663
Culprit: b839a51
Bazel Auto Sheriff: https://buildkite.com/bazel/bazel-auto-sheriff-face-with-cowboy-hat/builds/86
/cc @michajlo
The text was updated successfully, but these errors were encountered: