mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 01:33:56 +00:00
* fix(cron): stop persisting "last" as literal delivery channel value The UI controller writes the sentinel value "last" into jobs.json when the delivery channel field is empty. This overwrites user-configured channels (e.g. "telegram") because the form populates with "last" as the default fallback, and saving the form materializes it as a literal persisted value. "last" is a runtime-only sentinel meaning "use whatever channel was last used in the session" and should never be written to jobs.json. When the channel field is empty, write `undefined` instead so the runtime delivery plan resolver applies the "last" fallback at execution time without polluting the persisted state. Fixes #68760 * fix(cron): keep last delivery sentinel runtime-only * fix: keep cron last delivery sentinel runtime-only (#68829) (thanks @tianhaocui) * fix: preserve clear-to-last cron updates (#68829) (thanks @tianhaocui) --------- Co-authored-by: Ayaan Zaidi <hi@obviy.us> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| index.html | ||
| package.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.node.config.ts | ||