-
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
Expose Action tools/input_manifest inputs #15164
Comments
Hello @rickeylev, Could you please provide more details with respect to the above request. Thanks! |
As an example, lets say you have a tool, "packager", that takes other targets (including their runfiles) as inputs. So you'd have code like this:
This works just fine, but writing an analysis test to verify the action actually got the expected inputs is hard. In our example above, we'd want to verify that (1) However, in an analysis test, querying the action's inputs will just say there was a single "middleman" file as the input. These middleman files are rather opaque and magical: they're located in an obscure and internal place, they use the S/U encoding for the file names, they append "-runfiles" to their names, they kind of don't actually exist, and its some special code elsewhere that "expands" these middleman files into the set of larger inputs they represent. Lots of implementation details there that you don't really want to rely on, nor are they really of interest to me -- I don't care that there was a "middleman" thing, I just care about the path the runfiles are materialized under, the set of files under it, and the inputs available to the action. |
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. |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please post |
Description of the problem / feature request:
Feature requests: what underlying problem are you trying to solve with this feature?
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
What operating system are you running Bazel on?
What's the output of
bazel info release
?If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?Have you found anything relevant by searching the web?
Any other information, logs, or outputs that you want to share?
The text was updated successfully, but these errors were encountered: