Closed endobson closed 1 month ago
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 @bazelbuild/triage
in a comment here and we'll take a look. Thanks!
Description of the problem / feature request:
Bazel crashes with an internal error if an
Args
object is passed toctx.actions.run_shell
, as it is expecting a sequence (possibly includingArgs
objects). This should not be an internal error and instead a user facing error explaining the type discrepency.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Code: https://github.com/endobson/examples/tree/bazel-args-hard-crash Command:
bazel build //:foo
Snippet:
Output
What operating system are you running Bazel on?
macOS 10.15.7
What's the output of
bazel info release
?development version
If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.Checked out bazel repo and ran
bazel build //src:bazel
What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?