-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Crash when using subrules in aspects that uses to a bool_flag #23282
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Rules-API
API for writing rules/aspects: providers, runfiles, actions, artifacts
type: bug
Comments
github-actions
bot
added
team-Configurability
platforms, toolchains, cquery, select(), config transitions
team-Rules-API
API for writing rules/aspects: providers, runfiles, actions, artifacts
labels
Aug 12, 2024
comius
added
P2
We'll consider working on this in future. (Assignee optional)
and removed
team-Configurability
platforms, toolchains, cquery, select(), config transitions
untriaged
labels
Aug 26, 2024
@bazel-io flag |
bazel-io
added
the
potential release blocker
Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone
label
Aug 27, 2024
@bazel-io fork 7.4.0 |
bazel-io
removed
the
potential release blocker
Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone
label
Aug 27, 2024
bazel-io
pushed a commit
to bazel-io/bazel
that referenced
this issue
Aug 27, 2024
Fixes bazelbuild#23282 PiperOrigin-RevId: 667946340 Change-Id: Icac6c4e4c695e5b580c13e9aa9cd7cee608b8e3b
github-merge-queue bot
pushed a commit
that referenced
this issue
Aug 28, 2024
Fixes #23282 PiperOrigin-RevId: 667946340 Change-Id: Icac6c4e4c695e5b580c13e9aa9cd7cee608b8e3b Commit 1f216b1 Co-authored-by: Googler <[email protected]>
A fix for this issue has been included in Bazel 7.4.0 RC1. Please test out the release candidate and report any issues as soon as possible. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Rules-API
API for writing rules/aspects: providers, runfiles, actions, artifacts
type: bug
Description of the bug:
Bazel crashes when using subrules in aspects that uses to a bool_flag
Which category does this issue belong to?
Configurability, Rules API
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
and an empty
MODULE.bazel
file.Then
Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?release 7.3.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
This only happens when using subrules. If I put the attrs in the aspect directly, then it would work properly.
The text was updated successfully, but these errors were encountered: