Repository navigation
Document zero-second waits and queue cancellation #1571
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 |
|---|---|---|
|
|
@@ -23,9 +23,10 @@ own delivery state; `.loopzero/` holds task text and local receipts. | |
| 5. `loopzero ready --wait` marks ready PRs ready for review. It also activates | ||
| drafts blocked only by missing/skipped checks to trigger CI, even with | ||
| mergeability pending. Without waiting, activation exits 3. | ||
| Both waiters observe the unchanged head while all blockers can settle, | ||
| with `--wait[=SECONDS]` (default 1800). Pending mergeability can block with | ||
| green checks and gets its own timeout message (exit 3). | ||
| Both waiters use `--wait[=SECONDS]` (default 1800) on the unchanged head. | ||
| Zero seconds can still activate or enqueue a PR. Pending mergeability can | ||
| time out (exit 3) with green checks. `loopzero merge --cancel` requests | ||
|
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: Say that
|
||
| Mergify removal without `--wait`. | ||
| Green can precede CI scheduling. After two minutes with only missing checks | ||
| and none pending, inspect scheduling, triggers and permissions, then retry. | ||
| 6. After step 5 exits 0, run from a durable directory such as `/tmp` | ||
|
|
||
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: Rewording removes the note that waiters cover every blocker that can still settle
The old text said the waiters keep watching the unchanged head "while all blockers can settle". The new text only says they watch the unchanged head.
_draft_checks_waitingand_wait_for_checkswait on mergeability and on required checks that are still pending or missing, so the old wording described the scope more precisely. Consider keeping a short clause such as "while blockers can still settle". This change is optional.