Skip to content

feat(telemetry): count intake outcomes and time implement steps - #4187

Merged
dan-petty merged 4 commits into
mainfrom
feat/4067-intake-outcome-and-implement-step-seconds
Nov 8, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/4067-intake-outcome-and-implement-step-seconds

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Intake has no count of the candidates that it places, skips, fails or flags as duplicates. The implement job has no timer for the scoped checks, the publish step and the watch of the pull request checks. The scoped checks take about 3.5 minutes and the watch takes up to 3600 seconds, so nobody can see which of them is slow (#4067). This is wave 9 of the staging plan in the tracker #3027. #4058 (row seconds) and #4066 (step seconds, label scheme) are merged, and this change reuses both.

Closes #4067

Change: openspec/changes/archive/2026-11-08-4067-intake-outcome-and-implement-step-seconds/
Elapsed: 16s

@dan-petty dan-petty added type/feature Type feature: a new function scope/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger labels Nov 8, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test record for #4067.

  • New tests: tests/telemetry/test_roadmap_intake_implement_metrics.py, 19 cases. On the base tree (origin/main plus the tests), 18 of 19 failed for the right reasons: apply_intake had no repo keyword, the instrument was not declared, StepName had no CHECKS, no implement samples, docs lacked the counter. One guard case passed. This is a feat, so there is no fail-to-pass run.
  • After the change: the 19 cases pass again after the rebase onto the new main. devops docs generate --check and devops openspec check pass.
  • Full devops ci on the code before the rebase: 23 of 25 rows passed. The test row failed on one OpenSpec line (fixed in the next commit). The coverage row failed only because the test row failed (coverage 93%, 85% needed). 21677 tests passed. The test row took 17m25s (known fix(ci): the pytest step of devops ci exceeds the 5-minute budget #3593).
  • Series count: implement 3 steps x 2 results = 6 per repo; with the stage row, 16 per repo. Intake: 4 per repo.
  • _groups and _start in implement_run.py are not changed (checked with git diff origin/main).
  • Not tested live: the premise rests on the code and docs/TELEMETRY.md (a job pod exports one OTLP batch when it exits).
  • This change adds no setting. The Settings models use extra='ignore', so no ConfigMap change is needed before the image rolls.

@dan-petty
dan-petty marked this pull request as ready for review November 8, 2026 21:58
@dan-petty
dan-petty merged commit ebec71d into main Nov 8, 2026
26 checks passed
@dan-petty
dan-petty deleted the feat/4067-intake-outcome-and-implement-step-seconds branch November 8, 2026 22:13
dan-petty pushed a commit that referenced this pull request Nov 8, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.95.0](v0.94.0...v0.95.0)
(2026-11-08)


### Features

* **k8s:** deploy the MCP server for the roadmap jobs
([#4182](#4182))
([0232651](0232651))
* **openspec:** scaffold the change folder of an issue to project form
([#4184](#4184))
([2dea272](2dea272))
* **roadmap:** metrics for the pipeline outcomes
([#4185](#4185))
([229865a](229865a))
* **telemetry:** count intake outcomes and time implement steps
([#4187](#4187))
([ebec71d](ebec71d))


### Bug Fixes

* **roadmap:** refuse a spec delta on root documents
([#4183](#4183))
([9529f54](9529f54))

---
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/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(telemetry): an intake outcome counter and implement step seconds

1 participant