Skip to content

feat(roadmap): add the implement job to roadmap implement - #2692

Merged
dan-petty merged 12 commits into
mainfrom
feat/2665-implement-job
Oct 29, 2026
Merged

dan-petty merged 12 commits into
mainfrom
feat/2665-implement-job

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Add the implement job to devops roadmap implement.

Without --group, the command takes each Staged item that a label filter names. For each item it rebases the staged branch and runs one step for each task group with an unticked task. Then it regenerates the documentation, archives the change, pushes with a lease, sets the pull request body, and watches the checks. A failed check gets one fix step. When the checks pass, the job marks the pull request ready. The job never merges.

A step, a rebase conflict, a failed command or a second failed check stops the item. The job pushes the commits that passed, comments the step and the reason, and sets the Status to Ready. The job runs the item again only after the comment implement: retry.

The job adds one setting that the issue does not name: roadmap.implement.in_runner. --confirm runs steps only when it is true. The shell of the agent checks the first word of a command and is no security boundary, so only the pod of a runner Job (#2667) sets it.

Closes #2665

@dan-petty

Copy link
Copy Markdown
Owner Author

Test results: the full devops ci passed locally on the rebased branch.

Review fixes in this pull request:

  • A rebase conflict before a push now pushes the commits that passed, as the spec says. Two new tests cover the conflict after the last group and the conflict after the fix step.
  • The dry run now names the real endpoint for the pull request comment (issues/<pull>/comments) and the real lease argument. A new test covers both.

Not changed: the dry-run entry for the watch still shows gh pr checks. monitor_pr reads checks with gh pr checks --json first and falls back to the REST check-runs API (github/check_verdict.py). The entry text does not claim an exact command.

The setting roadmap.implement.in_runner is not in the issue. The body of the pull request states why it exists.

@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 19:07
# Conflicts:
#	docs/CONFIGURATION.md
#	docs/ENV_VARS.md
#	src/devops_cli/config/defaults.py
#	src/devops_cli/roadmap/stage.py
#	tests/test_config_declarations.py
@dan-petty
dan-petty merged commit 9c7a5f5 into main Oct 29, 2026
18 checks passed
@dan-petty
dan-petty deleted the feat/2665-implement-job branch October 29, 2026 19:36
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): devops roadmap implement runs every group of a staged change, archives it, fixes a failed check once and marks the pull request ready

1 participant