Skip to content

fix(publish): retry transient queue failures during batch publication - #1368

Merged
steipete merged 3 commits into
mainfrom
fix/batch-publication-transient-retries
Sep 3, 2026
Merged

steipete merged 3 commits into
mainfrom
fix/batch-publication-transient-retries

Conversation

@steipete

@steipete steipete commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Batch publication could stop on a transient queue failure after its GitHub or canonical-record effects succeeded. Heartbeats and post-effect POSTs now retry bounded transient failures with unchanged signed bytes and the last confirmed lease expiry.

Lifecycle retries also need to distinguish a completed operation from a partially written legacy receipt. A lost response must not restore an old terminal state over a newer requeue, and reusing an operation ID for a different terminal kind must fail explicitly.

What Changed

  • Router receipts carry operationComplete: true only through the atomic handler path. Completed replays are durable no-ops. Legacy receipts without the marker repair missing terminal/driver effects; if a different terminal disposition is at least as recent as the receipt, the handler marks completion without overwriting that disposition or changing the queue.
  • Terminal operation history stores { operationId, kind }. Same-ID/same-kind replay is a no-op; a different kind returns HTTP 409 conflicting_lifecycle_terminal_operation, and the store rejects it too. Existing string IDs migrate on read to { operationId, kind: null }, deliberately retaining wildcard dedupe compatibility for that unreleased field.
  • Each projection retains the newest 32 terminal operations in FIFO order; duplicate IDs are not appended. IDs are per workflow run, attempt, and fence.
  • Receipt completion, terminal transitions, and acknowledgement-driver writes remain one SQLite transaction. Failure rolls back every durable effect.
  • Client retries remain limited to three attempts within 45 seconds, with 20-second attempt limits, jittered backoff, bounded Retry-After, and no heartbeat past its last confirmed lease. HTTP 4xx failures remain non-retryable.
  • Client failure messages retain the HTTP status and only a validated JSON server error code from at most 512 response bytes. Raw bodies, URLs, and payloads are not included.

OpenClaw Bay needs no frontend or public-schema change. It consumes the same terminal projection, preserving the authoritative requeue; completion markers and terminal operation history remain internal. Release-note context is maintained here; this fix round changes only the two lifecycle source files and their existing publication-lifecycle test file.

Validation and finding disposition

All three accepted second-round findings are addressed: recovery of legacy partial receipts, operation-kind conflict rejection, and bounded operation retention. Eight regression scenarios failed before their respective fixes across the baseline and timestamp-boundary runs. They cover legacy receipts with no terminal fact, legacy receipts with a terminal fact but no driver, legacy receipts followed by requeue (including equal timestamps), handler/store conflict rejection, 40-operation retention, and legacy string-ID migration. Existing plain replay, queue reconstruction, and driver-write rollback cases remain covered.

pr-behavior-proof

Claim: legacy partial receipt replay repairs missing lifecycle effects once while preserving newer terminal state; completed replay is a durable no-op. Terminal operation replay is bound to kind, with a bounded FIFO history and explicit legacy migration.

Surface and fixture: signed Worker lifecycle POST routes through the repository queue harness with real SQLite transactions and synthetic command revisions, plus direct lifecycle store calls. Reconstruct the queue, replay identical signed bytes, check HTTP status and durable projection/queue state, inject a driver-write failure, and persist a legacy string-ID row for migration.

Environment: local macOS, Node 26.8.1. Provider: local host; image and lease: not applicable. This is controlled regression evidence using storage and namespace adapters. It does not claim a production Worker deployment, real network transport, or a live workflow run.

Commands:

pnpm run format
pnpm run build:all
pnpm run lint
git diff --check
node --test test/dashboard-worker-publication-lifecycle.test.ts test/exact-review-lifecycle-bay.test.ts test/exact-review-publication-batches.test.ts test/dashboard-worker-queue-runtime.test.ts
pnpm run build:repair && node scripts/run-node-tests.mjs repair
pnpm run check

Local artifacts: .artifacts/batch-publication-retries/fix-round-2/, including the proof contract, pre-fix failures, post-fix replay results, full gate logs, and exact-head CI result. Validated source head: 29f171d3fbc35899fd7632bae811ac0f3d598059. Formatting, all builds, lint, and whitespace checks passed. The requested four-file selection passed 317/317. The repair gate passed 1,378 tests with seven skipped and zero failures/cancellations. pnpm run check passed: 4,621 total tests, 4,612 passed, nine skipped, zero failures/cancellations; its separate 13-test coverage gate passed too.

