openclaw/extensions/matrix
Josh Lehman 2364e45fe4
test: align extension runtime mocks with plugin-sdk (#51289)
* test: align extension runtime mocks with plugin-sdk

Update stale extension tests to mock the plugin-sdk runtime barrels that production code now imports, and harden the Signal tool-result harness around system-event assertions so the channels lane matches current extension boundaries.

Regeneration-Prompt: |
  Verify the failing channels-lane tests against current origin/main in an isolated worktree before changing anything. If the failures reproduce on main, keep the fix test-only unless production behavior is clearly wrong. Recent extension refactors moved Telegram, WhatsApp, and Signal code onto plugin-sdk runtime barrels, so update stale tests that still mock old core module paths to intercept the seams production code now uses. For Signal reaction notifications, avoid brittle assertions that depend on shared queued system-event state when a direct harness spy on enqueue behavior is sufficient. Preserve scope: only touch the failing tests and their local harness, then rerun the reproduced targeted tests plus the full channels lane and repo check gate.

* test: fix extension test drift on main

* fix: lazy-load bundled web search plugin registry

* test: make matrix sweeper failure injection portable

* fix: split heavy matrix runtime-api seams

* fix: simplify bundled web search id lookup

* test: tolerate windows env key casing
2026-03-20 15:59:53 -07:00
..
src test: align extension runtime mocks with plugin-sdk (#51289) 2026-03-20 15:59:53 -07:00
CHANGELOG.md build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
api.ts test(contracts): cover matrix session binding adapters (#50369) 2026-03-19 10:26:37 -04:00
helper-api.ts Matrix: rebuild plugin migration branch 2026-03-19 01:58:29 -04:00
index.test.ts Matrix: fix runtime encryption loading 2026-03-19 11:08:17 -04:00
index.ts Matrix: rebuild plugin migration branch 2026-03-19 01:58:29 -04:00
legacy-crypto-inspector.ts Matrix: rebuild plugin migration branch 2026-03-19 01:58:29 -04:00
openclaw.plugin.json
package.json Matrix: rebuild plugin migration branch 2026-03-19 01:58:29 -04:00
runtime-api.ts test: align extension runtime mocks with plugin-sdk (#51289) 2026-03-20 15:59:53 -07:00
setup-entry.ts refactor: dedupe channel entrypoints and test bridges 2026-03-16 23:52:23 -07:00
thread-bindings-runtime.ts Matrix: fix Jiti runtime API boundary 2026-03-19 11:40:44 -04:00