Files
openclaw/extensions
Peter Steinberger 884fdba81c fix(telegram): local turn tests complete on macOS (#110894)
* 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
2026-07-18 19:52:27 +01:00
..