Implement the ExecutedActionMetadata (timestamps)
Context
It would be useful to be able to keep track of execution timestamps. The REAPI defines ExecutedActionMetadata
(see here) containing timestamps for various events:
-
queued
(server side). -
worker_start
andworker_completed
(server side). -
input_fetch_start
andinput_fetch_completed
(bot side). -
execution_start
andexecution_completed
(bot side). -
output_upload_start
andoutput_upload_completed
(bot side).
Task Description
-
Implement server-side timestamps. -
Implement bot-side timestamps: -
Implement timestamps for the dummy
bot. -
Implement timestamps for the host-tools
bot. -
Implement timestamps for the buildbox
bot.
-
-
Have bgd operation
commands report metrics when they are available.
Acceptance Criteria
-
bgd operation wait
returns time metrics after operation execution completed.
Edited by Beth