string target_label
(e.g. //your:target
)string action_mnemonic
(e.g. Javac
)string workspace_name
(whatever the value of the name
attribute is in the call to workspace()
in the WORKSPACE
file)--
You received this message because you are subscribed to the Google Groups "Remote Execution APIs Working Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to remote-execution...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/remote-execution-apis/0291D6B1-F729-4D66-85FA-1C35EE4910D9%40apple.com.
- 'target_label': If we can succinctly explain what a "target" is, might be fine, otherwise maybe "action label"? Though this calls into question how to map it in when bazel sends multiple actions for a single target, e.g. compile and link steps. Should those be labeled the same, distinct ("//foo/bar compile"), or be split into multiple fields like "label" and "sublabel"? At any rate, we should be clear if the expectation is that a target_label maps to at most one action execution (and so is 1:1 with action_id, and probably better named action_label), or may encompass multiple.
- 'workspace_name': similarly, fine if we can come up with a generic description of what a "workspace" is in this context, otherwise possibly might need to be genericized.
Thanks!--On Fri, Feb 5, 2021 at 4:47 AM 'Daniel Wagner-Hall' via Remote Execution APIs Working Group <remote-exe...@googlegroups.com> wrote:Currently, remote_execution.proto specifies a RequestMetadata protobuf, optionally used as a header to provide the remote execution server with metadata about a build.--
I’d like to add a few optional fields to it:
And have Bazel set them as appropriate. Mostly this is for debug metadata, but I imagine they could also be used for things like naive cost estimation, or even preferential worker routing.
string target_label
(e.g.//your:target
)string action_mnemonic
(e.g.Javac
)string workspace_name
(whatever the value of thename
attribute is in the call toworkspace()
in theWORKSPACE
file)
Any thoughts?
You received this message because you are subscribed to the Google Groups "Remote Execution APIs Working Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to remote-execution...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/remote-execution-apis/0291D6B1-F729-4D66-85FA-1C35EE4910D9%40apple.com.
You received this message because you are subscribed to the Google Groups "Remote Execution APIs Working Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to remote-execution...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/remote-execution-apis/CAJZTgz2QSBFG19SOOLEKrLzB9WjpPfrC_svwtsk6SJObwTFhyg%40mail.gmail.com.
On 5 Feb 2021, at 15:36, Eric Burnett <ericb...@google.com> wrote:+1! More metadata seems generally useful, and forge has similar in their logs which has proven quite useful in practice.On the off chance you're not already planning for it, I'll request we either come up with generic descriptions of these fields so they clearly map onto non-bazel tools, or generic renames of the same. I don't want to have to lean on bazel knowledge for how to interpret the metadata in the REAPI.
- 'action_mnemonic' seems fine and easy to describe.
- 'target_label': If we can succinctly explain what a "target" is, might be fine, otherwise maybe "action label"? Though this calls into question how to map it in when bazel sends multiple actions for a single target, e.g. compile and link steps. Should those be labeled the same, distinct ("//foo/bar compile"), or be split into multiple fields like "label" and "sublabel"? At any rate, we should be clear if the expectation is that a target_label maps to at most one action execution (and so is 1:1 with action_id, and probably better named action_label), or may encompass multiple.