The fresh independent pre-commit review through P2 is scoped-clean. Its first pass identified two additional legacy timestamp boundaries: a later routed fact can still lack its driver, and a later requeue can share the receipt timestamp. Both were reproduced with failing regressions and corrected before the clean review. The stricter dashboard check also caught an optional-property typing issue, fixed before the final gate run.

Exact-head CI: https://github.com/openclaw/clawsweeper/actions/runs/33711394444 (tracked by this PR's checks). No merge, deployment, or manual live workflow dispatch was performed.

Recover from the two observed failure classes: heartbeat queue 500s that
immediately stopped batch admission, and post-effect queue 500s after
canonical materialization had already succeeded.

Retry heartbeat and post-effect network errors, timeouts, and HTTP 5xx up
to three attempts within 45 seconds, with 20-second attempt limits,
jittered exponential backoff, and bounded Retry-After. Preserve signed
bytes, never retry validation/auth/fence rejections, and clip heartbeat
attempts to the last confirmed lease expiry. Keep existing workflow gates
and ordering without redispatching GitHub actions for receipt retries.
@steipete
steipete requested a review from a team as a code owner September 3, 2026 02:16
@clawsweeper

clawsweeper Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@clawsweeper clawsweeper Bot added P1 Urgent regression or broken agent/channel workflow affecting real users now. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. merge-risk: 🚨 availability 🚨 Merging this PR could cause crashes, hangs, restart loops, stalls, or process outages. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 3, 2026
@clawsweeper

clawsweeper Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed September 2, 2026, 11:40 PM ET / September 3, 2026, 03:40 UTC.

ClawSweeper review

What this changes

This PR adds bounded retries for batch-publication heartbeats and lifecycle post-effects, plus durable replay handling for lifecycle receipts and terminal dispositions.

Regression provenance

Possible regression — probable (reviewed change; failure trace). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep open: a retried router receipt can still overwrite a newer requeue when its first request failed before persisting any receipt; required real behavior proof is also still mock-only.

Priority: P1
Reviewed head: 29f171d3fbc35899fd7632bae811ac0f3d598059

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The patch has focused regression coverage but retains a P1 retry-ordering flaw and lacks real after-fix behavior proof.
Proof confidence 🦪 silver shellfish (2/6) Needs real behavior proof before merge: The changed production owners are the batch queue client and Worker lifecycle routes, but the supplied current-head evidence is a synthetic SQLite/namespace harness and mocked client transport; it lacks the required Docker-backed Crabbox local-container trace of a transient retry and requeue-preserving replay. Redact private endpoints, identifiers, and secrets in any posted trace. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The changed production owners are the batch queue client and Worker lifecycle routes, but the supplied current-head evidence is a synthetic SQLite/namespace harness and mocked client transport; it lacks the required Docker-backed Crabbox local-container trace of a transient retry and requeue-preserving replay. Redact private endpoints, identifiers, and secrets in any posted trace. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 5 items Introduced retry trigger: The new post-effect client retries the router-receipt route for up to 45 seconds after transient failure, creating a later delivery of a request whose original delivery may not have persisted.
Requeue preservation gap: The new preservation branch applies only when a matching receipt already exists; without one, the handler records review_completed_routed, which may transition from requeue and recreate finalization work.
Regression coverage misses the failing ordering: The requeue test first successfully persists the router receipt, then applies requeue and replays it; it does not cover a failed-before-commit first delivery followed by requeue and retry.
Findings 1 actionable finding [P1] Preserve a newer requeue when the first receipt never commits
Security None None.

How this fits together

The batch publisher reports completed review work back to the exact-review queue after its GitHub and record effects finish. The queue persists lifecycle facts, schedules any required acknowledgement driver, and exposes terminal state to downstream status telemetry.

flowchart LR
  A[Batch publication workflow] --> B[Signed queue client]
  B --> C[Lifecycle receipt endpoint]
  C --> D[Durable lifecycle transaction]
  D --> E{Terminal state}
  E -->|completed| F[Acknowledgement driver]
  E -->|requeue| G[Fresh publication work]
  D --> H[Status telemetry]
