Skip to content

Exact-review queue Durable Object overloads on records/export; batch publications fail in bursts #1372

Description

@steipete

Summary

The ExactReviewQueue Durable Object in clawsweeper-status intermittently becomes unavailable for a minute or more under load. Every in-flight exact-review-batch-publish.yml run then fails at once, because heartbeats and post-effect requests exhaust their bounded retries (3 attempts / 45 s, added in #1368) against HTTP 500 exact_review_queue_unavailable.

Evidence (2026-09-03 UTC)

Suggested directions

  1. Take records/export off 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.
  2. Make batch heartbeats tolerate an outage longer than 45 s: allow N consecutive heartbeat failures within the lease window (lease is 30 min) instead of failing the batch on the first exhausted retry; keep the fenced lease semantics.
  3. Consider the queue-service split runbook (docs/queue-service-split-runbook.md) or splitting the records store into its own object so publication/lease traffic is isolated from export CPU.

Tail method and token location are documented in the maintainer notes; no secrets were captured in the logs above.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper 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.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions