Repository navigation
fix(roadmap): a new-branch run takes no closed draft - #6693
Merged
Merged
Conversation
- prepare always writes implement.pr: the pull request of the target, or none for a new branch. - _open_draft finds the open draft of the branch before it opens one, so a publish that died before the mark opens no second draft and deletes no branch. - A withdraw that ran clears implement.base at once, so a publish that runs again returns the item to New. - A title of the issue with a closing keyword stops the item before the push. - The dry-run plan lists the delete of a refused draft, the new repository and fetch of each withdraw, and the fetch of the lease. - SECURITY.md, three docstrings, a setting description and two spec texts describe the phases.
- _open_draft updates an open draft of the branch only when the App's bot opened it; an open pull request of another account stops the item, with no write to it and no delete of the branch. - The withdraw clears implement.base right after its push, before the close of the draft, and only when it pushed. - The stop for an issue title with a closing keyword has its own reason. - closing_keyword_in counts only an issue reference: #12, owner/repo#12 or an issues URL.
dan-petty
marked this pull request as ready for review
November 21, 2026 22:03
dan-petty
pushed a commit
that referenced
this pull request
Nov 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.190.0](v0.189.0...v0.190.0) (2026-11-21) ### Features * **k8s:** run a three-node SeaweedFS object store ([#6689](#6689)) ([3f81cdb](3f81cdb)) * **roadmap:** the Service reads each runner container by name ([#6695](#6695)) ([84c0627](84c0627)), closes [#6690](#6690) ### Bug Fixes * **roadmap:** a new-branch run takes no closed draft ([#6693](#6693)) ([9ae7d7b](9ae7d7b)) * **roadmap:** the base replay of a step runs the checkout Python ([#6692](#6692)) ([db5de9b](db5de9b)) ### Code Refactoring * **roadmap:** fix-checks rebases onto main in its agent phase ([#6694](#6694)) ([a2092bd](a2092bd)), closes [#6639](#6639) --- 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>
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.
A
publishof the implement phases that runs again now writes to the right draft and the right record (review of #6670).preparealways writesimplement.pr, so a new branch takes no closed draft of an earlier Job._open_draftupdates an open draft of the App on the branch, so apublishthat died before the mark opens no second draft; a pull request of another account stops the item.implement.baseat once, so apublishthat runs again returns the item to New.closing_keyword_incounts only an issue reference.Closes #6687
Change:
openspec/changes/archive/2026-11-21-6687-new-branch-run-reuses-closed-draft/