openclaw/extensions
Peter Steinberger 931c7b40b2
fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792)
* fix(test): load compiled-subprocess declarations at collection

The first load of a compiled-subprocess declaration in a Vitest invocation
prepares the whole compiled worker generation (tens of seconds warm, minutes
cold). 387 test files first reached a declaration through an await import()
inside a test body or hook, so their first test or hook absorbed that
preparation and could time out.

Move those loads to collection at their owner: static subject imports,
static imports in the shared helpers that owned the lazy load, and a named
side-effect preload (src/test-utils/prepare-compiled-subprocesses.ts) for
suites that re-import their subject per test or whose first load happens in
production code they call. plugin-test-runtime keeps the host-capability
fixture lazy so its other consumers do not start loading that graph.
Document the rule in docs/help/testing/writing-tests.md.

335 of the 387 files now load their first declaration before collection
ends; 52 remain (48 extension tests needing an SDK preload, one package
test, three files over the line cap).

* fix(test): retain npm install fixture reuse

Preserve the existing failedSpawn reuse after merging main so the collection-time preload stays within the line-cap ratchet. Assertions and import ordering are unchanged.

* fix(test): keep memory-core facade cold-import assertion meaningful

The static subject import ran before beforeEach reset the loader mock, so the cold-import assertion passed vacuously. Restore the in-test subject imports after mock setup and preload the compiled-subprocess declaration during collection instead.
2026-10-01 11:42:59 -07:00
..
a2a chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
acpx refactor(schemas): deslop shared schema contracts (#162804) 2026-10-01 17:43:04 +00:00
active-memory refactor(plugins): deslop feature plugin helpers (#162805) 2026-10-01 11:37:40 -07:00
admin-http-rpc chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
agentsapi fix(test): session-store suites fail teardown with ENOTEMPTY while agent-database workers are live (#161871) 2026-10-01 17:10:24 +00:00
alibaba chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
amazon-bedrock refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
amazon-bedrock-mantle refactor(providers): deslop model-provider plugins fifth pass (#161903) 2026-09-30 07:02:48 -07:00
anthropic refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
anthropic-vertex refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
apple-fm chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
arcee chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
azure-speech refactor(plugins): collapse long-tail registration and runtime wrappers (#161751) 2026-09-30 01:30:55 -07:00
baseten chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
beam refactor(plugins): deslop long-tail extensions third pass (#161644) 2026-09-29 23:16:58 -07:00
bonjour refactor(plugins): deslop long-tail extensions third pass (#161644) 2026-09-29 23:16:58 -07:00
brave chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
browser fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
buzz refactor(channels): deslop channel plugins (#162603) 2026-10-01 10:14:06 +00:00
byteplus chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
canvas fix(plugins): prevent duplicate actions, resource leaks, and invalid results (#161706) 2026-09-30 07:41:09 +00:00
cerebras refactor(providers): deslop model-provider plugins fifth pass (#161903) 2026-09-30 07:02:48 -07:00
chutes refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
clawrouter chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
clickclack refactor(channels): move repeated contract boilerplate onto shared helpers (#162827) 2026-10-01 09:24:55 -07:00
cloudflare feat: back up to external disks and Cloudflare R2 with storage locations (#161913) 2026-10-01 02:05:44 -07:00
cloudflare-ai-gateway refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
code-mode-quickjs feat(agents): expose installed skill search across harnesses (#158091) 2026-10-01 11:11:13 +00:00
codex fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
cohere chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
comfy refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
copilot fix(test): session-store suites fail teardown with ENOTEMPTY while agent-database workers are live (#161871) 2026-10-01 17:10:24 +00:00
copilot-proxy chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
crabbox test(crabbox): align truncated retry proof (#162721) 2026-10-01 20:49:39 +07:00
cua-computer chore(deps): update fs-safe to 0.22.0 (#162574) 2026-10-01 05:02:42 -07:00
deepgram chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
deepinfra refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
deepseek chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
device-pair refactor(plugins): deslop long-tail extensions second pass (#161390) 2026-09-29 16:19:05 -07:00
diagnostics-otel refactor(plugins): deslop feature plugin helpers (#162805) 2026-10-01 11:37:40 -07:00
diagnostics-prometheus test(prometheus): await metric scrapes before assertions (#161986) 2026-09-30 16:36:13 +00:00
diffs refactor(plugins): deslop feature plugin helpers (#162805) 2026-10-01 11:37:40 -07:00
diffs-language-pack refactor(plugins): deslop feature plugin helpers (#162805) 2026-10-01 11:37:40 -07:00
discord fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
document-extract refactor(plugins): deslop long-tail extensions third pass (#161644) 2026-09-29 23:16:58 -07:00
duckduckgo refactor(plugins): deslop long-tail extensions third pass (#161644) 2026-09-29 23:16:58 -07:00
elevenlabs chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
exa refactor(plugins): collapse long-tail registration and runtime wrappers (#161751) 2026-09-30 01:30:55 -07:00
facetime refactor(plugins): deslop feature plugin helpers (#162805) 2026-10-01 11:37:40 -07:00
fal refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
featherless chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
feishu fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
file-transfer chore(deps): update fs-safe to 0.22.0 (#162574) 2026-10-01 05:02:42 -07:00
firecrawl chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
fireworks chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
fish-audio-speech chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
geolocation refactor(plugins): deslop long-tail extensions third pass (#161644) 2026-09-29 23:16:58 -07:00
github perf(github): share one two-second upstream budget across a preview (#161653) 2026-09-30 05:48:35 +00:00
github-copilot refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
gmi chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
google refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
google-meet fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
googlechat fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
gradium chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
groq refactor(providers): deslop model-provider plugins fifth pass (#161903) 2026-09-30 07:02:48 -07:00
huggingface chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
image-generation-core chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
imap fix(imap): bound backlog message retention during sweeps (#160413) 2026-09-30 15:34:08 +08:00
imessage refactor(channels): reuse reply preparation primitives 2026-10-01 10:39:31 -07:00
inworld refactor(plugins): deslop long-tail extensions third pass (#161644) 2026-09-29 23:16:58 -07:00
irc refactor(channels): move repeated contract boilerplate onto shared helpers (#162827) 2026-10-01 09:24:55 -07:00
kie refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
kilocode refactor(providers): deslop provider plumbing 2026-10-01 02:18:11 +00:00
kimi-coding refactor(providers): deslop provider plumbing 2026-10-01 02:18:11 +00:00
line fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
linux-node refactor(plugins): deslop long-tail extensions third pass (#161644) 2026-09-29 23:16:58 -07:00
litellm refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
llama-cpp chore(deps): update fs-safe to 0.22.0 (#162574) 2026-10-01 05:02:42 -07:00
llm-task refactor(plugins): deslop long-tail extensions third pass (#161644) 2026-09-29 23:16:58 -07:00
lmstudio refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
lobster feat(lobster): support structured workflow input (#162003) 2026-10-01 02:51:23 -07:00
logbook fix(plugins): prevent duplicate actions, resource leaks, and invalid results (#161706) 2026-09-30 07:41:09 +00:00
longcat chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
matrix fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
mattermost fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
memory-core fix(test): session-store suites fail teardown with ENOTEMPTY while agent-database workers are live (#161871) 2026-10-01 17:10:24 +00:00
memory-lancedb fix(plugins): prevent duplicate actions, resource leaks, and invalid results (#161706) 2026-09-30 07:41:09 +00:00
memory-wiki refactor(plugins): deslop feature runtime helpers (#162425) 2026-10-01 08:04:09 +00:00
meta chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
microsoft chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
microsoft-foundry refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
migrate-claude chore(deps): update fs-safe to 0.22.0 (#162574) 2026-10-01 05:02:42 -07:00
migrate-hermes chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
minimax refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
mistral chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
moonshot refactor(providers): deslop model-provider plugins fifth pass (#161903) 2026-09-30 07:02:48 -07:00
msteams refactor(plugin-sdk)!: retire deprecated compatibility facades (#162333) 2026-10-01 04:12:01 -07:00
mxc chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
nextcloud-talk refactor(channels): deslop reply formatting and normalization (#162509) 2026-10-01 01:10:16 -07:00
nostr test(runtime,plugins): remove low-value tests (batch d126) (#162605) 2026-10-01 11:33:24 +00:00
novita chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
nvidia refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
oc-path test(core,plugins): remove low-value tests (batch d125) (#162544) 2026-10-01 08:34:49 +00:00
ollama fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
onepassword fix(test): Codex transport, 1Password, browser, and QA-lab extension tests time out on loaded hosts while polling fixture files (#162674) 2026-10-01 08:38:07 -07:00
onnx refactor(plugins): deslop feature plugin helpers (#162805) 2026-10-01 11:37:40 -07:00
openai fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
opencode refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
opencode-go refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
openrouter refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
openshell chore(deps): update fs-safe to 0.22.0 (#162574) 2026-10-01 05:02:42 -07:00
parallel refactor(plugins): collapse long-tail registration and runtime wrappers (#161751) 2026-09-30 01:30:55 -07:00
perplexity chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
pixverse chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
policy refactor(policy): deslop policy (#161988) 2026-09-30 16:39:48 +00:00
qa-channel chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
qa-lab fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
qianfan chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
qwen refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
radius refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
raft chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
reef chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
runway chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
searxng refactor(plugins): collapse long-tail registration and runtime wrappers (#161751) 2026-09-30 01:30:55 -07:00
senseaudio chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
session-share chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
sglang refactor(test): remove redundant vLLM fixtures (#162253) 2026-10-01 09:21:59 +07:00
signal refactor(channels): deslop reply and adapter seams 2026-10-01 18:23:27 +00:00
slack fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
slack-huddles test(meeting): test shared plugin behavior once at its owner (#162381) 2026-09-30 21:27:39 -07:00
sms refactor(channels): move repeated contract boilerplate onto shared helpers (#162827) 2026-10-01 09:24:55 -07:00
stepfun refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
synology-chat chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
synthetic chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
talk-voice refactor(plugins): deslop long-tail extensions (#161096) 2026-09-29 03:46:06 -07:00
tavily refactor(plugins): collapse long-tail registration and runtime wrappers (#161751) 2026-09-30 01:30:55 -07:00
team-reports chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
teams-meetings test(meeting): test shared plugin behavior once at its owner (#162381) 2026-09-30 21:27:39 -07:00
telegram fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
tencent chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
test-support
tlon fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
together chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
tokenjuice chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
tts-local-cli chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
twitch refactor(channels): reuse reply preparation primitives 2026-10-01 10:39:31 -07:00
typesafe feat: optionally omit tools on conversational turns (#153340) 2026-10-01 09:33:15 -07:00
vault refactor(plugins): deslop feature runtime helpers (#162425) 2026-10-01 08:04:09 +00:00
venice refactor(providers): deslop model-provider plugins fifth pass (#161903) 2026-09-30 07:02:48 -07:00
vercel-ai-gateway refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
visitor-access fix: invite GitHub visitors without a public email (#162666) 2026-10-01 17:12:53 +01:00
vllm refactor(test): remove redundant vLLM fixtures (#162253) 2026-10-01 09:21:59 +07:00
voice-call refactor(plugins): deslop feature plugin helpers (#162805) 2026-10-01 11:37:40 -07:00
volcengine chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
voyage chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
vydra refactor(providers): deslop provider adapters (#162488) 2026-10-01 05:41:53 -07:00
web-readability chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
whatsapp fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
workboard refactor(plugins): deslop feature plugin helpers (#162805) 2026-10-01 11:37:40 -07:00
xai refactor(providers): deslop provider glue (#162897) 2026-10-01 18:03:40 +00:00
xiaomi chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
zai refactor(providers): deslop model-provider plugins fifth pass (#161903) 2026-09-30 07:02:48 -07:00
zalo refactor(channels): move repeated contract boilerplate onto shared helpers (#162827) 2026-10-01 09:24:55 -07:00
zalouser refactor(channels): deslop reply and adapter seams 2026-10-01 18:23:27 +00:00
zoom-meetings test(meeting): test shared plugin behavior once at its owner (#162381) 2026-09-30 21:27:39 -07:00
.npmignore
ACTIVITY_ICON_SOURCES.md fix(kie): include bundled plugin artwork (#160529) 2026-09-28 23:07:24 +07:00
AGENTS.md
ICON_SOURCES.md fix(kie): use Kie AI's own mark for plugin artwork 2026-09-28 09:44:23 -07:00
music-generation-providers.live.test.ts
plugin-entry.cli-laziness.test.ts fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
tsconfig.json refactor: delete unreferenced production code (#159847) 2026-09-29 21:47:06 -07:00
tsconfig.package-boundary.base.json
tsconfig.package-boundary.paths.json refactor(plugin-sdk)!: retire deprecated compatibility facades (#162333) 2026-10-01 04:12:01 -07:00
video-generation-providers.live.test.ts feat(video): add Kie AI, Z.AI, and Novita video generation (#160080) 2026-09-28 12:48:22 +00:00