Skip to content

v1.1.0

Latest

Choose a tag to compare

@ladydascalie ladydascalie released this 23 Jun 23:49
cfb518b

Changes

Bug fixes (critical)

  • Halt errors are no longer silently swallowed. Start() now drains halt errors from all workers and returns them alongside run errors via errors.Join.
  • Clean worker exit no longer hangs forever. An allDone channel detects when all workers have finished and breaks the select loop immediately.

New public API

  • StartOpts(ctx, workers, opts...), like Start but accepts functional options
  • WithoutSignals(), option to disable signal.NotifyContext registration (useful for testing/synctest bubbles or external signal management)
  • SetLogger(l *log.Logger), configurable logger for MustStart

Quality

  • Regression tests for halt error collection and clean exit detection
  • testing/synctest-based tests for deterministic deadlock and timeout verification
  • Package-level doc.go with usage examples
  • golangci-lint v2 configuration, 0 issues

CI

  • Updated action versions: checkout@v4, setup-go@v5, golangci-lint-action@v7
  • Fixed go test flag: --cover -> -cover

Notes

  • Fully backward-compatible with v1.0.0.