Repository navigation
Resume delivery from the current PR stage #1569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,10 +43,11 @@ own delivery state; `.loopzero/` holds task text and local receipts. | |
|
|
||
| Merge is authorized by default under [merge authority](#merge-authority). | ||
|
|
||
| On every start/resume, run `loopzero status`, then rerun the last `--wait` | ||
| command if any; both are idempotent. Status derives the branch's stage from | ||
| Git, GitHub and the check receipt. Never end a turn waiting for notice of an | ||
| event that may already have happened; notifications never replace the waiter. | ||
| On start/resume, use `loopzero status` in an existing worktree to read Git, GitHub | ||
| and the receipt. Rerun the last `--wait` if pending. After ejection, read the | ||
| reason and follow [Mergify recovery](../SETUP.md#mergify). If cleanup removed the | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: The Mergify recovery link points to the wrong section The link |
||
| worktree, verify the merge in GitHub. Never yield waiting for a notice that | ||
| may already have fired. Notifications never replace the waiter. | ||
| Before yielding, record head, last exit code, awaited event and next command | ||
| in one PR comment per owner. Post on first yield; update the existing comment ID | ||
| with the full replacement Markdown from `body_file` on later yields: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Ejection guidance only covers Mergify, not GitHub's native merge queue
The old text said to read the departure reason before requeueing, which applied to any queue. The new sentence sends every ejection to Mergify-specific recovery. SETUP.md:409-419 also supports
delivery.merge = "queue", which is GitHub's native merge queue. For that mode, the linked steps (posting@mergifyio queue) do nothing. Smallest fix: make the wording conditional, for example "After ejection, read the reason, repair it and requeue (for Mergify, see …)". Alternatively, link to a general section about recovering under a merge queue.