openclaw/src/cron
lzyyzznl f786efddcd
fix(cron): keep bounded diagnostics UTF-16 safe (#102624)
* fix(cron): use truncateUtf16Safe for diagnostic entry and summary truncation

* test(cron): cover UTF-16 diagnostic boundaries

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-09 13:05:51 +01:00
..
isolated-agent feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
run-log feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
service feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
store feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
active-jobs-manual-run.test.ts fix(cron): avoid gateway restart on setup timeout (#96396) 2026-06-25 18:11:33 +02:00
active-jobs.ts refactor(cron): drop duplicate active-job reset alias 2026-06-19 21:15:22 +08:00
command-output-summary.test.ts fix(cron): preserve action-required command output 2026-06-30 22:52:26 -07:00
command-output-summary.ts fix(cron): preserve action-required command output 2026-06-30 22:52:26 -07:00
command-runner.test.ts fix(cron): preserve action-required command output 2026-06-30 22:52:26 -07:00
command-runner.ts fix(cron): preserve action-required command output 2026-06-30 22:52:26 -07:00
cron-protocol-conformance.test.ts feat: refactor the Control UI architecture 2026-07-04 23:19:38 +01:00
cron-protocol-schema.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
delivery-channel-validation.ts feat(cron): declarative jobs with owner attribution and richer status (#100480) 2026-07-06 03:35:26 +01:00
delivery-context.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
delivery-context.ts docs: document cron delivery helpers 2026-06-04 13:37:20 -04:00
delivery-field-schemas.ts docs: document cron delivery helpers 2026-06-04 13:37:20 -04:00
delivery-plan.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
delivery-plan.ts fix(cron): restore persistent session targets (#98947) 2026-07-02 07:48:50 +01:00
delivery-preview.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
delivery-preview.ts docs: document cron delivery helpers 2026-06-04 13:37:20 -04:00
delivery-target-validation.ts docs: document auth profile failure policy contract (#89613) 2026-06-03 15:20:39 -07:00
delivery.failure-notify.test.ts fix(cron): compare thread IDs when deduping failure destinations (#95794) 2026-06-22 22:39:19 +08:00
delivery.test-helpers.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
delivery.test.ts fix(cron): compare thread IDs when deduping failure destinations (#95794) 2026-06-22 22:39:19 +08:00
delivery.ts fix(cron): compare thread IDs when deduping failure destinations (#95794) 2026-06-22 22:39:19 +08:00
heartbeat-policy.test.ts chore(deadcode): drop unused cron summary guard 2026-06-21 00:27:23 +08:00
heartbeat-policy.ts chore(deadcode): drop unused cron summary guard 2026-06-21 00:27:23 +08:00
isolated-agent.auth-profile-propagation.test.ts refactor(cron): drop duplicate isolated-agent test aliases 2026-06-19 19:19:08 +08:00
isolated-agent.delivery-awareness.test.ts improve: keep isolated tests under one second (#100019) 2026-07-05 10:57:19 -07:00
isolated-agent.delivery.test-helpers.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
isolated-agent.direct-delivery-core-channels.test.ts improve: keep isolated tests under one second (#100019) 2026-07-05 10:57:19 -07:00
isolated-agent.helpers.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
isolated-agent.hook-content-wrapping.test.ts improve: keep isolated tests under one second (#100019) 2026-07-05 10:57:19 -07:00
isolated-agent.isolated-auth-session-flag.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
isolated-agent.lane.test.ts refactor(cron): drop duplicate isolated-agent test aliases 2026-06-19 19:19:08 +08:00
isolated-agent.mocks.ts test: speed up and stabilize full suite 2026-07-05 08:00:23 -04:00
isolated-agent.model-formatting.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
isolated-agent.model-overrides.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
isolated-agent.model-preflight.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
isolated-agent.run-timeout-override.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
isolated-agent.session-identity.test.ts improve: keep isolated tests under one second (#100019) 2026-07-05 10:57:19 -07:00
isolated-agent.test-harness.ts revert(sessions): defer session metadata sqlite 2026-06-10 16:34:06 +09:00
isolated-agent.test-setup.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
isolated-agent.ts docs: document auth profile failure policy contract (#89613) 2026-06-03 15:20:39 -07:00
isolated-agent.turn-test-helpers.ts revert(sessions): defer session metadata sqlite 2026-06-10 16:34:06 +09:00
normalize-job-identity.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
normalize-job-identity.ts docs: document cron normalization and run logs 2026-06-04 13:42:58 -04:00
normalize.test.ts feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
normalize.ts feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
parse.test.ts test(cron): expand parseAbsoluteTimeMs test coverage to 39 cases (#91656) 2026-06-19 06:36:31 +00:00
parse.ts fix(cron): reject invalid absolute timestamps (#93903) 2026-06-17 12:00:53 +08:00
persisted-shape.onexit.test.ts feat(cron): on-exit cron schedule kind — fire a job when a watched command exits 2026-07-01 10:47:01 -07:00
persisted-shape.trigger.test.ts feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
persisted-shape.ts feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
retry-hint.test.ts fix(cron): retry isolated setup timeouts (#94588) 2026-06-18 15:34:30 +00:00
retry-hint.ts fix(cron): retry isolated setup timeouts (#94588) 2026-06-18 15:34:30 +00:00
run-diagnostics.test.ts fix(cron): keep bounded diagnostics UTF-16 safe (#102624) 2026-07-09 13:05:51 +01:00
run-diagnostics.ts fix(cron): keep bounded diagnostics UTF-16 safe (#102624) 2026-07-09 13:05:51 +01:00
run-id.ts
run-log-jsonl.ts docs: document cron normalization and run logs 2026-06-04 13:42:58 -04:00
run-log-types.ts feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
run-log.error-reason.test.ts fix(agents): recover cli context overflow sessions 2026-07-01 22:39:24 -07:00
run-log.test.ts fix(cron): normalize run-log jobId on write to match read-side validation (#93567) 2026-06-23 13:55:57 +08:00
run-log.ts feat(cron): declarative jobs with owner attribution and richer status (#100480) 2026-07-06 03:35:26 +01:00
schedule-identity.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
schedule-identity.ts docs: document cron schedule helpers 2026-06-04 13:44:43 -04:00
schedule-number.ts docs: document cron schedule helpers 2026-06-04 13:44:43 -04:00
schedule.test.ts feat(cron): on-exit cron schedule kind — fire a job when a watched command exits 2026-07-01 10:47:01 -07:00
schedule.ts feat(cron): on-exit cron schedule kind — fire a job when a watched command exits 2026-07-01 10:47:01 -07:00
service-contract.ts feat(cron): declarative jobs with owner attribution and richer status (#100480) 2026-07-06 03:35:26 +01:00
service.add-recompute-drops-due-every.test.ts fix(cron): stop add/remove from dropping a due recurring job's pending run (#94323) 2026-06-22 17:22:06 +00:00
service.armtimer-tight-loop.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.declarative-jobs.test.ts feat(cron): declarative jobs with owner attribution and richer status (#100480) 2026-07-06 03:35:26 +01:00
service.delivery-plan.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.every-jobs-fire.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.failure-alert.test.ts fix(cron): truncate failure alert error text on UTF-16 boundary (#97298) 2026-06-28 13:59:06 -07:00
service.get-job.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.heartbeat-ok-summary-suppressed.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.issue-13992-regression.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.issue-16156-list-skips-cron.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.issue-17852-daily-skip.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.issue-19676-at-reschedule.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.issue-22895-every-next-run.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.issue-35195-backup-timing.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.issue-66019-unresolved-next-run.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.issue-regressions.test-helpers.ts refactor(cron): remove unused regression fixture writer 2026-06-18 17:39:15 +08:00
service.issue-regressions.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.jobs.test.ts fix(cron): keep default toolsAllow marker when edits echo an unchanged list 2026-07-05 00:18:12 -07:00
service.jobs.top-of-hour-stagger.test.ts refactor(runtime): hide default constants 2026-06-17 18:20:05 +08:00
service.list-page-sort-guards.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.main-job-passes-heartbeat-target-last.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.persists-delivered-status.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.prevents-duplicate-timers.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.read-ops-nonblocking.test.ts fix(cron): report SQLite storage path in cron.status instead of legacy jobs.json (#92144) 2026-06-11 22:39:42 +09:00
service.rearm-timer-when-running.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.remove-recompute-drops-due-every.test.ts fix(cron): stop add/remove from dropping a due recurring job's pending run (#94323) 2026-06-22 17:22:06 +00:00
service.restart-catchup.test.ts Fix disabled heartbeat one-shot cron retries (#92225) 2026-06-12 09:54:33 -05:00
service.runs-one-shot-main-job-disables-it.test.ts Fix disabled heartbeat one-shot cron retries (#92225) 2026-06-12 09:54:33 -05:00
service.session-reaper-in-finally.test.ts revert(sessions): defer session metadata sqlite 2026-06-10 16:34:06 +09:00
service.skips-main-jobs-empty-systemevent-text.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.startup-overflow-clobber.test.ts fix(cron): persist startup catch-up deferral ids in service state to prevent read-RPC clobber (#94022) 2026-07-01 08:04:31 -07:00
service.store-load-invalid-main-job.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
service.test-harness.ts fix(cron): persist startup catch-up deferral ids in service state to prevent read-RPC clobber (#94022) 2026-07-01 08:04:31 -07:00
service.trigger-eval.test.ts feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
service.ts feat(cron): declarative jobs with owner attribution and richer status (#100480) 2026-07-06 03:35:26 +01:00
service.update-recompute-drops-due-every.test.ts fix(cron): keep a due recurring run when an edit re-saves the same schedule (#96159) 2026-06-29 11:08:11 -07:00
session-reaper.test.ts revert(sessions): defer session metadata sqlite 2026-06-10 16:34:06 +09:00
session-reaper.ts clawdbot-d02.1.9.1.33: add session cleanup lifecycle seam (#93704) 2026-06-17 16:08:20 -07:00
session-target.test.ts fix(cron): restore persistent session targets (#98947) 2026-07-02 07:48:50 +01:00
session-target.ts fix(cron): restore persistent session targets (#98947) 2026-07-02 07:48:50 +01:00
stagger.test.ts refactor(runtime): hide default constants 2026-06-17 18:20:05 +08:00
stagger.ts refactor(runtime): hide default constants 2026-06-17 18:20:05 +08:00
store.test.ts fix(cron): preserve delivery thread id type across SQLite round-trip (#98699) 2026-07-05 12:53:02 -07:00
store.ts Expose legacy cron store doctor lint findings (#99211) 2026-07-03 15:28:29 -07:00
trigger-script.test.ts fix(agents): classify code mode aborts separately from timeouts (#102494) 2026-07-09 12:29:04 +01:00
trigger-script.ts fix(agents): classify code mode aborts separately from timeouts (#102494) 2026-07-09 12:29:04 +01:00
types-shared.ts
types.ts fix(agents): classify code mode aborts separately from timeouts (#102494) 2026-07-09 12:29:04 +01:00
validate-timestamp.test.ts docs: document cron test files 2026-06-04 20:01:05 -04:00
validate-timestamp.ts docs: document cron store helpers 2026-06-04 13:50:06 -04:00
webhook-url.ts refactor(net): consolidate URL protocol predicates (#99719) 2026-07-03 20:03:55 -07:00