Skip to content

fix(roadmap): the draft of a stopped step closes its issue - #3831

Merged
dan-petty merged 5 commits into
mainfrom
fix/3273-grounded-stopped-draft-pr
Nov 6, 2026
Merged

dan-petty merged 5 commits into
mainfrom
fix/3273-grounded-stopped-draft-pr

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The first draft pull request of an implement step now links to its issue with a closing keyword. Before this, the first body held only "Work on #N". A step that stopped before the final body left a draft with no link to its issue, because the job writes the final body after the archive and a stop skips that write.

The text after the keyword says that the job replaces the body when it finishes. A stopped draft stays blocked by check-readiness until its change folder is archived.

Closes #3273
Change: openspec/changes/archive/2026-11-06-3273-grounded-stopped-draft-pr/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results and notes for #3273.

Fail-to-pass: uv run devops ci fail-to-pass --base origin/main gave "1 failed on base (1 failed and 80 passed in tests/roadmap/test_roadmap_implement_job.py; 0 errored)". The failing test is test_a_stop_after_the_first_group_of_a_planned_item_leaves_a_draft_that_closes_its_issue.

Local checks after the rebase: the stop tests in tests/roadmap/test_roadmap_implement_job.py pass (28 passed). devops openspec check passes. The static pre-push checks pass.

The full devops ci did not run locally because the host was loaded. CI runs it.

Open doubts:

  • The earlier spec said on purpose that the first body holds no closing keyword. No stated reason was found in the specs, the archived designs or the code. The design records the reason for the change. A reviewer who knows another reason should check this.
  • A person who merges a stopped draft closes the issue with partial work. The Blocked Status and the archives_its_change readiness blocker are the guards.
  • The design in the issue refine text (test the body with closing_keyword_in and add a trailer) was rejected. The message is a constant that this repository owns, so a runtime guard would be dead code.

@dan-petty
dan-petty force-pushed the fix/3273-grounded-stopped-draft-pr branch from 2420451 to 07714e4 Compare November 6, 2026 19:00
@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 19:08
@dan-petty
dan-petty merged commit 5ca91e0 into main Nov 6, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/3273-grounded-stopped-draft-pr branch November 6, 2026 19:09
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.72.0](v0.71.1...v0.72.0)
(2026-11-06)


### Features

* **roadmap:** rewrite a merged plan with plan-recheck
([#3832](#3832))
([7ea287b](7ea287b))


### Bug Fixes

* **roadmap:** refine job failure is no person wait
([#3833](#3833))
([378579a](378579a)),
closes [#3632](#3632)
* **roadmap:** the draft of a stopped step closes its issue
([#3831](#3831))
([5ca91e0](5ca91e0))


### Code Refactoring

* **mcp:** MCP tool tests install a dispatcher
([#3834](#3834))
([e50d0dc](e50d0dc)),
closes [#3760](#3760)

---
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/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(roadmap): stopped step creates ungrounded draft PR

1 participant