Skip to content

Commit 960488d

Browse files
committed
Clarify staggered quota recovery
1 parent 473151f commit 960488d

2 files changed

Lines changed: 12 additions & 9 deletions

File tree

‎docs/limits.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,11 @@ review authority reads and publication batching. The
249249
repository Actions pool is identified only as `actions:openclaw/clawsweeper`;
250250
target App pools are identified by the non-secret target owner. A primary or
251251
secondary rate-limit observation persists its reset deadline in the queue
252-
dispatcher, suppresses new batch dispatch for only the affected pool, and adds
253-
that deadline to the next alarm wake-up. A later observation may extend but
254-
cannot shorten an open circuit. When `gh` omits response headers, the publisher
252+
dispatcher and suppresses new batch dispatch for only the affected pool. Each
253+
matching member resumes at its reset-plus-deterministic-jitter boundary, and
254+
the next alarm uses the earliest pending member recovery boundary. A later
255+
observation may extend but cannot shorten an open circuit. When `gh` omits
256+
response headers, the publisher
255257
performs at most one same-credential `/rate_limit` lookup; the one-minute
256258
fallback is used only when no authoritative reset is available.
257259

@@ -270,8 +272,8 @@ include them, so quota pressure before normal queue admission remains visible.
270272
The first quota failure in a preparation batch stops later members before
271273
artifact download. The observing member records a normal retryable failure;
272274
members that never made a GitHub request are requeued after the shared reset
273-
with deterministic 0-30 second recovery jitter and do not consume their
274-
individual publication retry or dead-letter budgets. A classifier-approved
275+
with deterministic 1-30 second per-member recovery jitter and do not consume
276+
their individual publication retry or dead-letter budgets. A classifier-approved
275277
public `openclaw/openclaw` read may make one bounded fallback from the exhausted
276278
Actions token to the already-authorized target App token. That success does not
277279
close the Actions circuit, and mutations, private reads, and unsupported routes

‎docs/scheduler.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,11 @@ Batch admission is additionally gated by persisted GitHub credential circuits.
123123
Every batch needs the `actions:openclaw/clawsweeper` pool for producer artifact
124124
download, while target App circuits are owner-scoped so one exhausted
125125
installation does not stop healthy owners. A blocked pool prevents workflow
126-
dispatch, state hydration, and artifact download until its reported reset; the
127-
alarm wakes at the earliest circuit deadline. The current batch collapses after
128-
the first pool failure, and unattempted members return without advancing their
129-
retry budget. Reset recovery is spread by deterministic item jitter.
126+
dispatch, state hydration, and artifact download for each matching member until
127+
its reset-plus-deterministic-jitter recovery boundary; the alarm wakes at the
128+
earliest pending member boundary. The current batch collapses after the first
129+
pool failure, and unattempted members return without advancing their retry
130+
budget. Recovery is staggered rather than released as one cohort.
130131
An owner-scoped target App circuit also defers new exact-review admission for
131132
that owner, because review and publication share the installation quota; other
132133
owners remain admissible.

0 commit comments

Comments
 (0)