You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/scripts/lib
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
8 months ago
..
bundled-extension-manifest.ts refactor: move bundled extension deps to plugin packages 8 months ago
callsite-guard.mjs refactor(scripts): share guard runners and paged select UI 9 months ago
optional-bundled-clusters.d.mts perf: reduce unit test hot path overhead 8 months ago
optional-bundled-clusters.d.ts perf: reduce unit test hot path overhead 8 months ago
optional-bundled-clusters.mjs refactor: install heavy plugins on demand 8 months ago
pairing-guard-context.mjs refactor(scripts): share guard runners and paged select UI 9 months ago
plugin-npm-release.ts Release: add plugin npm publish workflow (#47678) 8 months ago
plugin-sdk-entries.d.mts fix: restore ci type checks 8 months ago
plugin-sdk-entries.mjs feat: add nostr setup and unify channel setup discovery 8 months ago
plugin-sdk-entrypoints.json test: align extension runtime mocks with plugin-sdk (#51289) 8 months ago
ts-guard-utils.mjs refactor(scripts): share guard runners and paged select UI 9 months ago