fix(cron): sanitize migrated legacy metadata

This commit is contained in:
Xubin Ren
2026-08-30 17:24:05 +08:00
parent 679a07460e
commit 1ac1b35c84
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -293,7 +293,12 @@ def test_load_store_migrates_legacy_delivery_context(tmp_path) -> None:
"deliver": True,
"channel": "telegram",
"to": "user-1",
"channelMeta": {"message_thread_id": 42},
"channelMeta": {
"message_thread_id": 42,
RUNTIME_CONTEXT_INPUT_META: [
{"source": "webui_quote", "content": "stale quote"}
],
},
"sessionKey": "telegram:user-1:topic:42",
},
"state": {},