-
Notifications
You must be signed in to change notification settings - Fork 307
Exact-review queue Durable Object overloads on records/export; batch publications fail in bursts #1372
Copy link
Copy link
Open
Labels
P1Urgent regression or broken agent/channel workflow affecting real users now.Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.Thin issue quality; more reproduction proof or environment detail is needed.
Description
Activity
Metadata
Metadata
Assignees
Labels
P1Urgent regression or broken agent/channel workflow affecting real users now.Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.Thin issue quality; more reproduction proof or environment detail is needed.
Type
Fields
Priority
None yet
Summary
The
ExactReviewQueueDurable Object inclawsweeper-statusintermittently becomes unavailable for a minute or more under load. Every in-flightexact-review-batch-publish.ymlrun then fails at once, because heartbeats and post-effect requests exhaust their bounded retries (3 attempts / 45 s, added in #1368) against HTTP 500exact_review_queue_unavailable.Evidence (2026-09-03 UTC)
Batch queue ... failed (HTTP 500): exact_review_queue_unavailableafter two retries each. Same shape earlier: four runs failed together at 02:37–02:38 with clientTimeoutError(20 s), and 17 of 73 claimed batches failed between 22:00 and 01:29 in the same two classes.wrangler tail clawsweeper-status(110 s and 166 s windows around 02:13 and 02:42): exceptionsInternal error in Durable Object storage caused object to be reset(4×) andDurable Object is overloaded. Requests queued for too long.(1×); oneexact_review_queue_request_failedwithfailure_category: platform_retryable./internal/state/records/exportaccounted for about 24 s; next werelifecycle/router-receipt(~2.9 s),publication-batches/complete(~2.8 s),github-etag-cache/store(~2.1 s). Alarms took 3–19 s wall time each (waiting on GitHub reads).records/exportis called by every batch run's state hydration (scripts/worker-records.ts,.github/actions/setup-state), so more successful concurrent batches after fix(queue): queued publications starve behind stale batch probes and superseded rows #1367 increase the load.Suggested directions
records/exportoff the Durable Object hot path: serve hydration from the R2 snapshot (STATE_SNAPSHOTS) or a cached export keyed by the records revision, and only fall back to the object for deltas.Tail method and token location are documented in the maintainer notes; no secrets were captured in the logs above.