Skip to content

fix(pr): judge a plan pull request by the rules of a plan - #3310

Merged
dan-petty merged 2 commits into
mainfrom
fix/3280-plan-readiness
Nov 3, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3280-plan-readiness

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A plan pull request closes no issue and archives no change, so readiness asked it for blockers that cannot hold. Readiness now reads the title docs(openspec): plan #<issue>, applies four rules of a plan (one Plans #<issue> line, no closing keyword, an added file in the active change folder, no change under openspec/specs/) and reads no closing issue for it. Fail-to-pass: devops ci fail-to-pass --base origin/main reports 2 failed tests in test_merge_readiness.py and an import error in test_grounding.py on the base.

Closes #3280

Change: openspec/changes/archive/2026-11-03-3280-check-readiness-treats-a-plan-pull/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/pr The devops pr commands labels Nov 3, 2026
A plan pull request closes no issue and archives no change, so readiness asked it for blockers that cannot hold. Readiness now reads the title, applies the four rules of a plan and reads no closing issue for it.
@dan-petty
dan-petty force-pushed the fix/3280-plan-readiness branch from 3025c7e to ccd8c36 Compare November 3, 2026 01:18
@dan-petty
dan-petty marked this pull request as ready for review November 3, 2026 01:26
@dan-petty
dan-petty merged commit fc16309 into main Nov 3, 2026
20 checks passed
@dan-petty
dan-petty deleted the fix/3280-plan-readiness branch November 3, 2026 01:29
dan-petty added a commit that referenced this pull request Nov 3, 2026
`devops pr create` asked every body for a `Closes` line, so no
sanctioned command could open a plan pull request. A title that
`plan_issue` reads (#3310) now has its body judged by the form of a
plan: one `Plans #<issue>` line, no closing reference, and the `Change:`
line of the same issue. A delivery title keeps the `Closes` rule.
Fail-to-pass: `devops ci fail-to-pass --base origin/main` reports 5
failed tests in `test_pr_form_check.py` on the base.

Closes #3314

Change:
`openspec/changes/archive/2026-11-03-3314-pr-create-refuses-the-body-of-a/`
dan-petty pushed a commit that referenced this pull request Nov 3, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.48.5](v0.48.4...v0.48.5)
(2026-11-03)


### Bug Fixes

* **pr:** judge a plan pull request by the rules of a plan
([#3310](#3310))
([fc16309](fc16309))
* **pr:** open a plan pull request with a Plans line
([#3315](#3315))
([eb2ab82](eb2ab82))
* **roadmap:** name a refused verification command safely
([#3293](#3293))
([252adc8](252adc8))

---
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/pr The devops pr commands type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(pr): check-readiness treats a plan pull request as ungrounded

1 participant