Skip to content

upload: Allow clearing draft status with draft_on_create_only - #305

Merged
jerry-skydio merged 1 commit into
mainfrom
jerry/revup/main/fixit
Sep 28, 2026
Merged

jerry-skydio merged 1 commit into
mainfrom
jerry/revup/main/fixit

Conversation

@jerry-skydio

Copy link
Copy Markdown
Collaborator

Two fixes for draft_on_create_only:

  • revup status printed "(draft)" for a pr the user had already marked
    ready, since the flag was only handled in populate_update_info which
    doesn't run for status. It's now handled in query() instead.
  • A pr revup drafted for being deep in a stack stayed a draft forever,
    even after it left that depth. Revup may now mark a draft pr ready,
    it just never turns a ready pr back into a draft.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com

Two fixes for draft_on_create_only:

- `revup status` printed "(draft)" for a pr the user had already marked
  ready, since the flag was only handled in populate_update_info which
  doesn't run for status. It's now handled in query() instead.
- A pr revup drafted for being deep in a stack stayed a draft forever,
  even after it left that depth. Revup may now mark a draft pr ready,
  it just never turns a ready pr back into a draft.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@jerry-skydio

Copy link
Copy Markdown
Collaborator Author

Reviews in this chain:
└#305 upload: Allow clearing draft status with draft_on_create_only

@jerry-skydio

Copy link
Copy Markdown
Collaborator Author
# head base diff date summary
0 67c5a849 137d0090 diff Sep 28 13:29 PM 4 files changed, 51 insertions(+), 13 deletions(-)

@jerry-skydio
jerry-skydio merged commit 4f63d97 into main Sep 28, 2026
6 checks passed
@jerry-skydio
jerry-skydio deleted the jerry/revup/main/fixit branch September 28, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants