Skip to content

feat(roadmap): one function decides when any draft pull request is ready - #3337

Merged
dan-petty merged 4 commits into
mainfrom
feat/2916-one-function-decides-when-any-draft
Nov 3, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/2916-one-function-decides-when-any-draft

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Three rules mark a draft pull request ready for review (#2916). The stage row asks ready_to_mark, which reads the check runs. The implement job calls mark_ready after its watch, which reads the check runs too. devops pr ready stops on the failed and running checks of the merge-readiness verdict. No rule reads the task groups of the change, so a partial implement pull request (#2801) passes all three. A person must then find it in review. This change adds one function, draft_readiness, for four kinds of pull request: stage plan, implement, agent and person. The stage row, the implement job and devops pr ready ask it. devops pr check-readiness adds its refusal as a blocker that names the unticked group. The model evaluator of #2867 plugs in through the extra_checks argument.

Closes #2916

Change: openspec/changes/archive/2026-11-03-2916-one-function-decides-when-any-draft/

Three rules mark a draft pull request ready for review (#2916). The stage row asks `ready_to_mark`, which reads the check runs. The implement job calls `mark_ready` after its watch, which reads the check runs too. `devops pr ready` stops on the failed and running checks of the merge-readiness verdict. No rule reads the task groups of the change, so a partial implement pull request (#2801) passes all three. A person must then find it in review. This change adds one function, `draft_readiness`, for four kinds of pull request: stage plan, implement, agent and person. The stage row, the implement job and `devops pr ready` ask it. `devops pr check-readiness` adds its refusal as a blocker that names the unticked group. The model evaluator of #2867 plugs in through the `extra_checks` argument.

Closes #2916

Change: `openspec/changes/archive/2026-11-03-2916-one-function-decides-when-any-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 3, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 3, 2026 05:34
@dan-petty
dan-petty merged commit db318bf into main Nov 3, 2026
20 checks passed
@dan-petty
dan-petty deleted the feat/2916-one-function-decides-when-any-draft branch November 3, 2026 11:43
dan-petty pushed a commit that referenced this pull request Nov 3, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.49.0](v0.48.5...v0.49.0)
(2026-11-03)


### Features

* **roadmap:** one function decides when any draft pull request is ready
([#3337](#3337))
([db318bf](db318bf))
* **roadmap:** the stage and implement jobs label their pull request
([#3338](#3338))
([4c2a39e](4c2a39e))


### Bug Fixes

* **roadmap:** the implement watch reads check runs only
([#3342](#3342))
([96e102d](96e102d))

---
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): one function decides when any draft pull request is ready

1 participant