openclaw/extensions/memory-core
Peter Steinberger 5b13ede5ea
fix(test): 20 more suites prepare compiled worker subprocesses inside their first test (#163554)
* 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.
2026-10-02 09:49:00 -07:00
..
assets improve(plugins): give bundled logos consistent white icon tiles (#155259) 2026-09-23 19:09:26 -07:00
src fix(test): 20 more suites prepare compiled worker subprocesses inside their first test (#163554) 2026-10-02 09:49:00 -07:00
api.ts perf(memory): warm retrieval worker after gateway readiness (#158563) 2026-09-25 19:54:43 -07:00
cli-metadata.test.ts
cli-metadata.ts refactor: simplify runtime adapters and remove obsolete code (#152277) 2026-09-18 19:35:45 -07:00
cli.ts refactor: simplify runtime adapters and remove obsolete code (#152277) 2026-09-18 19:35:45 -07:00
doctor-contract-api.test-support.ts refactor: compact agent storage and index full-text maintenance (#153683) 2026-09-21 16:23:13 -07:00
doctor-contract-api.test.ts refactor(memory-core): retire pre-July dreaming state imports (#163334) 2026-10-02 00:22:35 -07:00
doctor-contract-api.ts fix(memory): preserve historical dreaming jobs until Doctor repair (#157616) 2026-09-25 01:35:42 -07:00
doctor-dreaming-state.test.ts refactor(memory-core): retire pre-July dreaming state imports (#163334) 2026-10-02 00:22:35 -07:00
doctor-health-api.ts
index.test.ts fix(memory): avoid optional wiki warnings during normal recall (#157089) 2026-10-02 15:40:08 +08:00
index.ts refactor(plugins): deslop browser and memory sixth pass (#161207) 2026-09-29 07:01:50 -07:00
manager-runtime.ts refactor: simplify runtime adapters and remove obsolete code (#152277) 2026-09-18 19:35:45 -07:00
openclaw.plugin.json fix(memory): preserve historical dreaming jobs until Doctor repair (#157616) 2026-09-25 01:35:42 -07:00
package.json chore(deps): update fs-safe to 0.23.0 (#163408) 2026-10-02 05:14:28 -07:00
prewarm-api.ts perf(memory): warm retrieval worker after gateway readiness (#158563) 2026-09-25 19:54:43 -07:00
runtime-api.ts
search-api.ts fix(memory): preserve newer indexes and disclose automatic rebuild costs (#146908) 2026-09-13 16:18:26 +05:30
session-search-visibility-api.ts feat(plugins): prepare three bundled plugins for catalog publication (#150291) 2026-09-16 13:58:37 -07:00
status-api.ts perf(status): offload memory-presence inspection (#150988) 2026-09-17 09:43:55 -07:00
tsconfig.json
worker-api.ts feat(memory): read and update files on remote workspaces (#153124) 2026-09-19 18:53:57 -07:00