mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 09:39:25 +00:00
* test(core): split oversized subprocess consumer suites Separate CLI lifecycle, Gateway startup, command dispatch, and bare-root flows; media reads and storage; catalog metadata and hosted persistence. Prepare workers during collection only for the six observed consumers. Keep all 221 cases, assertions, and fixture initialization order; the exit-only and catalog metadata files remain declaration-free. Prune the two split baselines and one already-stale baseline entry. Validation: 221 passing cases; six collection loads and two none results. Changed-file formatting/lint, affected tsgo graphs, both line-cap ratchets, and diff checks pass. The global changed-path typecheck remains blocked by the inherited agents-other root budget (724/720); affected graphs pass. The review's baseline concern was rejected against the native stale-entry check and direct lint of the unchanged target file. * fix(test): collect extension subprocess dependencies Move Anthropic's real process helper acquisition to collection while retaining vi.importActual and its mock reset behavior. Move DeepInfra and xAI's one-time subject imports and mock setup to collection, keeping their real HTTP transport and negative SSRF assertions intact. Validation: all 20 cases pass and first declaration loads are collection; all case names/counts are unchanged. Formatting and extension test types pass. The normal extension lint lane was blocked while preparing Plugin SDK declarations by its existing 300000 ms timeout; no timeout or guard was changed. The final candidate received the scoped P2 review recorded with the preceding core split commit. * test(plugin-sdk): preload compiled subprocesses for extension tests Move worker preparation into collection through a repo-local, non-production SDK subpath. Let Codex app-server setup preload declarations while keeping worker-cpu imports after file mocks; preserve per-test imports and assertions. Register private source and declaration aliases without adding package exports or production artifacts. Remove unused CLI fixture exports and reuse the alias normalization owner so the existing dead-export and line-cap gates pass. * fix(test): preload compiled subprocesses for newly screened suites * fix(test): preload remaining screened subprocess declarations Move compiled subprocess preparation out of test and hook deadlines in six confirmed declaration consumers. Preserve lazy imports, mock ordering, and assertions; keep the shared meeting plugin helper unchanged so platform-scoped loading retains its existing order. * style(test): keep Parallel suite separator * fix(test): preload compiled subprocesses for the remaining screened suites Finish the compiled-subprocess deadline screen that #163254 left at its direct-signal tier. Twenty more suites reached their first compiled-subprocess declaration inside a test body, so the invocation's worker preparation ran inside that test's deadline. Nineteen suites hit the declaration through a production-owned lazy import (lazy runtimes, lazy CLI command loading, lazy SDK media, secret and schema loaders) and take the existing preload: the core module for src suites, openclaw/plugin-sdk/compiled-subprocess-testing for extensions. control-ui-assets moves its in-test vi.importActual of the real exec module to collection instead. * fix(test): preload compiled subprocesses for the Discord state migration suite Main's #163329 rewrote this suite and retired the lazy thread-binding import that the first commit targeted, so the merge took main's file. A re-screen of the merged tree still recorded its first declaration load inside the first test: migrateLegacyState now reaches it through the SDK doctor-migration plan adapter's lazy state-migrations import. Restore the preload; the suite loads the declaration at collection again. |
||
|---|---|---|
| .. | ||
| assets | ||
| src | ||
| api.ts | ||
| cli-metadata.test.ts | ||
| cli-metadata.ts | ||
| cli.ts | ||
| doctor-contract-api.test-support.ts | ||
| doctor-contract-api.test.ts | ||
| doctor-contract-api.ts | ||
| doctor-dreaming-state.test.ts | ||
| doctor-health-api.ts | ||
| index.test.ts | ||
| index.ts | ||
| manager-runtime.ts | ||
| openclaw.plugin.json | ||
| package.json | ||
| prewarm-api.ts | ||
| runtime-api.ts | ||
| search-api.ts | ||
| session-search-visibility-api.ts | ||
| status-api.ts | ||
| tsconfig.json | ||
| worker-api.ts | ||