Loading

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The changed production owners are the batch queue client and Worker lifecycle routes, but the supplied current-head evidence is a synthetic SQLite/namespace harness and mocked client transport; it lacks the required Docker-backed Crabbox local-container trace of a transient retry and requeue-preserving replay. Redact private endpoints, identifiers, and secrets in any posted trace. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Preserve a newer requeue when the first receipt never commits (P1) - The retry client can resend a router receipt after a transient failure, but this guard preserves a newer terminal fact only when the earlier request already left a receipt. If that request fails before the Durable Object persists it, a requeue can land first and the retry then transitions it back to review_completed_routed, recreating the driver. Add the failed-before-commit ordering regression and preserve the requeue in that case. This concern was visible at the prior reviewed head.
  • Resolve merge risk (P1) - Merging can let a delayed retry replace a newer requeue with a completed lifecycle state, recreating finalization work and suppressing the intended fresh publication path.
  • Complete next step (P2) - Preserve an existing requeue when a retry follows a failed-before-commit router receipt, add the ordering regression, and attach redacted current-head Crabbox local-container retry evidence before merge.

Findings

  • [P1] Preserve a newer requeue when the first receipt never commits — dashboard/exact-review-queue.ts:8249-8257
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Change footprint runtime/workflow +379/-117, docs +18, tests +740/-4 The PR substantially changes queue publication and lifecycle durability, so the missed retry ordering is merge-relevant.

Merge-risk options

Maintainer options:

  1. Fence the uncommitted receipt retry (recommended)
    Preserve an existing requeue before recording completed routing, including when the earlier router-receipt request never created a receipt, and add the ordering regression.
  2. Pause this retry expansion
    Leave the existing one-shot router receipt behavior in place until the retry ordering can preserve authoritative requeues.

Technical review

Best possible solution:

Retain bounded retries, but make any router-receipt delivery preserve an already-authoritative requeue even when no earlier receipt was committed, then prove the repaired retry path through the required container-backed production boundary.

Do we have a high-confidence way to reproduce the issue?

Yes—source inspection gives a high-confidence ordering reproduction: fail the first router-receipt before persistence, record requeue, then deliver the retry and observe it replace requeue.

Is this the best way to solve the issue?

No—the retry is useful, but the router-receipt guard must also cover a retry whose first delivery never committed before this is a safe solution.

Full review comments:

  • [P1] Preserve a newer requeue when the first receipt never commits — dashboard/exact-review-queue.ts:8249-8257
    The retry client can resend a router receipt after a transient failure, but this guard preserves a newer terminal fact only when the earlier request already left a receipt. If that request fails before the Durable Object persists it, a requeue can land first and the retry then transitions it back to review_completed_routed, recreating the driver. Add the failed-before-commit ordering regression and preserve the requeue in that case. This concern was visible at the prior reviewed head.
    Confidence: 0.93
    Late finding: first raised on code an earlier review cycle already covered.

Overall correctness: patch is incorrect
Overall confidence: 0.93

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 9c5763013261.

Labels

Label changes:

  • remove merge-risk: 🚨 availability: Current PR review merge-risk labels are merge-risk: 🚨 automation.

Label justifications:

  • P1: The introduced ordering can prevent intended queued publication recovery for real review work.
  • merge-risk: 🚨 automation: The changed retry and lifecycle paths directly govern publication workflow completion and requeue handling.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The changed production owners are the batch queue client and Worker lifecycle routes, but the supplied current-head evidence is a synthetic SQLite/namespace harness and mocked client transport; it lacks the required Docker-backed Crabbox local-container trace of a transient retry and requeue-preserving replay. Redact private endpoints, identifiers, and secrets in any posted trace. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

Acceptance criteria:

  • [P1] node --test test/dashboard-worker-publication-lifecycle.test.ts.
  • [P1] pnpm run build:all.
  • [P1] pnpm run check.

