Skip to content

feat(roadmap): end the implement Job at the draft pull request - #6562

Merged
dan-petty merged 7 commits into
mainfrom
feat/6559-implement-ends-at-draft
Nov 21, 2026
Merged

dan-petty merged 7 commits into
mainfrom
feat/6559-implement-ends-at-draft

Conversation

@dan-petty

@dan-petty dan-petty commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

The implement Job now ends at the draft: it checks the draft with draft_readiness and no check runs, records drafted, sets In Review and stops. It watches no check and marks nothing ready. A step makes no wip: commit and resets to its start when it stops.

The watch row takes the draft. A failed check has a repair owner only in mode on, for the class test, lint or types, while its fix-checks unit has not ended with no repair. In each other case, and for a cancelled check or a conflict, the row stops the item. In mode on it marks a green draft ready.

eval grades scores the drafted lines of each pull request once, by its forge state: merged or ready is a success, closed is a failure, a draft is pending.

This deletes implement_wip.py, the in-Job watch and repair loop, the wip records and monitor_timeout_seconds.

Part A of #3702.

Closes #6559
Change: openspec/changes/archive/2026-11-20-6559-implement-ends-at-draft/

@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 20, 2026
@dan-petty

dan-petty commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner Author

Check classes that lose the repair of the Job. Before this change, the Job ran a fix step for a failed check of any class when its log named a path of the plan (_repair_after_push), and stopped the item for a cancelled check or a conflict. The watch row starts a fix-checks Job only when the name of the failed check gives test, lint or types (fix_checks_check of steps/watch.py; _CHECK_NAMES of failure.py gives no name plan_defect), and only in mode on of roadmap.fix_checks.mode. These checks of this repository give ci_infra and lose the repair: Fail-to-Pass Check, Plan Check, Semantic PR title, Design Tokens, Docs Site Build, Trivy, zizmor, CodeQL, Analyze and the image checks. For such a check, a cancelled check and a conflict, the watch row now stops the item (the due step stop), as the Job did.

Live ConfigMap. The change removes roadmap.implement.monitor_timeout_seconds, which k8s/devops/configmap.example.yaml named. The live ConfigMap needs no change first: RoadmapImplementConfig has extra="ignore", so a key that it does not know loads with no error. The example ConfigMap drops the key.

Grade. The implement line drafted records the hand-off. devops roadmap eval grades scores each drafted attempt by the forge state of its delivery: merged or ready is a success, closed with no merge a failure, and a draft stays out of the attempts (drafts_pending). The search reads updated:>=, and the verdicts count only the pull requests opened in the window.

Local tests. The 3 failures of tests/core/test_git_contract.py (review_window) and tests/roadmap/project_review/test_review_facts.py also fail on a clean origin/main in this devcontainer (#6380).

@devops-cli-service

Copy link
Copy Markdown
Contributor

Pull request #6562 has merge conflicts with main at commit e78252815a69. GitHub cannot merge it. Rebase the branch onto the current main, resolve the conflicts and push the branch.

A failed or cancelled check, or a conflict, of a delivery draft has a
repair owner only in mode on, for a class in FIX_CHECK_CLASSES, while
the fix-checks unit of the head and the check has not ended with no
repair. The watch row stops the item in each other case, also for a
Staged item that delivers on its plan pull request, and leaves a
claimed item. The stop writes implement.result stopped, so the ready
path leaves the draft. The row judges the latest run of each check.

The implement line names its draft (pull), and eval grades scores the
drafted lines of each pull request once. explain shows a delivery that
the row marked ready as ready-for-review.
phase.py read FixChecksResult from the fix-checks step, so the help of
devops gh imported pydantic_ai and fastmcp. The enum moves to the store
module, beside ImplementResult.
…kes the delivery guards

The watch row gives no fix-checks unit to the implement.pr of an item
that holds a stop: a person owns it until implement: retry, as the
ready path already reads. The plan ready path of a Staged item that
delivers on its plan pull request takes the guards of the delivery
ready path: no stop, mode on, no owner label. explain reads the pull
request of a drafted delivery for its phase, and with no pull data a
drafted delivery is in review. The eval grades help states the n-line
rule.
…te of a delivery

The item age round reads the draft state of each drafted delivery from
one listing of the open pull requests, and gives it to the phase, the
phase age and the stall check, so a delivery out of draft counts as
ready-for-review. The explain dry run lists the read of the pull
request of a drafted delivery.
@dan-petty
dan-petty force-pushed the feat/6559-implement-ends-at-draft branch from 021201b to 399500f Compare November 21, 2026 01:00
@dan-petty
dan-petty marked this pull request as ready for review November 21, 2026 01:35
@dan-petty
dan-petty merged commit b80da38 into main Nov 21, 2026
26 of 27 checks passed
@dan-petty
dan-petty deleted the feat/6559-implement-ends-at-draft branch November 21, 2026 01:39
dan-petty pushed a commit that referenced this pull request Nov 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.186.0](v0.185.3...v0.186.0)
(2026-11-21)


### Features

* **k8s:** run the stage job in the runner image
([#6572](#6572))
([2b1998e](2b1998e)),
closes [#6417](#6417)
* **roadmap:** end the implement Job at the draft pull request
([#6562](#6562))
([b80da38](b80da38))

---
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): end the implement Job at the draft pull request

1 participant