Skip to content
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

flag_alias and custom flags do not appear in explicit_cmd_line field of OptionsParsed BES message #22978

Open
alex-torok opened this issue Jul 9, 2024 · 0 comments
Labels
team-Core Skyframe, bazel query, BEP, options parsing, bazelrc type: bug untriaged

Comments

@alex-torok
Copy link
Contributor

Description of the bug:

When using a --flag_alias or a custom flag on the command line, they do not appear on the explicit_cmd_line field of the OptionsParsed BES message.

Even though these are custom flags, I would expect them to appear in the explicit_cmd_line field of OptionsParsed, since the naming of the field suggests that it is exactly the flags passed to the bazel command.

Which category does this issue belong to?

CLI

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

A sample repo that reproduces the issue can be seen here.

Which operating system are you running Bazel on?

linux

What is the output of bazel info release?

release 7.2.1

If bazel info release returns development 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?

I haven't seen any issue discuss explicit_cmd_line or the OptionsParsed message

Any other information, logs, or outputs that you want to share?

No response

@github-actions github-actions bot added the team-CLI Console UI label Jul 9, 2024
@wilwell wilwell added team-Core Skyframe, bazel query, BEP, options parsing, bazelrc and removed team-CLI Console UI labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Core Skyframe, bazel query, BEP, options parsing, bazelrc type: bug untriaged
Projects
None yet
Development

No branches or pull requests

5 participants