Skip to content

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
renovate/0.3.x-go-1.x
Open

chore(deps): update dependency go to v1.26.0 (0.3.x)#404
github-actions[bot] wants to merge 1 commit into0.3.xfrom
renovate/0.3.x-go-1.x

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 15, 2026

This PR contains the following updates:

Package Type Update Change
go (source) toolchain minor 1.25.5 -> 1.26.0

Configuration

📅 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@github-actions github-actions bot force-pushed the renovate/0.3.x-go-1.x branch from 7c2069b to 48339fa Compare January 22, 2026 14:26
@github-actions github-actions bot changed the title chore(deps): update dependency go to v1.25.6 (0.3.x) chore(deps): update dependency go to v1.25.7 (0.3.x) Feb 4, 2026
@github-actions github-actions bot force-pushed the renovate/0.3.x-go-1.x branch from 48339fa to ed6ee6c Compare February 4, 2026 16:30
@github-actions github-actions bot changed the title chore(deps): update dependency go to v1.25.7 (0.3.x) chore(deps): update dependency go to v1.26.0 (0.3.x) Feb 10, 2026
@github-actions github-actions bot force-pushed the renovate/0.3.x-go-1.x branch from ed6ee6c to 7fe62d6 Compare February 10, 2026 19:39
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants