Skip to content

feat(roadmap): run the stage job as a Service row - #2691

Merged
dan-petty merged 9 commits into
mainfrom
feat/2659-stage-service-row
Oct 29, 2026
Merged

dan-petty merged 9 commits into
mainfrom
feat/2659-stage-service-row

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The Service now runs the stage job as a row of its model lane, and its image carries the pinned OpenSpec.

  • The row stage follows refine. It is due every hour, on a first run, and in a round where refine set an item Ready. This also holds when refine failed for another item in the same round.
  • The settings roadmap.stage.filter, roadmap.stage.limit and roadmap.stage.step_tokens set what the job takes. Each has a variable.
  • The metric devops_cli_roadmap_stage_total counts each item once by its result.
  • The Service image has the OpenSpec version of the lockfile and a Node runtime, so the job validates a change before it pushes.
  • JobOutcome.set_ready carries the cross-job fact from refine to stage. RoadmapRefineError.readied_count keeps it through a failed round.

Closes #2659

The service stage gets the official Node binary and the OpenSpec that
devops install-tools installs from the lockfile, so the stage job can run
openspec validate in the Service.

Plans #2659
roadmap.stage.filter and roadmap.stage.limit, each with its variable,
set what the stage job takes. A filter entry that is not family=value
over a label family is refused when the settings load, naming the entry.
devops roadmap stage reads both settings when --filter and --limit are
not given.

Plans #2659
The model lane gets the row stage after refine. It is due by its hour,
on a first run, and in a round where refine set an item Ready. The row
stages the items the roadmap.stage settings name, and counts each item
once in devops_cli_roadmap_stage_total by its result.

Plans #2659
CONTEXT.md, k8s/README.md and the ConfigMap template name the stage row,
the roadmap.stage settings and the metric.

Plans #2659
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results: the full devops ci ran once after the rebase. All checks passed except 2 tests of the alternatives row, which counted the new stage row. I fixed those 2 tests and tests/test_roadmap_run.py passes (60 tests).

History: the review found that a refine round that set an item Ready and failed another did not make stage due. RoadmapRefineError now carries readied_count, and the round loop turns it into the outcome of the failed row. The spec scenario and the tests cover this.

@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 18:48
@dan-petty
dan-petty merged commit a8d5f0e into main Oct 29, 2026
17 checks passed
@dan-petty
dan-petty deleted the feat/2659-stage-service-row branch October 29, 2026 19:18
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.19.0](v0.18.0...v0.19.0)
(2026-10-29)


### Features

* **roadmap:** add the implement job to roadmap implement
([#2692](#2692))
([9c7a5f5](9c7a5f5)),
closes [#2665](#2665)
* **roadmap:** run the alternatives check as a Service row
([#2688](#2688))
([c462318](c462318)),
closes [#2652](#2652)
* **roadmap:** run the stage job as a Service row
([#2691](#2691))
([a8d5f0e](a8d5f0e)),
closes [#2659](#2659)


### Bug Fixes

* **ci:** re-pin every CI runner to ubuntu-26.04
([#2693](#2693))
([31fe55c](31fe55c)),
closes [#1501](#1501)

---
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): the Service runs the stage job on the model lane for the items its label filter names, with OpenSpec in the Service image

1 participant