You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
queen: long waits as rows in Postgres -- queen_wait, a scheduler actor, the release job's CI wait (waits.t27) #1717
Part of #1712 (item 4): long waits become rows in Postgres, so they hold no process and survive deploys.
Goal
A queen_wait table, one scheduler actor per process that claims due rows with FOR UPDATE SKIP LOCKED and wakes their owner, an API to make a wait and to resolve one by key, and the release job's CI step rewired to park on a row keyed by the run id. Behind TRIOS_QUEEN_WAITS=rows, default off.
Rules
Every decision is the card specs/queen/waits.t27 (Trinity-S-AI-DNA/t27#8270 / PR #8272, follow-up t27#8280 / PR #8282), vendored byte-identical with its wasm; the TypeScript holds rows, reads GitHub and calls the card.
Acceptance
A wait survives a process restart (new runtime, same database).
A write at a stale epoch is refused and wakes nobody.
Two schedulers on one table never wake the same row twice.
Shipped: #1722 merged into actors-next, which went into queen as 56c5df7 via #1730 (2026-10-10 13:38Z). Every new behaviour is behind a flag that is off. Closes fires only on the default branch main, so this is closed by hand. Ledger: #1729.
Activity
chore(queen): PIN names the t27 master commit of waits.t27 (Refs #1717)
Merge pull request #1722 from gHashTag/queen-durable-waits
gHashTag commentedon Oct 10, 2026
Shipped: #1722 merged into
actors-next, which went intoqueenas 56c5df7 via #1730 (2026-10-10 13:38Z). Every new behaviour is behind a flag that is off.Closesfires only on the default branchmain, so this is closed by hand. Ledger: #1729.