chore(deps): update dependency go to v1.26.0 (0.3.x)#404
Open
github-actions[bot] wants to merge 1 commit into0.3.xfrom
Open
chore(deps): update dependency go to v1.26.0 (0.3.x)#404github-actions[bot] wants to merge 1 commit into0.3.xfrom
github-actions[bot] wants to merge 1 commit into0.3.xfrom
Conversation
7c2069b to
48339fa
Compare
48339fa to
ed6ee6c
Compare
ed6ee6c to
7fe62d6
Compare
nekrich
pushed a commit
to nekrich/ofelia
that referenced
this pull request
Feb 13, 2026
…ros#404) ## Summary - Upgrade go-cron from v0.6.0 to v0.7.0 and all other project dependencies to latest versions - Refactor schedule validation to use go-cron v0.7.0's new `ValidateSpec` API for cleaner code - Fix test race condition for go-cron v0.7.0 compatibility ## Changes ### Dependency Upgrades **Direct dependencies:** - `github.com/netresearch/go-cron`: v0.6.0 → v0.7.0 - `github.com/docker/cli`: v29.1.2 → v29.1.3 - `golang.org/x/crypto`: v0.45.0 → v0.46.0 - `golang.org/x/term`: v0.37.0 → v0.38.0 - `golang.org/x/text`: v0.31.0 → v0.32.0 **Indirect dependencies:** - `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp`: v0.63.0 → v0.64.0 - `go.opentelemetry.io/otel`: v1.38.0 → v1.39.0 - `go.opentelemetry.io/otel/metric`: v1.38.0 → v1.39.0 - `go.opentelemetry.io/otel/trace`: v1.38.0 → v1.39.0 - `golang.org/x/sys`: v0.38.0 → v0.39.0 ### Code Improvements **cli/doctor.go:** - Refactored `validateCronSchedule` to use go-cron v0.7.0's new `ValidateSpec` API - Reduced 35 lines of manual validation code to a single function call - Maintains full backward compatibility with all cron formats **core/scheduler_edge_cases_test.go:** - Fixed race condition in `TestSchedulerConcurrentOperations` - Stop scheduler before adding jobs to avoid go-cron's internal map race ### New go-cron v0.7.0 Features Available The upgrade enables future use of these new capabilities: - **Schedule introspection**: `Bounds()`, `Fields()`, `Matches()`, `NextN()`, `Between()` - **Backward time traversal**: `Prev()` method for missed execution detection - **Run-once jobs**: `WithRunOnce()`, `AddOnceFunc()` for single-execution tasks - **Jitter wrappers**: Prevent thundering herd in distributed systems - **Jenkins H hash expressions**: Deterministic load distribution - **Year field support**: Multi-year scheduling capability ## Test plan - [x] All unit tests pass - [x] Race detector passes (`go test -race ./...`) - [x] Lint checks pass - [x] Build succeeds
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.
This PR contains the following updates:
1.25.5->1.26.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.