openclaw/extensions/bluebubbles/src
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
..
account-resolve.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
accounts.test.ts feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580) 2026-03-03 02:58:20 +00:00
accounts.ts fix(release): isolate bundled config docs loading 2026-03-18 16:01:43 -07:00
actions.runtime.ts refactor: consolidate lazy runtime surfaces 2026-03-17 00:59:20 -07:00
actions.test.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
actions.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
attachments.test.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
attachments.ts fix: persist outbound sends and skip stale cron deliveries (#50092) 2026-03-19 11:40:34 +09:00
channel.runtime.ts refactor: consolidate lazy runtime surfaces 2026-03-17 00:59:20 -07:00
channel.setup.ts fix(release): isolate bundled config docs loading 2026-03-18 16:01:43 -07:00
channel.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
chat.test.ts refactor: share bluebubbles multipart helpers 2026-03-13 23:35:28 +00:00
chat.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
config-apply.ts fix(release): isolate bundled config docs loading 2026-03-18 16:01:43 -07:00
config-schema.test.ts Secrets: add inline allowlist review set (#38314) 2026-03-06 19:35:26 -05:00
config-schema.ts fix(release): isolate bundled config docs loading 2026-03-18 16:01:43 -07:00
group-policy.test.ts BlueBubbles: move group policy behind plugin boundary 2026-03-18 03:40:42 +00:00
group-policy.ts fix: restore rebased full gate 2026-03-18 15:34:27 +00:00
history.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
media-send.test.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
media-send.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
monitor-debounce.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
monitor-normalize.test.ts test: dedupe bluebubbles normalize fixtures 2026-03-13 23:35:27 +00:00
monitor-normalize.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
monitor-processing.ts refactor: converge plugin sdk channel helpers 2026-03-19 00:25:19 +00:00
monitor-reply-cache.ts refactor(bluebubbles): split monitor parsing and processing modules 2026-02-13 19:08:37 +00:00
monitor-self-chat-cache.test.ts fix(bluebubbles): dedupe reflected self-chat duplicates (#38442) 2026-03-12 03:11:43 -04:00
monitor-self-chat-cache.ts fix(bluebubbles): dedupe reflected self-chat duplicates (#38442) 2026-03-12 03:11:43 -04:00
monitor-shared.ts fix(release): isolate bundled config docs loading 2026-03-18 16:01:43 -07:00
monitor.test.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
monitor.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
monitor.webhook-auth.test.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
monitor.webhook-route.test.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
multipart.ts refactor: share bluebubbles multipart helpers 2026-03-13 23:35:28 +00:00
probe.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
reactions.test.ts test: share bluebubbles removal reaction helper 2026-03-13 21:40:53 +00:00
reactions.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
request-url.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
runtime-api.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
runtime.ts Plugins: internalize bluebubbles SDK imports 2026-03-17 20:21:00 -07:00
secret-input.ts refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
send-helpers.ts fix: agent-only announce path, BB message IDs, sender identity, SSRF allowlist (#23970) 2026-03-01 22:52:11 -08:00
send.test.ts test: align extension runtime mocks with plugin-sdk (#51289) 2026-03-20 15:59:53 -07:00
send.ts fix: persist outbound sends and skip stale cron deliveries (#50092) 2026-03-19 11:40:34 +09:00
session-route.ts BlueBubbles: move outbound session routing behind plugin boundary 2026-03-18 04:09:48 +00:00
setup-core.ts refactor: deduplicate plugin setup and channel config helpers 2026-03-18 03:28:05 +00:00
setup-surface.test.ts fix(release): isolate bundled config docs loading 2026-03-18 16:01:43 -07:00
setup-surface.ts fix(release): isolate bundled config docs loading 2026-03-18 16:01:43 -07:00
targets.test.ts Outbound: move target resolution heuristics behind plugins 2026-03-18 04:24:54 +00:00
targets.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
test-harness.ts test: align extension runtime mocks with plugin-sdk (#51289) 2026-03-20 15:59:53 -07:00
test-mocks.ts refactor(extensions): dedupe connector helper usage 2026-02-16 14:59:30 +00:00
types.ts fix(release): isolate bundled config docs loading 2026-03-18 16:01:43 -07:00
webhook-shared.ts fix(release): isolate bundled config docs loading 2026-03-18 16:01:43 -07:00