TaskResult. The protobuf definitions are in api/grpc/worker/worker.proto.
Result fields
WatchTasks updates also contain is_terminal. An unknown task is reported through the update’s error. Results are held for the configured retention window; the default RESULT_RETENTION_MS is 300000.
Writer results
Debug writes do not create a storage job. Statistics and task success do not replace storage readiness checks.
RPC errors
Execution failures
Use the returned retryability classification together with write state. Repeating a terminal task identifier does not force re-execution; see failure handling.