feat: supervise module lifecycle and managed workers with bounded shutdown #13

Merged
end merged 6 commits from feat/lifecycle into main 2026-10-27 15:01:51 -07:00
Owner

Add the standard-library lifecycle package for ordered module setup, concurrent services and explicitly managed background workers. Cancel work before reverse teardown, preserve joined failures, and bound teardown plus callback completion by one shutdown budget (30 seconds by default), with second-signal abandonment. Include public documentation, a two-service example and race coverage.

Merge readiness: independent standard and high reviews are complete with no outstanding findings on reviewed code f4abb626. Published head d8f3176 adds only reconciled ADR delivery metadata; the decision remains accepted. Local build, vet, race tests, pinned golangci-lint, docs validation, TODO scan, formatting and whitespace checks passed on the reviewed code, and docs validation plus whitespace checks passed again after reconciliation. Both CI checks passed on the final published head: ci / check and Documentation / docs. Ready for owner merge consideration.

Closes #5

Add the standard-library lifecycle package for ordered module setup, concurrent services and explicitly managed background workers. Cancel work before reverse teardown, preserve joined failures, and bound teardown plus callback completion by one shutdown budget (30 seconds by default), with second-signal abandonment. Include public documentation, a two-service example and race coverage. Merge readiness: independent standard and high reviews are complete with no outstanding findings on reviewed code `f4abb626`. Published head `d8f3176` adds only reconciled ADR delivery metadata; the decision remains accepted. Local build, vet, race tests, pinned golangci-lint, docs validation, TODO scan, formatting and whitespace checks passed on the reviewed code, and docs validation plus whitespace checks passed again after reconciliation. Both CI checks passed on the final published head: [ci / check](https://gitea.auvem.com/corestack/go/actions/runs/2502) and [Documentation / docs](https://gitea.auvem.com/corestack/go/actions/runs/2503). Ready for owner merge consideration. Closes #5
end added 5 commits 2026-10-27 12:15:19 -07:00
end added 1 commit 2026-10-27 12:15:34 -07:00
docs: reconcile lifecycle delivery with PR 13
Documentation / docs (pull_request) Successful in 23s
ci / check (pull_request) Successful in 1m29s
d8f3176053
end merged commit e5298cff37 into main 2026-10-27 15:01:51 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: corestack/go#13