jakacky.dev / projects

Workerkit

Workerkit is a Go runtime toolkit for long-running workers.

It focuses on the lifecycle concerns that show up once background processes need to behave like production services: startup, shutdown, draining, health, readiness, error handling, and operational control.

Why it exists

Long-running workers often begin as simple loops and eventually accumulate production behavior around cancellation, retries, concurrency, observability, and shutdown semantics.

Workerkit is intended to make those concerns explicit and testable without turning the worker into a large framework.

Focus areas

  • Runtime lifecycle management
  • Start, drain, and stop behavior
  • Long-running loop patterns
  • Operational health and readiness
  • Graceful shutdown
  • Minimal, idiomatic Go API