What I checked:

  • Introduced retry trigger: The new post-effect client retries the router-receipt route for up to 45 seconds after transient failure, creating a later delivery of a request whose original delivery may not have persisted. (src/repair/exact-review-batch-queue-client.ts:245, 29f171d3fbc3)
  • Requeue preservation gap: The new preservation branch applies only when a matching receipt already exists; without one, the handler records review_completed_routed, which may transition from requeue and recreate finalization work. (dashboard/exact-review-queue.ts:8249, 29f171d3fbc3)
  • Regression coverage misses the failing ordering: The requeue test first successfully persists the router receipt, then applies requeue and replays it; it does not cover a failed-before-commit first delivery followed by requeue and retry. (test/dashboard-worker-publication-lifecycle.test.ts:170, 29f171d3fbc3)
  • Current-main check: The PR commits remain only on the PR side of the merge base; current main has later independent commits and does not contain this change. (9c5763013261)
  • Proof scope: The supplied PR body explicitly limits after-fix evidence to a local synthetic SQLite/namespace harness and does not claim a Worker deployment, real network transport, or live workflow run. (29f171d3fbc3)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add the failed-before-commit router-receipt, requeue, then retry regression and preserve requeue without a recreated driver.
  • Attach a redacted current-head Crabbox local-container trace showing retry recovery and the authoritative requeue surviving replay.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (4 earlier review cycles)
  • reviewed 2026-09-03T02:19:56.978Z sha b09fe17 :: needs real behavior proof before merge. :: [P1] Persist progress-heartbeat lease renewals
  • reviewed 2026-09-03T02:31:51.668Z sha b09fe17 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-03T03:00:50.214Z sha ce24cc9 :: needs real behavior proof before merge. :: [P1] Replay derived recovery after a deduplicated receipt
  • reviewed 2026-09-03T03:32:12.562Z sha 29f171d :: needs real behavior proof before merge. :: none

@steipete

steipete commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Worker-side evidence for the transient class (production clawsweeper-status, tail window 2026-09-03 ~02:12-02:14 UTC, 110 s, sampled at 0.999):

  • ExactReviewQueue Durable Object handled ~3,050 fetches and 16 alarms in the window.
  • Exceptions: 4 × Error: Internal error in Durable Object storage caused object to be reset on fetch requests. One request-level log exact_review_queue_request_failed with failure_category: platform_retryable.
  • No application exception was logged in the window; the HTTP 500 exact_review_queue_unavailable responses that failed batch heartbeats and finalize post-effects map to this platform storage reset, which Cloudflare documents as retryable.
  • Alarm wall time in the window: p50 ≈ 1.7 s, max ≈ 19 s (six alarms were canceled, one raised the same storage error). Worth a separate look, but it predates the queue changes from fix(queue): queued publications starve behind stale batch probes and superseded rows #1367.

Pre-deploy baseline (2026-09-02 22:00Z to 2026-09-03 01:29Z): 17 of 73 claimed batch runs failed, all in the two classes this PR retries (heartbeat 500 during prepare/finalize; finalize curl: (22) on a 500 from a post-effect POST).

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Sep 3, 2026
- Make complete lifecycle operations idempotent with durable operation IDs,
  atomic terminal/driver effects, and replay regression coverage.
- Restore CHANGELOG.md from origin/main for release-owned changelog updates.
- Preserve validated server error codes from bounded queue response bodies.
- Remove the unused batch retry script and its documentation/PR references.
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 3, 2026
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 availability 🚨 Merging this PR could cause crashes, hangs, restart loops, stalls, or process outages. label Sep 3, 2026
@steipete
steipete merged commit f7c9afb into main Sep 3, 2026
21 checks passed
@steipete
steipete deleted the fix/batch-publication-transient-retries branch September 3, 2026 03:42
@steipete

steipete commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged #1368 as f7c9afb15584b1837893877fdb3eca64f321b8bd. Deployment and queue smoke test: success, https://github.com/openclaw/clawsweeper/actions/runs/33712345842.

Live verification: 2026-09-03T03:43:57Z through 2026-09-03T04:23:58.107322+00:00 (40.02 minutes), with an initial post-deployment queue sample and five-minute checkpoints. Before snapshot: 2026-09-03T03:42:00.193Z; final server snapshot: 2026-09-03T04:23:55.826Z.

Publication field Before After
pending 113 64
ready 112 63
dispatching 0 0
leased 0 0
active 0 0
capacity 8 40
oldest_pending_at 2026-08-18T15:20:40.469Z 2026-08-18T15:20:40.469Z
next_attempt_at 2026-08-18T15:20:40.469Z 2026-08-18T15:20:40.469Z
completed_total 193518 193747
superseded_total 35335 35374

The final live health check still reported deployment f7c9afb15584b1837893877fdb3eca64f321b8bd with ok: true.

Handoff health: before degraded, after healthy. Healthy/idle in 5/9 samples; observed counts: degraded 2, healthy 5, stalled 2.

Publication completions increased by 229. Criterion (a), healthy/idle in most samples plus increasing completions: met.

