Tags: go-co-op/gocron
Tags
fix: defer WithLimitedRuns job removal until task completes (#925) (#926 ) When a job is configured with WithLimitedRuns and reaches its run limit, the scheduler immediately removes the job, which cancels the context passed to the task. With non-singleton jobs, selectExecJobsOutCompleted runs before the user-supplied function executes, so the task ran with an already-canceled context. Defer the removal until selectJobTimingUpdate receives the completedAt update emitted after the task function returns. The runCount is still incremented at the same point as before, but removeJobCh is no longer fanned out until the task is actually done. Signed-off-by: SAY-5 <say.apm35@gmail.com>
Fix broken monitors link in README (#908) * Initial plan * docs: fix broken monitors link and encourage contributions Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com> * docs: fix formatting to match existing style Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com> * docs: add implementations sections for Monitor, MonitorStatus, and SchedulerMonitor Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com>
build(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 (#… …903) Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 9.1.0 to 9.2.0. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v9.1.0...v9.2.0) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-version: 9.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext