-
Notifications
You must be signed in to change notification settings - Fork 0
feat: jitter support and composable middleware chain #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
20fbfc1
feat: add jitter support and composable middleware chain
ankurs bcbeb7b
fix: use govulncheck -scan=module to skip tool dependencies
ankurs 4f9f6b6
fix: address PR review comments
ankurs b924a4e
feat: add Child() lookup and Worker getters (GetName, GetHandler)
ankurs 6bf8371
fix: Child() returns a shallow copy to prevent mutation of live workers
ankurs 6e1148c
fix: Child() returns (Worker, bool) by value instead of *Worker
ankurs d65ade2
fix: address second-round PR review comments
ankurs e8d2919
fix: use govulncheck symbol-level scan to avoid false positives on un…
ankurs a322e8b
fix: bump go directive to 1.26.2 to resolve stdlib vulns
ankurs db65b21
fix: log handler.Close errors in closerService, fix jitter doc comment
ankurs e1ca449
fix: restore ObserveRunDuration in Serve() for attempt lifetime metrics
ankurs 8ea3bf3
docs: clarify attempt lifetime vs per-cycle duration metrics
ankurs 313fd31
feat: make restart the default, add ErrDoNotRestart sentinel
ankurs a3768c0
fix: unwrap ErrDoNotRestart before returning to suture so wrapped err…
ankurs 7424e3a
refactor: simplify round 2
ankurs 098f59a
refactor: consistent getter naming — all getters use Get prefix
ankurs 30bfaa4
fix: address remaining PR review comments
ankurs fcb0647
fix: propagate flush errors on ctx cancel, fix restart suppression logic
ankurs 025307e
fix: propagate flush error on channel close in BatchChannelWorker
ankurs c8757f0
fix: prevent Close/RunCycle race with WaitGroup coordination
ankurs 4a28abf
fix: ensure handler.Close() fires when suture exhausts failure threshold
ankurs 6ce494c
fix: update stale RestartOnFail and Children references in source doc…
ankurs b833785
feat: add WithTestChildren for testable WorkerInfo + improve godoc
ankurs 9517c94
fix: scope onPermanentStop to worker's own service, not child termina…
ankurs 5054529
fix: replace event hook close with closingSupervisor wrapper
ankurs ceb0599
test: comprehensive test coverage (82% → 92%)
ankurs 9f86a9a
feat: Add is now a no-op if name exists, returns bool
ankurs fde2813
feat: WithBackoffJitter accepts func(time.Duration) time.Duration
ankurs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.