openclaw/test/helpers
Vincent Koc 4ca84acf24
fix(runtime): duplicate messages, share singleton state across bundled chunks (#43683)
* Tests: add fresh module import helper

* Process: share command queue runtime state

* Agents: share embedded run runtime state

* Reply: share followup queue runtime state

* Reply: share followup drain callback state

* Reply: share queued message dedupe state

* Reply: share inbound dedupe state

* Tests: cover shared command queue runtime state

* Tests: cover shared embedded run runtime state

* Tests: cover shared followup queue runtime state

* Tests: cover shared inbound dedupe state

* Tests: cover shared Slack thread participation state

* Slack: share sent thread participation state

* Tests: document fresh import helper

* Telegram: share draft stream runtime state

* Tests: cover shared Telegram draft stream state

* Telegram: share sent message cache state

* Tests: cover shared Telegram sent message cache

* Telegram: share thread binding runtime state

* Tests: cover shared Telegram thread binding state

* Tests: avoid duplicate shared queue reset

* refactor(runtime): centralize global singleton access

* refactor(runtime): preserve undefined global singleton values

* test(runtime): cover undefined global singleton values

---------

Co-authored-by: Nimrod Gutman <nimrod.gutman@gmail.com>
2026-03-12 14:59:27 -04:00
..
dispatch-inbound-capture.ts refactor(agent): dedupe harness and command workflows 2026-02-16 14:59:30 +00:00
envelope-timestamp.ts Tests: trim timezone in envelope timestamp helper (#12446) 2026-02-09 09:04:54 +01:00
fast-short-timeouts.ts test(memory): share short-timeout test helper 2026-02-22 07:44:57 +00:00
gateway-e2e-harness.ts refactor(core): extract shared usage, auth, and display helpers 2026-03-02 08:54:20 +00:00
import-fresh.ts fix(runtime): duplicate messages, share singleton state across bundled chunks (#43683) 2026-03-12 14:59:27 -04:00
inbound-contract-capture.ts test(channels): dedupe inbound contract dispatch capture setup 2026-02-18 13:13:43 +00:00
inbound-contract-dispatch-mock.ts test(inbound): share dispatch capture mock across channels 2026-02-22 07:44:57 +00:00
inbound-contract.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
memory-tool-manager-mock.ts test(memory): share memory-tool manager mock fixture 2026-02-22 07:44:57 +00:00
mock-incoming-request.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
normalize-text.ts refactor: consolidate duplicate utility functions (#12439) 2026-02-08 23:59:43 -08:00
paths.ts
poll.ts refactor: consolidate duplicate utility functions (#12439) 2026-02-08 23:59:43 -08:00
temp-home.ts test: speed up heavy suites with shared fixtures 2026-03-02 21:58:35 +00:00
wizard-prompter.ts test(wizard): share onboarding prompter scaffold 2026-02-22 07:44:57 +00:00