Copilot
9e8c79dc9b
Fix memory consumption issue by changing jobOutRequest channels to use pointers and reducing buffer size ( #864 )
...
* Initial plan
* Fix memory consumption issue by changing jobOutRequest channels to use pointers
Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com>
* Change jobOutRequest channel buffer size from 1000 to 100
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>
Co-authored-by: John Roesler <johnrroesler@gmail.com>
2025-08-27 11:03:34 -05:00
Copilot
8187978b01
Add comprehensive GitHub Copilot instructions for gocron development ( #866 )
...
* Initial plan
* Initial exploration: identify build, test, and validation patterns
Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com>
* Add comprehensive GitHub Copilot instructions with validated commands
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>
2025-08-27 10:56:47 -05:00
dependabot[bot]
5bf6802fe1
Bump golang.org/x/crypto from 0.40.0 to 0.41.0 ( #859 )
2025-08-14 02:26:53 +00:00
dependabot[bot]
78468fab73
Bump actions/checkout from 4 to 5 ( #860 )
2025-08-14 02:25:37 +00:00
John Roesler
fcfcb87056
fix: cancel job contexts in create/update errors ( #858 )
2025-07-21 12:28:36 -05:00
John Roesler
4fb3b98763
chore: document the limitations with the locker design ( #848 )
2025-05-16 14:15:33 -05:00
dependabot[bot]
c9b34bdce1
Bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 ( #847 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 14:27:06 -05:00
John Roesler
17f65124cc
remove golangci v1 config backup
2025-04-30 14:15:15 -05:00
dependabot[bot]
eb4dfe6700
go 1.23 & golangci-lint v2 ( #843 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Roesler <johnrroesler@gmail.com>
2025-04-29 10:43:10 -05:00
Oleksandr Redko
914faca3a0
docs: adapt README to the dark theme ( #844 )
2025-04-03 12:27:12 -05:00
apocelipes
63f3701d57
Fix #835 and #837 ( #836 )
2025-02-26 09:28:43 -06:00
John Roesler
e1b7d52ebc
ExampleWithCronImplementation
2025-02-25 07:47:40 -06:00
John Roesler
69b4347c4c
clean up
2025-02-24 21:30:14 -06:00
Om Limdiwala
36cd85fc61
feat:custom-cron interface for own custom cron implimentation ( #834 )
...
* feat:custom-cron interface for own custom cron implimentation
* feat: tranfer the custom cron implimentation in the job options
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
---------
Co-authored-by: John Roesler <johnrroesler@gmail.com>
2025-02-24 21:26:16 -06:00
apocelipes
1fe8c5cca3
chore: add go1.24 to ci ( #833 )
2025-02-19 07:53:42 -06:00
Manuel Doncel Martos
2769f0940f
removes nextRuns in the past when job skipped by locker ( #829 )
...
Co-authored-by: manuelarte <manuel.doncel.martos@gmail.com>
2025-02-17 15:43:46 -06:00
John Roesler
08b53d788a
re-enable goleak detection in ci ( #832 )
...
* re-enable goleak detection in ci
* fix version string
* re-add go 1.23
2025-02-17 15:18:43 -06:00
dependabot[bot]
129f89c569
Bump golangci/golangci-lint-action from 6.3.2 to 6.5.0 ( #831 )
2025-02-17 13:32:19 -06:00
Oleksandr Redko
34fc56e077
fix err assertion in TestScheduler_RemoveJob ( #830 )
2025-02-14 09:12:39 -06:00
dependabot[bot]
8998063eda
Bump golangci/golangci-lint-action from 6.2.0 to 6.3.2 ( #827 )
2025-02-10 19:11:53 +00:00
Guang Jiong Lou
a757eff276
fix scheduler restart ( #825 )
2025-02-07 10:28:32 -06:00
John Roesler
8c70fdc387
Update README.md supporters
2025-01-31 10:25:26 -06:00
apocelipes
0c4a1a3292
replace "golang.org/x/exp" with standard libraries ( #823 )
2025-01-31 09:17:45 -06:00
John Roesler
d736ca28f5
go to 1.21, upgrade deps ( #822 )
...
* go to 1.21, upgrade deps
* test without 1.23
2025-01-29 10:37:12 -06:00
John Roesler
5b49603168
working to handle edge cases where a job can be run twice, unexpectedly ( #810 )
2025-01-28 21:22:56 -06:00
dependabot[bot]
cf2f500908
Bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 ( #817 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.1.1...v6.2.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
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>
Co-authored-by: John Roesler <johnrroesler@gmail.com>
2025-01-23 14:23:16 -06:00
John Roesler
6133a24ae2
clarify context docs
2025-01-23 14:21:18 -06:00
John Roesler
96fe017828
clarify context docs
2025-01-23 14:09:03 -06:00
John Roesler
8df2bbf7cd
clarify context docs
2025-01-23 14:07:29 -06:00
John Roesler
ce204f9d74
check context not nil, and update test and docs ( #820 )
2025-01-23 13:30:12 -06:00
Guang Jiong Lou
50966c7365
cancel running jobs if possible when run Scheduler.StopJobs() ( #819 )
...
* cancel running job when run Scheduler.StopJobs()
Signed-off-by: lou <alex1988@outlook.com>
* trivial
Signed-off-by: lou <alex1988@outlook.com>
* Update scheduler_test.go
---------
Signed-off-by: lou <alex1988@outlook.com>
Co-authored-by: John Roesler <johnrroesler@gmail.com>
2025-01-23 12:27:28 -06:00
Tom Morelly
cc66c780d8
feat(eventListener): add BeforeJobRunsSkipIfBeforeFuncErrors() ( #813 )
2025-01-08 19:21:13 -06:00
John Roesler
abfd9e5dcc
update examples
2025-01-03 15:47:57 -06:00
Hossein Shahsahebi
f5a5a2d0bc
feat: allow disabling global distributed locker per job ( #811 )
...
* chore: fix distributed locker tests
* feat: allow disabling global dist locker per job
2025-01-03 15:12:34 -06:00
John Roesler
bf751076f3
creating a new slice in several job options because appending modifies original ( #809 )
...
* creating a new slice in several job options because appending modifies original
* add tests
2025-01-03 10:18:18 -06:00
John Roesler
c180381e94
parse time.Time from AtTime ( #806 )
2024-12-17 11:38:16 -06:00
Tom Morelly
edb147514f
feat(monitor): introduce MonitorWithStatus ( #780 )
...
Co-authored-by: John Roesler <johnrroesler@gmail.com>
2024-12-11 22:23:57 -06:00
John Roesler
560a9dc9e4
stop timeout timers when no longer needed ( #803 )
2024-12-11 10:43:27 -06:00
John Roesler
d856be5a41
Update README.md
2024-12-06 14:06:44 -06:00
dependabot[bot]
c7c0a17f05
Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 ( #801 )
2024-11-25 13:16:24 -06:00
John Roesler
dec269f8a7
fix overly greedy panic handler ( #800 )
2024-11-20 12:17:01 -06:00
dependabot[bot]
31de1e8108
Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 ( #781 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.1.0...v6.1.1 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Roesler <johnrroesler@gmail.com>
2024-10-31 16:04:28 -05:00
John Roesler
a47779d859
update mocks with latest job/scheduler changes ( #794 )
2024-10-31 14:56:30 -05:00
John Roesler
46bcd8e030
weekly and monthly jobs should not allow zero interval ( #792 )
2024-10-31 11:42:35 -05:00
John Roesler
4baf341092
dailyjob should not allow interval zero ( #791 )
2024-10-31 10:52:35 -05:00
Rodrigo Broggi
838bd518a0
Issue 778 ( #779 )
2024-09-19 08:18:50 -05:00
Barkhayot
40b8570e23
fix: cleanup timers ( #776 )
...
* fix: cleanup timers
* chore: bring comments back
2024-09-16 09:57:39 -05:00
dependabot[bot]
c84d8f70c4
Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 ( #764 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.0.1...v6.1.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
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>
2024-08-09 10:12:06 -05:00
John Roesler
3ccd68d676
handle crontab and return error with invalid day in a month ( #766 )
2024-08-09 10:11:54 -05:00
Higan
68dba115b2
add Singleton job rescheduled metric ( #763 )
2024-07-24 10:24:54 -05:00