niceysam
f7e05d0136
fix: exclude maxTokens from config redaction + honor deleteAfterRun on skipped cron jobs ( #13342 )
...
* fix: exclude maxTokens and token-count fields from config redaction
The /token/i regex in SENSITIVE_KEY_PATTERNS falsely matched fields like
maxTokens, maxOutputTokens, maxCompletionTokens etc. These are numeric
config fields for token counts, not sensitive credentials.
Added a whitelist (SENSITIVE_KEY_WHITELIST) that explicitly excludes
known token-count field names from redaction. This prevents config
corruption when maxTokens gets replaced with __OPENCLAW_REDACTED__
during config round-trips.
Fixes #13236
* fix: honor deleteAfterRun for one-shot 'at' jobs with 'skipped' status
Previously, deleteAfterRun only triggered when result.status was 'ok'.
For one-shot 'at' jobs, a 'skipped' status (e.g. empty heartbeat file)
would leave the job in state but disabled, never getting cleaned up.
Now deleteAfterRun also triggers on 'skipped' status for 'at' jobs,
since a skipped one-shot job has no meaningful retry path.
Fixes #13249
* Cron: format timer.ts
---------
Co-authored-by: nice03 <niceyslee@gmail.com >
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com >
2026-02-12 07:55:05 -06:00
..
2026-02-12 17:10:21 +09:00
2026-02-08 16:20:13 -05:00
2026-02-08 16:20:13 -05:00
2026-01-30 03:16:21 +01:00
2026-01-07 22:56:50 +00:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-16 20:17:32 +00:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-09 17:02:55 -08:00
2026-01-30 03:16:21 +01:00
2026-02-01 10:03:47 +09:00
2026-01-14 01:17:56 +00:00
2026-01-30 03:16:21 +01:00
2026-01-30 03:16:21 +01:00
2026-02-09 16:31:41 -06:00
2026-01-24 21:02:13 +00:00
2026-02-01 10:03:47 +09:00
2026-01-30 03:16:21 +01:00
2026-02-10 17:33:57 -06:00
2026-02-10 00:21:27 -08:00
2026-02-10 00:21:27 -08:00
2026-01-14 15:02:19 +00:00
2026-01-30 03:16:21 +01:00
2026-02-08 17:21:31 -08:00
2026-02-01 10:03:47 +09:00
2026-01-30 03:16:21 +01:00
2026-02-01 09:50:52 +01:00
2026-01-15 03:22:54 +00:00
2026-02-01 10:03:47 +09:00
2026-01-14 01:17:56 +00: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-01 10:03:47 +09:00
2026-02-08 14:24:57 -08:00
2026-02-01 10:03:47 +09:00
2026-02-09 17:02:55 -08:00
2026-01-31 16:19:20 +09:00
2026-02-10 17:33:57 -06:00
2026-02-01 10:03:47 +09:00
2026-02-09 17:02:55 -08:00
2026-02-08 16:20:13 -05:00
2026-02-09 16:31:41 -06: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-10 00:21:27 -08:00
2026-01-14 05:39:51 +00:00
2026-02-10 00:21:27 -08:00
2026-02-09 17:02:55 -08:00
2026-02-01 10:03:47 +09:00
2026-01-27 12:21:02 +00:00
2026-02-01 10:03:47 +09:00
2026-01-30 03:16:21 +01:00
2026-02-09 17:02:55 -08:00
2026-02-08 14:24:57 -08:00
2026-02-01 10:03:47 +09:00
2026-02-09 17:02:55 -08:00
2026-02-08 20:06:29 -05:00
2026-02-08 16:20:13 -05:00
2026-02-10 17:33:57 -06:00
2026-02-10 17:33:57 -06:00
2026-01-31 16:19:20 +09:00
2026-02-12 07:55:05 -06:00
2026-02-12 07:55:05 -06:00
2026-02-01 10:03:47 +09:00
2026-02-09 17:02:55 -08:00
2026-02-11 08:32:00 -05:00
2026-02-11 08:32:00 -05:00
2026-02-10 17:33:57 -06:00
2026-02-01 10:03:47 +09:00
2026-02-12 01:19:46 -08:00
2026-01-31 16:04:04 +09:00
2026-02-09 20:42:35 -08:00
2026-01-18 06:37:37 +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:20:27 +00:00
2026-02-01 10:03:47 +09:00
2026-02-05 16:35:38 -08:00
2026-02-09 09:20:52 +09:00
2026-01-24 20:56:40 +00:00
2026-01-14 01:17:56 +00:00
2026-02-09 20:42:35 -08:00
2026-01-30 03:16:21 +01:00
2026-02-10 17:33:57 -06:00
2026-02-09 20:42:35 -08:00
2026-02-10 00:39:42 -06:00
2026-02-03 16:00:57 -08:00
2026-02-04 16:16:34 -05:00
2026-02-10 19:23:58 -05:00
2026-02-04 16:16:34 -05:00
2026-02-10 17:33:57 -06:00
2026-02-11 17:51:08 -08:00
2026-02-09 23:58:52 -06:00
2026-01-24 01:18:33 +00:00
2026-02-04 16:16:34 -05:00
2026-01-24 04:21:47 +00:00
2026-02-02 23:45:05 -08:00
2026-01-18 02:12:10 +00:00
2026-02-10 17:33:57 -06:00
2026-01-27 03:24:54 +00:00
2026-02-04 16:16:34 -05:00
2026-01-20 15:57:08 +00:00
2026-02-04 16:16:34 -05:00
2026-02-05 14:45:45 -08:00
2026-02-09 07:11:33 +00:00
2026-02-10 17:33:57 -06:00
2026-01-25 04:35:20 +00:00
2026-02-04 16:16:34 -05:00
2026-02-01 10:03:47 +09:00
2026-02-09 17:02:55 -08:00
2026-01-31 16:19:20 +09:00
2026-02-05 16:35:38 -08:00
2026-02-09 07:11:33 +00:00
2026-02-09 09:20:52 +09:00
2026-01-24 20:56:40 +00:00
2026-01-24 09:07:03 +00:00
2026-02-10 17:33:57 -06:00
2026-02-10 19:23:58 -05:00
2026-02-10 17:33:57 -06:00
2026-02-04 16:16:34 -05:00
2026-02-10 17:33:57 -06:00
2026-02-09 23:58:52 -06:00
2026-02-11 17:51:08 -08:00