Title: fleet-queue (turso): no revive/requeue verb — dead-at-cap tasks can only be reset via direct SQL; enqueue dedupe ignores status · Issue #6838 · developing-today/code · GitHub
Open Graph Title: fleet-queue (turso): no revive/requeue verb — dead-at-cap tasks can only be reset via direct SQL; enqueue dedupe ignores status · Issue #6838 · developing-today/code
X Title: fleet-queue (turso): no revive/requeue verb — dead-at-cap tasks can only be reset via direct SQL; enqueue dedupe ignores status · Issue #6838 · developing-today/code
Description: Gap: the Turso queue backend has no revive/requeue verb Found during the dead-at-cap requeue pass (2026-11-07) executing the staged evaluation in #6463 against fleet-queue. What exists: fleet queue verbs on the Turso backend (turso_queue...
Open Graph Description: Gap: the Turso queue backend has no revive/requeue verb Found during the dead-at-cap requeue pass (2026-11-07) executing the staged evaluation in #6463 against fleet-queue. What exists: fleet queue...
X Description: Gap: the Turso queue backend has no revive/requeue verb Found during the dead-at-cap requeue pass (2026-11-07) executing the staged evaluation in #6463 against fleet-queue. What exists: fleet queue...
Opengraph URL: https://github.com/developing-today/code/issues/6838
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fleet-queue (turso): no revive/requeue verb — dead-at-cap tasks can only be reset via direct SQL; enqueue dedupe ignores status","articleBody":"## Gap: the Turso queue backend has no revive/requeue verb\n\nFound during the dead-at-cap requeue pass (2026-11-07) executing the staged evaluation in #6463 against `fleet-queue`.\n\n**What exists:** `fleet queue` verbs on the Turso backend (`turso_queue.rs`): enqueue, claim, lane, bind, heartbeat, checkpoint, park, block, cancel, fail, complete, list, health, signal, events-*. `verb_fail` only requeues a *claimed* task on transient failure while attempts remain.\n\n**What's missing:** any supported way to revive a `queued` task whose `attempts >= max_attempts` (the silent-zombie state #6463 is about — 231 such rows fleet-wide at the 2026-11-07 census). Specifically:\n\n1. No `revive`/`requeue` verb that resets `attempts` (and clears `last_error`) on a queued row with an audit event.\n2. `verb_enqueue`'s dedupe lookup (`WHERE queue = ? AND dedupe_key = ?`) has **no status predicate** — it returns the existing row even when that row is `cancelled`/`done`/`failed`. The PG backend's revive-on-enqueue semantics (only live rows dedupe-match) were not ported, so cancel + re-enqueue of the same packet silently returns the dead row instead of creating a fresh task.\n\n**Impact:** the 2026-11-07 requeue pass had to reset attempts via direct SQL against fleet-queue (queued rows only, guard predicates `status='queued' AND attempts>=max_attempts`, one `revived` event row per task) because no verb path exists. Cancellations of superseded tasks did go through the `cancel` verb.\n\n**Ask:** add a `revive` verb (task id + worker + reason → attempts=0, not_before=now or supplied, last_error=NULL, `revived` event) and make enqueue's dedupe match only non-terminal rows (reviving/resetting per the PG semantics), with tests naming the oracle (the PG migration-0023 behavior).\n\n## Acceptance criteria\n- [ ] A supported broker verb (revive/requeue) resets attempts and clears last_error on a queued dead-at-cap task, with an audit event recorded\n- [ ] Enqueue dedupe matches only live rows (queued/claimed/parked/blocked): re-enqueueing a packet whose previous row is cancelled/done/failed creates a fresh task instead of returning the terminal row\n- [ ] The fleet monitor's dead-in-queue self-repair (Duty 1 addendum) can be re-pointed from direct SQL to the new verb\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-07T06:33:50Z","url":"https://github.com/developing-today/code/issues/6838"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1c8ada69-c384-0447-c412-534777935dbb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 88FC:3BC3E6:3357FB:43348B:6B0617CD |
| html-safe-nonce | c5479e72c416cb9ae5e9bfd3a0dcfa7652a52791a2d185a762eca85495f589aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEZDOjNCQzNFNjozMzU3RkI6NDMzNDhCOjZCMDYxN0NEIiwidmlzaXRvcl9pZCI6IjM2OTA2MDcxNjgwODE3NjIyNTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 409de5499353216bd35150d5e50af167e4bc1ec2be8370330d3138b06d0b7a18 |
| hovercard-subject-tag | issue:6256068805 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/6838/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1eb2eab4a2cf153a071a6672431a12948a28be9710d7d37b2229c35839394584/developing-today/code/issues/6838 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1eb2eab4a2cf153a071a6672431a12948a28be9710d7d37b2229c35839394584/developing-today/code/issues/6838 |
| og:image:alt | Gap: the Turso queue backend has no revive/requeue verb Found during the dead-at-cap requeue pass (2026-11-07) executing the staged evaluation in #6463 against fleet-queue. What exists: fleet queue... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width