大猫子
2d15dd757d
fix(cron): handle undefined sessionTarget in list output ( #9649 ) ( #9752 )
...
* fix(cron): handle undefined sessionTarget in list output (#9649 )
When sessionTarget is undefined, pad() would crash with 'Cannot read
properties of undefined (reading trim)'. Use '-' as fallback value.
* test(cron): add regression test for undefined sessionTarget (#9649 )
Verifies that printCronList handles jobs with undefined sessionTarget
without crashing. Test fails on main branch, passes with the fix.
* fix: use correct CronSchedule format in tests (#9752 ) (thanks @lailoo)
Tests were using { kind: 'at', atMs: number } but the CronSchedule type
requires { kind: 'at', at: string } where 'at' is an ISO date string.
---------
Co-authored-by: damaozi <1811866786@qq.com >
Co-authored-by: Tyler Yust <TYTYYUST@YAHOO.COM >
2026-02-05 16:11:19 -08:00
..
2026-02-01 10:03:47 +09:00
2026-02-05 16:11:19 -08:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-02 17:36:49 +00:00
2026-02-05 15:14:50 -08:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-01-31 16:19:20 +09:00
2026-01-14 01:17:56 +00:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-30 03:16:21 +01:00
2026-02-05 00:17:09 -08:00
2026-02-05 00:17:09 -08:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-30 03:16:21 +01:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 18:31:49 +09:00
2026-02-01 10:03:47 +09:00
2026-01-14 15:02:19 +00:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-01-14 15:02:19 +00:00
2026-02-04 19:51:06 +00:00
2026-02-01 10:03:47 +09:00
2026-02-04 01:03:59 -08:00
2026-01-14 01:17:56 +00:00
2026-01-31 16:19:20 +09:00
2026-01-14 01:17:56 +00:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-02 15:37:05 +09:00
2026-01-30 03:16:21 +01:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-21 10:23:30 +00:00
2026-02-01 10:03:47 +09:00
2026-02-05 15:52:51 -08:00
2026-01-14 01:17:56 +00:00
2026-02-04 01:03:59 -08:00
2026-01-31 16:19:20 +09:00
2026-01-31 16:19:20 +09:00
2026-01-30 03:16:21 +01:00
2026-02-02 02:07:47 -08:00
2026-01-30 03:16:21 +01:00
2026-02-01 10:03:47 +09:00
2026-02-02 23:45:05 -08:00
2026-02-02 23:45:05 -08:00
2026-01-31 16:04:04 +09:00
2026-02-01 10:03:47 +09:00
2026-01-18 08:45:29 +00:00
2026-01-30 03:16:21 +01:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-02 17:36:49 +00:00
2026-01-14 01:17:56 +00:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-17 05:48:56 +00:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-02 21:44:02 +09:00
2026-01-31 16:19:20 +09:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-01-21 04:39:15 +00:00
2026-01-31 16:04:04 +09:00
2026-02-05 16:06:11 -08:00
2026-01-14 01:17:56 +00:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-03 13:56:20 -05:00
2026-02-03 13:56:20 -05:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-01-30 03:16:21 +01:00
2026-02-03 20:18:16 +09:00
2026-02-04 19:51:06 +00:00
2026-02-01 10:03:47 +09:00
2025-11-26 00:53:53 +01:00
2026-02-01 10:03:47 +09:00