Skip to content

Emit structured stage_summary telemetry across all 11 bot tasks. - #5556

Closed
smolkaj wants to merge 1 commit into
masterfrom
structured-step-telemetry
Closed

smolkaj wants to merge 1 commit into
masterfrom
structured-step-telemetry

Conversation

@smolkaj

@smolkaj smolkaj commented Oct 27, 2026

Copy link
Copy Markdown

Currently, diagnosing where a ClusterFuzz task failed or spent its
time requires scraping unstructured Cloud Logging prose across
preprocess, main, and postprocess stages. With this change, every
stage exit emits a single Stage <stage> finished. log carrying
jsonPayload.extras.stage_summary with stage status, duration, error
type, variant, and per-step status, duration, and failure or skip
reason across all 8 UTasks and 3 TrustedTasks.

Also provision a filtered Cloud Logging sink (stage-summaries) in
Terraform that routes only stage_summary records into a partitioned
BigQuery dataset (stage_summaries).

Currently, diagnosing where a ClusterFuzz task failed or spent its
time requires scraping unstructured Cloud Logging prose across
preprocess, main, and postprocess stages. With this change, every
stage exit emits a single `Stage <stage> finished.` log carrying
`jsonPayload.extras.stage_summary` with stage status, duration, error
type, variant, and per-step status, duration, and failure or skip
reason across all 8 UTasks and 3 TrustedTasks.

Also provision a filtered Cloud Logging sink (`stage-summaries`) in
Terraform that routes only `stage_summary` records into a partitioned
BigQuery dataset (`stage_summaries`).
@smolkaj

smolkaj commented Oct 27, 2026

Copy link
Copy Markdown
Author

Superseded by #5557, #5558 and #5559, which split this into smaller pieces.

@smolkaj smolkaj closed this Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant