daemon: task pickup waits for the forge poll tick #1379

Closed
opened 2026-10-27 13:40:09 +00:00 by sam · 0 comments
Owner

Queued tasks are drained only at the end of Daemon.Cycle (after storage cleanup, forge poll, PR reconcile, review scan, bindings, reactions), and Cycle runs on PollInterval (60s default). Measured live: pickup latency for 14 tasks ranged 8s to 225s, median ~43s, with an ~8s setup floor. Done when a task enqueued while the daemon is idle starts within a few seconds regardless of poll_interval, with exactly one consumer on ARCHIE_TASKS (RunOnce included).

Close reason

Closed


Imported from beads archie-core-ihx9t · GitHub #1869 · type bug · priority P1 · created 2026-10-25 · closed 2026-10-25

Queued tasks are drained only at the end of Daemon.Cycle (after storage cleanup, forge poll, PR reconcile, review scan, bindings, reactions), and Cycle runs on PollInterval (60s default). Measured live: pickup latency for 14 tasks ranged 8s to 225s, median ~43s, with an ~8s setup floor. Done when a task enqueued while the daemon is idle starts within a few seconds regardless of poll_interval, with exactly one consumer on ARCHIE_TASKS (RunOnce included). ### Close reason Closed --- _Imported from beads `archie-core-ihx9t` · GitHub #1869 · type bug · priority P1 · created 2026-10-25 · closed 2026-10-25_
sam added the highbug labels 2026-10-27 13:40:09 +00:00
sam self-assigned this 2026-10-27 13:40:09 +00:00
sam closed this issue 2026-10-27 13:40:09 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1379