Draft PRs are unreachable: Draft is never set, so the draft merge-blocker and Draft phrase are dead #613
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub#613
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Evidence (live field test + static read)
What's requested (user's call)
Either (a) implement draft PRs (open-as-draft / mark-ready transitions, UI + API + docs), or (b) remove the dead draft handling (machine branch, tooltip, phrase mapping, and any server draft gate) so untestable states don't linger. Recommend (a) only if draft workflow is wanted for v1; otherwise (b) keeps the machine honest. Note the choice.
Acceptance criteria
Implemented (option a) by #616 (merged): open-as-draft + mark-ready/convert-to-draft (author-or-triage, draft_changed events + fan-out, merged-terminal 409); merge refuses drafts pre-publish; PullNew checkbox + role-gated toggle + Draft badge; SDK draft key; docs amended. Verified: pulls 96.1% cover, -race green, 1590 web unit green (smoke excluded, pre-existing), vite/esbuild green, independent review APPROVE. Note: TestGetPRHeadDrift flake reproduced on clean main too — filing separately as pre-existing.