scheduling: unrunnable job kind never advances and emits false success #1563

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

internal/infrastructure/crondelivery/router.go:53-57 Router.Run returns nil for unregistered/unsupported job kinds. In ticker.go:289 runJob treats nil error as success and emits KindJobRun. MarkRun is never invoked, so NextRun remains in the past and the job continuously fires on every tick. Done when refused jobs do not emit KindJobRun and advance or terminate cleanly.

Close reason

Fixed on fix/workflow-eda-audit (PR #1627)


Imported from beads archie-core-s6ahh · GitHub #1619 · type bug · priority P2 · created 2026-10-11 · closed 2026-10-11

internal/infrastructure/crondelivery/router.go:53-57 Router.Run returns nil for unregistered/unsupported job kinds. In ticker.go:289 runJob treats nil error as success and emits KindJobRun. MarkRun is never invoked, so NextRun remains in the past and the job continuously fires on every tick. Done when refused jobs do not emit KindJobRun and advance or terminate cleanly. ### Close reason Fixed on fix/workflow-eda-audit (PR #1627) --- _Imported from beads `archie-core-s6ahh` · GitHub #1619 · type bug · priority P2 · created 2026-10-11 · closed 2026-10-11_
sam added the mediumbug labels 2026-10-27 13:40:53 +00:00
sam self-assigned this 2026-10-27 13:40:53 +00:00
sam closed this issue 2026-10-27 13:40:54 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1563