Skip to content

feat(roadmap): push each passed group and withdraw it on a return - #4188

Merged
dan-petty merged 4 commits into
mainfrom
feat/3677-checkpoint-each-passed-group
Nov 8, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/3677-checkpoint-each-passed-group

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The implement job recorded a passed group but did not push it. A group of one task had no copy on origin until the final push, so a killed runner lost every passed group and the continuation Job ran them again. Now the job pushes a checkpoint before each group after a group passed in the same run. One failed checkpoint stops later checkpoints. The job records implement.base at its start. A return to New restores the base: a Staged item pushes the base with a lease, a Planned item deletes the branch and closes the pull request. A failed withdraw leaves the item Blocked, not returned. This adds a job record key, not a setting.

Closes #3677

Change: openspec/changes/archive/2026-11-08-3677-checkpoint-each-passed-group/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 8, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test record for #3677.

fail-to-pass (uv run devops ci fail-to-pass --base origin/main, tests only on the base): 31 tests failed on the base and 117 passed, with 0 errors, in 4 files (tests/roadmap/implement/test_roadmap_implement_checkpoint.py, test_roadmap_implement_job.py, test_roadmap_implement_job_scoped.py, tests/core/test_roadmap_implement_planned_run.py). The anchor test is test_a_runner_killed_after_two_of_four_groups_leaves_both_groups_on_origin. The issue count of 11 was from an old commit: 8 existing tests needed amendment (push counts and push order), and the new file adds 25 cases.

Full CI (flock .data/agent/ci.lock uv run devops ci, on the final code): exit 0, all 25 rows pass. The test row took 14m13s, over the 5-minute budget. The slowest tests are not from this change (known #3593).

Not verified: the withdraw lease was tested on a local bare repository, not on a real GitHub remote. The runner token scope for deleting a branch was not tested against the GitHub ruleset.

Order in _groups (for #4070 and #4071): _require_unclaimed, _check_premise, _checkpoint, run_step. _start writes implement.base once. The change adds a job record key, not a setting.

@dan-petty
dan-petty force-pushed the feat/3677-checkpoint-each-passed-group branch from 7a18132 to 8ff627d Compare November 8, 2026 22:35
@dan-petty
dan-petty marked this pull request as ready for review November 8, 2026 22:59
@dan-petty
dan-petty merged commit a7c6cb7 into main Nov 8, 2026
26 checks passed
@dan-petty
dan-petty deleted the feat/3677-checkpoint-each-passed-group branch November 8, 2026 22:59
dan-petty pushed a commit that referenced this pull request Nov 8, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.96.0](v0.95.0...v0.96.0)
(2026-11-08)


### Features

* **roadmap:** evaluate a research toolset with web search
([#4190](#4190))
([9fcf057](9fcf057))
* **roadmap:** let a job call the tools of the MCP server
([#4191](#4191))
([8e33f63](8e33f63))
* **roadmap:** push each passed group and withdraw it on a return
([#4188](#4188))
([a7c6cb7](a7c6cb7))


### Bug Fixes

* **ci:** the pytest step of devops ci exceeds the 5-minute budget
([#4189](#4189))
([1b8cf80](1b8cf80))

---
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/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): checkpoint each passed group on origin

1 participant