mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-25 23:41:12 +00:00
* test(channels): mock core turn dispatch for delivery traces * test(telegram): scope bot tests to a fresh state dir Assembled turns resolve session/agent bindings through the state DB; an ambient operator Codex binding fails generation reclaim and drops the turn, adding misleading noise to reply-wait timeouts. * test(telegram): drive bot turn tests through a prepared-dispatch mock Core's turn lifecycle hard-wires its own provider dispatcher for assembled turns, so the harness's injected dispatcher never fires and every reply-wait turn test hangs to timeout locally. Convert resolved turns to prepared ones that dispatch through the harness mock, restoring the file's original authored contract. * test(telegram): mark trace token as synthetic * test(telegram): centralize trace dispatch mocks * test(telegram): preserve assembled dispatch wiring * test(telegram): guard trace dispatch seam * test(telegram): avoid duplicate turn lifecycle