Files
openclaw/src/state
Yuval Dinodia 4b9c51c5c5 fix(cron): preserve delivery thread id type across SQLite round-trip (#98699)
* fix(cron): preserve delivery thread id type across SQLite reload

A numeric delivery threadId such as a Telegram forum topic id reloaded as
a string after a gateway restart because the split delivery_thread_id
column stores TEXT. resolveCronDeliveryPlan and channel delivery are type
sensitive, so the numeric topic id was forwarded as a string and dropped
the configured topic.

Source the delivery threadId type from the canonical job_json config on
read, falling back to the raw column text. Both freshly written rows and
legacy bare-text rows keep string versus number identity without any
column format change or migration.

* fix(cron): recover typed delivery thread id when split column is null

* fix(cron): persist delivery thread ID type

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-05 12:53:02 -07:00
..