andrexibiza
e8bab87ba7
fix(cron): bare durations are recurring intervals; coerce repeat string forms
...
Contract bug (2026-08-04): the cronjob tool schema documents '30m' as
'(every 30 minutes)' — recurring — but parse_schedule returned
kind='once' for bare durations, silently creating a one-shot job for a
recurring request (agent passed '30m' for 'every 30 min', job ran once
and died). Bare durations ('30m','2h','1d') now parse as recurring
intervals matching the documented contract; explicit one-shot by
duration is 'in 30m'/'in 2h' (fires once that far from now). ISO
timestamps stay one-shot.
Also fixes the sibling repeat-coercion class (#66824/#64520/#7142):
repeat='forever'/'once'/'N' strings now coerce in create_job instead of
raising "'<=' not supported between instances of 'str' and 'int'".
Tool description rewritten to teach the corrected contract and steer
relative requests to 'in Nm' (no more hand-computed ISO timestamps).
Supersedes the doc-only direction of #53739 while keeping its goal
(relative one-shots must be expressible) via the 'in X' form.
Signed-off-by: andrexibiza <84248988+andrexibiza@users.noreply.github.com >
2026-08-29 19:19:40 -07:00
..
2026-08-29 18:35:17 -07:00
2026-08-28 07:50:33 -07:00
2026-07-28 07:58:16 -07:00
2026-08-28 23:10:01 -07:00
2026-08-16 22:08:05 -07:00
2026-08-28 23:10:01 -07:00
2026-08-28 01:39:33 -07:00
2026-08-27 13:48:51 -07:00
2026-07-28 11:52:44 -07:00
2026-08-15 02:51:59 +05:30
2026-08-07 17:45:06 +05:30
2026-08-23 20:00:18 -07:00
2026-08-27 13:49:04 -07:00
2026-08-23 02:16:11 -07:00
2026-08-24 03:21:37 -07:00
2026-08-24 21:51:44 -07:00
2026-08-28 04:57:52 -07:00
2026-08-21 22:33:45 +05:30
2026-07-29 10:54:04 -07:00
2026-08-29 18:35:12 -07:00
2026-08-27 04:39:19 -07:00
2026-08-19 16:31:16 -07:00
2026-08-26 18:02:17 +05:30
2026-08-14 21:24:36 -07:00
2026-08-26 16:42:44 -07:00
2026-08-28 23:10:01 -07:00
2026-08-06 19:35:47 -06:00
2026-08-28 06:36:22 -07:00
2026-08-28 01:39:33 -07:00
2026-08-28 03:05:03 -07:00
2026-07-29 12:19:37 -07:00
2026-08-24 20:10:44 -07:00
2026-08-29 19:19:40 -07:00
2026-08-29 19:13:23 -07:00
2026-08-16 20:14:51 -07:00
2026-08-07 09:07:42 -07:00
2026-07-22 12:13:01 -05:00
2026-08-02 00:11:50 -07:00
2026-08-28 23:10:01 -07:00
2026-08-02 00:36:03 -07:00
2026-08-24 20:10:44 -07:00
2026-08-26 06:26:02 -07:00
2026-08-29 18:33:41 -07:00
2026-08-28 23:10:01 -07:00
2026-08-12 15:21:47 +05:30
2026-08-02 00:11:50 -07:00
2026-08-13 11:09:51 -07:00
2026-08-28 03:58:52 -07:00
2026-08-08 04:19:38 -07:00
2026-08-23 16:04:41 -07:00
2026-08-23 18:25:19 -07:00
2026-08-13 10:47:40 -07:00
2026-08-28 08:46:11 -07:00
2026-08-08 12:32:23 -07:00
2026-07-17 04:50:47 -07:00
2026-08-28 20:16:26 -07:00
2026-08-25 10:55:53 +10:00
2026-08-17 03:03:35 -07:00
2026-07-18 04:15:13 -07:00
2026-08-28 04:01:05 -07:00
2026-08-20 20:20:23 -07:00
2026-08-26 02:54:35 +05:30
2026-07-28 14:07:21 -07:00
2026-08-28 23:10:01 -07:00
2026-08-02 10:02:33 -07:00
2026-08-01 10:47:20 -07:00
2026-08-12 15:21:47 +05:30
2026-07-29 10:14:00 -07:00
2026-08-28 03:24:43 -07:00
2026-08-28 23:10:01 -07:00
2026-08-28 09:23:00 -07:00
2026-08-28 23:10:01 -07:00
2026-08-14 21:41:26 -07:00
2026-08-28 08:46:11 -07:00
2026-08-28 23:10:01 -07:00
2026-08-28 23:10:01 -07:00
2026-08-28 23:10:01 -07:00
2026-08-21 22:33:45 +05:30
2026-08-07 08:58:25 -07:00
2026-08-17 10:03:36 -07:00
2026-08-27 07:33:36 -07:00
2026-08-26 07:26:38 -07:00
2026-08-29 17:58:51 -07:00
2026-08-12 13:57:59 +05:30
2026-08-16 22:06:41 -07:00
2026-08-08 11:12:27 -07:00
2026-08-29 19:38:31 +05:30
2026-08-29 19:14:15 -07:00
2026-08-17 17:04:40 -07:00
2026-08-29 19:15:32 -07:00
2026-08-29 19:15:32 -07:00
2026-07-30 22:31:42 -07:00
2026-08-24 20:25:10 -07:00
2026-08-24 20:10:44 -07:00
2026-08-13 11:09:51 -07:00
2026-08-17 19:41:32 +05:30
2026-08-15 23:48:15 -07:00
2026-08-27 13:49:04 -07:00
2026-08-28 23:10:01 -07:00
2026-08-02 10:04:48 -07:00
2026-08-29 18:40:51 -07:00
2026-08-19 16:10:01 -07:00
2026-08-20 00:16:22 -07:00
2026-08-25 16:39:12 -07:00
2026-08-28 23:10:01 -07:00
2026-08-23 18:25:35 -07:00
2026-07-28 22:31:40 -07:00
2026-07-28 11:55:01 -07:00
2026-08-19 16:10:01 -07:00
2026-07-28 14:17:45 -07:00
2026-08-28 05:10:33 -07:00
2026-08-28 12:15:24 -07:00
2026-08-23 03:54:52 -07:00
2026-08-12 19:01:30 -07:00
2026-08-08 13:49:24 +05:30
2026-08-25 04:21:45 -07:00
2026-08-25 04:21:45 -07:00
2026-08-08 12:34:46 -07:00
2026-08-16 21:20:29 -07:00
2026-08-16 21:20:29 -07:00