Repository navigation
v0.12.0
Operator tools and limits for queues, in both runtimes: a shared QueueAdmin port, and FlowQueue gets it plus new options. Go module github.com/eadwinCode/agentic-kit/packages/go-agentenkit@v0.12.0, npm agentenkit@0.12.0 and use-agentenkit@0.12.0.
No breaking changes.
New: QueueAdmin port (#40)
pause, resume, purge, listDead, redrive and purgeDead (Go: Pause, Resume, Purge, ListDead, Redrive, PurgeDead). The Go Postgres queue and FlowQueue both have it, so admin code works with either. The Go Postgres PurgeFilter and DeadJob now point to the shared ports types, so existing code still compiles.
On FlowQueue:
pausepauses the Flow function. Jobs enqueued meanwhile wait and start onresume.- A dead job is a failed run.
redriveretries it, but never a run thatpurgecancelled.purgecancels waiting runs that match. Running ones are left alone, and an empty filter is refused.purgeDeaddeletes failed runs, except ones kept in the dashboard.
New: FlowQueue options (#40)
maxDepth(Go:MaxDepth) refuses a fresh dispatch withQueueFullError. The count lags a few seconds.namespace(Go:Namespace) goes in front of the function ID, so two environments can share one Flow app.statsasks Flow for the oldest queued job, sooldestReadyMsno longer reads low.
New: agentRunFunction options (#40)
Go: clevixflow.Functions.
globalConcurrencylimits all jobs at once, beside the per-partitionKeylimit.retryBackoffMsandretryBackoffMaxMs(Go:RetryBackoff,RetryBackoffMax) set the wait between tries, as on the Postgres queue.segmentTimeoutMs(Go:SegmentTimeout) throws if a segment is not shorter than the step time.
Needs: Flow SDK v0.8.0 (TS: @clevix/flow, from the flow-sdk release), and Flow engine v2.2.0 or newer.
See Setup: On Clevix Flow, with a new note on rollouts, and QueueAdmin.