Repository navigation
Commit 6f9aeb9
Align first scheduled run with Tencent#1437 to avoid a merge conflict
Tencent#1437 fixes the same first-run bug in jobDue. Use its implementation
(first timer run anchored at CreatedAt for both Cron and interval jobs)
so either PR can merge first without conflicting in
internal/schedule/service.go and service_test.go. Keep the Cron
first-occurrence regression test.
Co-Authored-By: Claude Code <noreply@anthropic.com>1 parent 62dd267 commit 6f9aeb9
3 files changed
Lines changed: 24 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
198 | 206 | | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
| 207 | + | |
212 | 208 | | |
213 | 209 | | |
214 | 210 | | |
215 | 211 | | |
216 | 212 | | |
217 | 213 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
| 214 | + | |
222 | 215 | | |
223 | 216 | | |
224 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
| 324 | + | |
328 | 325 | | |
329 | 326 | | |
330 | 327 | | |
| |||
333 | 330 | | |
334 | 331 | | |
335 | 332 | | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | 333 | | |
341 | 334 | | |
342 | 335 | | |
| |||
777 | 770 | | |
778 | 771 | | |
779 | 772 | | |
780 | | - | |
781 | | - | |
| 773 | + | |
| 774 | + | |
782 | 775 | | |
783 | 776 | | |
784 | 777 | | |
| |||
793 | 786 | | |
794 | 787 | | |
795 | 788 | | |
796 | | - | |
797 | | - | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
798 | 792 | | |
799 | 793 | | |
800 | 794 | | |
| |||
841 | 835 | | |
842 | 836 | | |
843 | 837 | | |
844 | | - | |
| 838 | + | |
| 839 | + | |
845 | 840 | | |
846 | 841 | | |
847 | 842 | | |
| |||
0 commit comments