You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Say What a Refused Lease Push Means in the Dirty-Branch Rebase Chain #4345
upstream-contribution-workflow says nothing about what to do when the dirty-branch rebase chain's lease push is refused.
The Gap
The chain under "Where the upstream's own CI rejects merge commits, rebase the dirty branch instead" ends in git push --force-with-lease="work/x:$old" origin work/x. The PowerShell form throws lease push refused. Neither form, and no sentence of prose, says what comes next.
The only guidance that could apply is step 5: "If force-with-lease is ever refused or unavailable, open a fresh PR from a newly ..." That sentence sits in the paragraph about the clean squash branch. Read on its own, it covers every force-with-lease push, the dirty branch's included. Read in context, it covers the clean branch only. Opening a fresh PR is the wrong answer for the dirty branch, because that branch is the append-only iteration log the workflow exists to keep.
What Done Looks Like
The dirty-branch rebase guidance states what a refused lease push means and what to do next. A refused lease push means the fork's branch moved since the backup was read. The guidance probably says to re-fetch, compare against the backup, and stop to ask the maintainer.
Step 5's refused-lease sentence names which branch it covers.
Found during the round-3 promotion review of #4342 (fix PR #4344). The text predates that PR.
Activity
ptr727 commentedon Nov 23, 2026
Backlog burndown claim (round 5, 2026-11-23): branch
burndown/lease-refusal-and-audit-checkout.Predicted files: .agents/skills/upstream-contribution-workflow/SKILL.md, .agents/skills/audit-a-repo/SKILL.md.
Group issues: #4345.
Say What a Refused Lease Push Means on the Dirty Branch (#4384)