Repository navigation
feat(roadmap): one function decides when any draft pull request is ready - #3337
Merged
Merged
Conversation
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
marked this pull request as ready for review
November 3, 2026 05:34
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>
Closed
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 callsmark_readyafter its watch, which reads the check runs too.devops pr readystops 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 anddevops pr readyask it.devops pr check-readinessadds its refusal as a blocker that names the unticked group. The model evaluator of #2867 plugs in through theextra_checksargument.Closes #2916
Change:
openspec/changes/archive/2026-11-03-2916-one-function-decides-when-any-draft/