Matched pre-deploy cohort: 2026-09-03T03:02:00.193000+00:00–2026-09-03T03:42:00.193000+00:00 (40 minutes). Queue transport failures among claimed, completed batches: 2/18 (11.1%) before, 3/12 (25.0%) after. The earlier operator-supplied incident window was 4/10 (40%). A claim is evidenced by reaching the claim-gated target-token step. Runs that found no work do not enter this denominator. Durations below are creation-to-completion seconds; unfinished runs have no final duration.

Post-deploy cohort: 20 runs; 14 completed, 12 claimed and completed, 6 unfinished. Completed logs contain 6 Batch queue retry endpoint= messages. New-class failed batches: 0.

Post-deploy batch run Duration (s) Conclusion Claimed Retry lines
33712436990 1544 success true 0
33712474909 1510 success true 0
33712516195 991 failure true 2
33712715851 127 success true 0
33712795256 735 failure true 2
33712836865 659 failure true 2
33712910277 529 success true 0
33713483334 40 success false 0
33713555974 — in_progress pending inspection —
33713603453 1180 success true 0
33713641368 965 success true 0
33713677824 862 success true 0
33713862444 — in_progress pending inspection —
33714028715 615 success true 0
33714125567 740 success true 0
33714558939 29 success false 0
33714616096 — in_progress pending inspection —
33714649839 — in_progress pending inspection —
33714714729 — in_progress pending inspection —
33714838658 — in_progress pending inspection —

Queue samples:

UTC sample Handoff health Pending Completed total
2026-09-03T03:44:29.138Z stalled 99 193544
2026-09-03T03:48:57.348Z degraded 88 193568
2026-09-03T03:53:57.018Z degraded 80 193595
2026-09-03T03:58:59.223Z healthy 83 193609
2026-09-03T04:03:56.966Z healthy 86 193633
2026-09-03T04:08:50.062Z healthy 85 193649
2026-09-03T04:13:57.022Z healthy 79 193690
2026-09-03T04:18:56.496Z stalled 82 193714
2026-09-03T04:23:55.826Z healthy 64 193747

OpenClaw Bay needs no frontend or public-schema change: the public projection is unchanged, and retry/idempotency bookkeeping remains inside the existing Worker and workflow paths.

Completions also increased by 203 within the post-deploy samples themselves.

Criterion (b), below the specified earlier 40% failure share with retry engagement when transients occurred: met. Criterion (c), no new failure class: met. All three stated criteria: met against the supplied incident benchmark.

The matched 40-minute comparison did not improve: 3/12 after versus 2/18 before. The initial pre-merge run statuses were refreshed as those runs completed; 0 baseline run(s) remained unfinished at the final refresh. This short, observational cohort does not establish a causal reduction in queue failures. Unfinished post-deploy runs are excluded, so the final cohort rate may change.

Observed failures and retry evidence:

Failed run Failed step Sanitized log excerpt Retry messages
33712836865 Prepare each item independently 2026-09-03T04:00:48.6090468Z Error: Batch queue [queue route] failed (HTTP 500): exact_review_queue_unavailable 2
33712795256 Prepare each item independently 2026-09-03T04:00:48.5321931Z Error: Batch queue [queue route] failed (HTTP 500): exact_review_queue_unavailable 2
33712516195 Prepare each item independently 2026-09-03T04:00:47.4800275Z Error: Batch queue [queue route] failed (HTTP 500): exact_review_queue_unavailable 2

Representative retry messages (route redacted):

2026-09-03T04:00:46.0233978Z Batch queue retry endpoint=[queue route] reason=HTTP_500 attempt=2/3
2026-09-03T04:00:46.7869612Z Batch queue retry endpoint=[queue route] reason=HTTP_500 attempt=3/3

Successful completed batches with retry messages: 0. The three observed failures clustered around 04:00:45 UTC: each logged attempts 2/3 and 3/3, then exhausted the retry limit on HTTP 500 exact_review_queue_unavailable during preparation. Retry engagement is proven; recovery from that burst is not.

Final handoff reason: handoff_current. The 35-minute sample reported dispatcher_blocked.

Rollback: none. All 9 post-deploy queue API requests returned HTTP 200; no pair of consecutive 5xx responses occurred. No new-class batch failure was observed. The higher failure share relative to the matched baseline is reported here and is not a rollback trigger under this work order.

Open follow-up: assess the queue-unavailable burst and whether the bounded retry timing is sufficient; 6 post-deploy runs were still unfinished at the cutoff. This task made no additional source changes or production mutations beyond the authorized merge and deployment.

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

Labels

merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. P1 Urgent regression or broken agent/channel workflow affecting real users now. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant