chore: bump tooling/deps and refactor scheduler counter to atomic.Uint64#34
Merged
chore: bump tooling/deps and refactor scheduler counter to atomic.Uint64#34
Conversation
Owner
hyp3rd
commented
Apr 4, 2026
- Update golangci-lint from v2.11.3 → v2.11.4 across pre-commit hook, project settings, and Makefile
- Update buf from v1.66.1 → v1.67.0
- Bump github.com/hyp3rd/ewrap v1.3.7 → v1.3.9
- Bump modernc.org/sqlite v1.46.1 → v1.48.1
- Replace plain uint64 counter field in Scheduler with atomic.Uint64, eliminating the need for the atomic.AddUint64 package-level call in favour of the safer, self-contained s.counter.Add(1) method
- Update golangci-lint from v2.11.3 → v2.11.4 across pre-commit hook, project settings, and Makefile - Update buf from v1.66.1 → v1.67.0 - Bump github.com/hyp3rd/ewrap v1.3.7 → v1.3.9 - Bump modernc.org/sqlite v1.46.1 → v1.48.1 - Replace plain uint64 counter field in Scheduler with atomic.Uint64, eliminating the need for the atomic.AddUint64 package-level call in favour of the safer, self-contained s.counter.Add(1) method
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates core tooling/dependency versions and refactors the scheduler’s internal job ID counter to use sync/atomic.Uint64 for safer, self-contained atomic increments.
Changes:
- Bumped
golangci-lintandbufversions across project settings, Makefile, and pre-commit hook. - Updated Go module dependencies (
github.com/hyp3rd/ewrap,modernc.org/sqlite) and correspondinggo.sumentries. - Refactored
Scheduler.counterfromuint64+atomic.AddUint64toatomic.Uint64+s.counter.Add(1).
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/scheduler/scheduler.go | Switches scheduler ID counter to atomic.Uint64 and uses the typed Add method. |
| Makefile | Updates pinned golangci-lint and buf versions used by tooling targets. |
| go.mod | Bumps ewrap and modernc.org/sqlite module versions. |
| go.sum | Updates checksums to match the new module versions. |
| .project-settings.env | Updates shared tooling version pins used by scripts/hooks. |
| .pre-commit/golangci-lint-hook | Updates default golangci-lint version used by the hook. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.