Skip to content

fix(telemetry): count a round that fails before its first row - #7881

Merged
dan-petty merged 7 commits into
mainfrom
fix/3666-count-failed-round
Nov 30, 2026
Merged

dan-petty merged 7 commits into
mainfrom
fix/3666-count-failed-round

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Issue #3666 reports that a round of the roadmap Service that fails before its first row counts no job. #3495 moved the job count into the roadmap run, one count for each row. A round can fail before any row runs: the job cannot get the roadmap store of the repository, or the listing of the changes in run_due_jobs fails. The worker then logs Service job execution failed and adds to devops_cli_service_job_seconds_total, but no series of devops_cli_service_jobs_total grows. So RoadmapServiceJobsFailing does not fire when each round of a repository fails at that level, and RoadmapServiceLaneStalled does not fire either. This change fits one pull request.

Closes #3666

Change: openspec/changes/archive/2026-11-30-3666-count-failed-round/

A round whose job raised an error before its first row logged the error
and counted no job, so RoadmapServiceJobsFailing and the lane alerts did
not see it. The Service now counts such a round on
devops_cli_service_round_failures_total with the labels repo and lane,
creates each repo and lane at zero when it starts, and does not count a
round that the stop of the Service ends. RoadmapServiceRoundsFailing
fires when a lane has round failures and no job in the hour.

Closes #3666
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger labels Nov 30, 2026
The Roadmap Service row of the dashboard charts each Service counter, so
the round failure counter gets a panel. The live promtool test now runs
the case files of the roadmap Service groups, which no gate ran before.
@dan-petty
dan-petty marked this pull request as ready for review November 30, 2026 15:09
@dan-petty
dan-petty merged commit b749e89 into main Nov 30, 2026
37 checks passed
@dan-petty
dan-petty deleted the fix/3666-count-failed-round branch November 30, 2026 15:20
dan-petty-release Bot added a commit that referenced this pull request Nov 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.261.1](v0.261.0...v0.261.1)
(2026-11-30)


### Bug Fixes

* **telemetry:** count a round that fails before its first row
([#7881](#7881))
([b749e89](b749e89)),
closes [#3666](#3666)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(telemetry): count a round that fails before its first row

1 participant