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
pseudo actions omitted from Target.actions #12985
Comments
It looks like this is somewhat intentional:
Just removing that check fixes the issue, although I'm not sure about other impact it may have. |
I believe pseudo actions were added just to support Is there something you can't access using an aspect? The info should be there. |
When migrating from |
Ah ok, if it helps you move faster, please submit a PR (maybe you need to update Starlarkified calls as well). But consider pseudo actions deprecated. |
At this point I believe we've already worked around the problem, but it was a speedbump to do so. |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale. |
Description of the problem / feature request:
When accessing Target.actions from an aspect, pseudo actions are absent.
Feature requests: what underlying problem are you trying to solve with this feature?
Replacing extra_actions with aspects.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Given BUILD:
And aspect.bzl
Running the commands yields:
(Note, in particular, the empty list of action mnemonics in the DEBUG line)
What operating system are you running Bazel on?
Ubuntu
What's the output of
bazel info release
?release 4.0.0
The text was updated successfully, but these errors were encountered: