Gustavo Madeira Santana
eff3c5c707
Session/Cron maintenance hardening and cleanup UX ( #24753 )
...
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: 7533b85156186863609fee9379cd9aedf74435af
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com >
Reviewed-by: @shakkernerd
2026-02-23 22:39:48 +00:00
Peter Steinberger
75423a00d6
refactor: deduplicate shared helpers and test setup
2026-02-23 20:40:44 +00:00
Peter Steinberger
32e6ccb7b6
test(cron): cover announce failure when best-effort is off
2026-02-23 19:48:37 +00:00
Peter Steinberger
7a40d99b1d
refactor(cron): extract delivery dispatch + harden reset notices
2026-02-23 19:25:22 +00:00
Peter Steinberger
bf373eeb43
refactor: harden reset notice + cron delivery target flow
2026-02-23 19:01:02 +00:00
Ayaan Zaidi
bf732b88e7
test(cron): avoid delivery.mode type widening in isolated announce test
2026-02-23 11:45:18 +05:30
Ayaan Zaidi
03122e5933
fix(cron): preserve telegram announce target + delivery truth
2026-02-23 11:45:18 +05:30
Peter Steinberger
1c753ea786
test: dedupe fixtures and test harness setup
2026-02-23 05:45:54 +00:00
Evgeny Zislis
78f801e243
Validate Telegram delivery targets to reject invalid formats ( #21930 )
...
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: 02c9b1c3dd4273988d571d513403e02e3b062e46
Co-authored-by: kesor <7056+kesor@users.noreply.github.com >
Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com >
Reviewed-by: @obviyus
2026-02-23 10:44:46 +05:30
Tak Hoffman
77c3b142a9
Web UI: add full cron edit parity, all-jobs run history, and compact filters (openclaw#24155) thanks @Takhoffman
...
Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini
Co-authored-by: Takhoffman <781889+Takhoffman@users.noreply.github.com >
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com >
2026-02-22 23:05:42 -06:00
Peter Steinberger
a53062ae3b
refactor(test): deduplicate isolated agent cron test helpers
2026-02-23 04:20:41 +00:00
Tak Hoffman
a54dc7fe80
Cron: suppress fallback main summary for delivery-target errors (openclaw#24074) thanks @Takhoffman
...
Verified:
- pnpm build
- pnpm check
- pnpm test:macmini
Co-authored-by: Takhoffman <781889+Takhoffman@users.noreply.github.com >
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com >
2026-02-22 20:24:08 -06:00
Tak Hoffman
259d863353
Gateway: harden cron.runs jobId path handling (openclaw#24038) thanks @Takhoffman
...
Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini
Co-authored-by: Takhoffman <781889+Takhoffman@users.noreply.github.com >
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com >
2026-02-22 19:35:26 -06:00
Tak Hoffman
f6c2e99f5d
Cron: preserve due jobs after manual runs ( #23994 )
2026-02-22 19:02:05 -06:00
Tak Hoffman
211ab9e4f6
Cron: persist manual run marker before unlock ( #23993 )
...
* Cron: persist manual run marker before unlock
* Cron tests: relax wakeMode now microtask wait after run lock persist
2026-02-22 18:39:37 -06:00
Tak Hoffman
3efe63d1ad
Cron: respect aborts in main wake-now retries ( #23967 )
...
* Cron: respect aborts in main wake-now retries
* Changelog: add main-session cron abort retry fix note
* Cron tests: format post-rebase conflict resolution
2026-02-22 17:19:27 -06:00
Tak Hoffman
9bc265f379
Cron: clean run-log write queue entries ( #23968 )
...
* Cron: clean run-log write queue entries
* Changelog: add cron run-log write-queue cleanup note
2026-02-22 17:16:42 -06:00
Tak Hoffman
73e5bb7635
Cron: apply timeout to startup catch-up runs ( #23966 )
...
* Cron: apply timeout to startup catch-up runs
* Changelog: add cron startup timeout catch-up note
2026-02-22 17:04:30 -06:00
Tak Hoffman
556af3f08b
fix(cron): cancel timed-out runs before side effects (openclaw#22411) thanks @Takhoffman
...
Verified:
- pnpm check
- pnpm vitest run src/memory/qmd-manager.test.ts src/cron/service.issue-regressions.test.ts src/cron/isolated-agent.delivers-response-has-heartbeat-ok-but-includes.test.ts --maxWorkers=1
Co-authored-by: Takhoffman <781889+Takhoffman@users.noreply.github.com >
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com >
2026-02-22 15:45:27 -06:00
Peter Steinberger
ffb12397a8
fix(cron): direct-deliver thread and topic announce targets
...
Co-authored-by: Andrei Aratmonov <247877121+AndrewArto@users.noreply.github.com >
2026-02-22 22:11:52 +01:00
Peter Steinberger
3820ad77ba
fix(cron): pass agentDir into embedded follow-up runs
...
Co-authored-by: seilk <88271769+seilk@users.noreply.github.com >
2026-02-22 22:11:52 +01:00
Peter Steinberger
5d90e31807
refactor(cron): share timed job-execution helper
2026-02-22 20:18:20 +00:00
Peter Steinberger
5e8b1f5ac8
refactor(test): centralize trigger and cron test helpers
2026-02-22 20:04:51 +00:00
Peter Steinberger
7e83e7b3a7
fix(cron): narrow manual run execution state
2026-02-22 20:19:23 +01:00
Peter Steinberger
9cf445e37c
fix(cron): restore interval cadence after restart
2026-02-22 20:19:23 +01:00
Peter Steinberger
aa4c250eb8
fix(cron): split run and delivery status tracking
2026-02-22 20:19:23 +01:00
Peter Steinberger
c3bb723673
fix(cron): enforce timeout for manual cron runs
2026-02-22 20:19:23 +01:00
Peter Steinberger
8bf3c37c6c
fix(cron): keep watchdog timer armed during ticks
2026-02-22 20:19:23 +01:00
Peter Steinberger
5db1ee4ec6
fix(cron): keep manual runs non-blocking
2026-02-22 20:19:22 +01:00
Peter Steinberger
91f75a2b33
fix(cron): force fresh isolated session IDs
2026-02-22 20:19:22 +01:00
Jonathan Works
8c089bbe32
fix(hooks): suppress main session events for silent/delivered hook turns ( #20678 )
...
* fix(hooks): suppress main session events for silent/delivered hook turns
When a hook agent turn returns NO_REPLY (SILENT_REPLY_TOKEN), mark the
result as delivered so the hooks handler skips enqueueSystemEvent and
requestHeartbeatNow. Without this, every Gmail notification classified
as NO_REPLY still injects a system event into the main agent session,
causing context window growth proportional to email volume.
Two-part fix:
- cron/isolated-agent/run.ts: set delivered:true when synthesizedText
matches SILENT_REPLY_TOKEN so callers know no notification is needed
- gateway/server/hooks.ts: guard enqueueSystemEvent + requestHeartbeatNow
with !result.delivered (addresses duplicate delivery, refs #20196 )
Refs: https://github.com/openclaw/openclaw/issues/20196
* Changelog: document hook silent-delivery suppression fix
---------
Co-authored-by: Vincent Koc <vincentkoc@ieee.org >
2026-02-22 12:47:42 -05:00
大猫子
91944ede4c
fix(cron): propagate auth-profile resolution to isolated sessions ( #20624 ) ( #20689 )
2026-02-22 12:45:03 -05:00
Peter Steinberger
34ea33f057
refactor: dedupe core config and runtime helpers
2026-02-22 17:11:54 +00:00
Peter Steinberger
adfbbcf1f6
chore: merge origin/main into main
2026-02-22 13:42:52 +00:00
Peter Steinberger
22ff83c3cf
test: remove fixed delay from cron concurrency assertion
2026-02-22 12:30:43 +00:00
Peter Steinberger
0a758dc710
test(cron): improve fire-and-forget harness coverage
2026-02-22 11:29:31 +00:00
Peter Steinberger
9f2444314d
test: stabilize agent embedded-run mocks
2026-02-22 11:25:59 +00:00
Peter Steinberger
401106b963
fix: harden flaky tests and cover native google thought signatures ( #23457 ) (thanks @echoVic)
2026-02-22 12:24:53 +01:00
Peter Steinberger
78c3c2a542
fix: stabilize flaky tests and sanitize directive-only chat tags
2026-02-22 12:19:33 +01:00
Peter Steinberger
585a143f21
test: reclassify config and channel monitor behavior suites
2026-02-22 11:04:58 +00:00
Peter Steinberger
1cd3b30907
fix: stop hardcoded channel fallback and auto-pick sole configured channel ( #23357 ) (thanks @lbo728)
...
Co-authored-by: lbo728 <extreme0728@gmail.com >
2026-02-22 11:21:43 +01:00
Frank Yang
1051f42f96
fix(stability): patch regex retries and timeout abort handling
2026-02-22 10:59:34 +01:00
Peter Steinberger
ccc00d874c
test(core): reduce mock reset overhead in targeted suites
2026-02-22 08:40:29 +00:00
Peter Steinberger
7cf280805c
test: dedupe cron and slack monitor test harness setup
2026-02-22 07:52:12 +00:00
Peter Steinberger
7778eee5e3
test(cron): dedupe delivered-status run scaffolding
2026-02-22 07:44:57 +00:00
Vignesh Natarajan
961bde27fe
Cron: guard missing expr in schedule parsing
2026-02-21 20:18:11 -08:00
Vignesh Natarajan
2830dafbe9
Cron: keep list/status responsive during startup catch-up
2026-02-21 19:13:04 -08:00
Peter Steinberger
fc2ed0b843
test(cron): dedupe webhook patch validation cases
2026-02-21 23:28:07 +00:00
Gustavo Madeira Santana
0e1aa77928
chore(tsgo/format): fix CI errors
2026-02-21 17:51:56 -05:00
Peter Steinberger
adedacbfe1
test(cron): dedupe delivery-target whatsapp stubs and cover sessionKey fallback
2026-02-21 21:40:39 +00:00