-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Implement --remote_force_print_messages #15557
Conversation
@@ -574,6 +574,17 @@ public RemoteOutputsStrategyConverter() { | |||
help = "Maximum number of open files allowed during BEP artifact upload.") | |||
public int maximumOpenFiles; | |||
|
|||
@Option( | |||
name = "remote_force_print_messages", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe change to remote_always_print_execution_message
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to remote_print_execution_messages with changing it to be a tristate flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering, why do we need a remote-specific flag here? Bazel already has --output_filter
and --auto_output_filter
; why aren't those enough?
IIUC, you are suggesting treating the execution message as warning from the rule which owns the spawn? I think they are different things. For example, the execution message can be sent to Bazel for all spawns that come from different rules, but you probably don't want see warnings from those rules. |
Alright, after an offline discussion with @coeuvre, I agree that we should treat the execution message as distinct from the action stdout/stderr. Separate comment: is there already a flag to silence all execution messages? If not, should we make this option a tristate |
Adds a flag for controlling when to print messages from remotely executed actions.
86de593
to
7a0ef3b
Compare
Adds a flag for always printing messages returned by remotely executed
actions.