mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-27 18:01:46 +00:00
perf: shrink unit singleton isolation tail
This commit is contained in:
162
test/fixtures/test-parallel.behavior.json
vendored
162
test/fixtures/test-parallel.behavior.json
vendored
@@ -20,6 +20,10 @@
|
||||
{
|
||||
"file": "extensions/imessage/src/monitor.shutdown.unhandled-rejection.test.ts",
|
||||
"reason": "Touches process-level unhandledRejection listeners."
|
||||
},
|
||||
{
|
||||
"file": "src/secrets/runtime.integration.test.ts",
|
||||
"reason": "Passes alone but flakes in the batched singleton fork lane; keep it in a dedicated fork worker."
|
||||
}
|
||||
],
|
||||
"singletonIsolated": [
|
||||
@@ -27,18 +31,10 @@
|
||||
"file": "src/plugins/provider-wizard.test.ts",
|
||||
"reason": "Retained ~318 MiB in an isolated memory trace and is safer outside the shared unit-fast lane."
|
||||
},
|
||||
{
|
||||
"file": "src/config/doc-baseline.integration.test.ts",
|
||||
"reason": "Builds the full bundled config schema graph and is safer outside the shared unit-fast heap."
|
||||
},
|
||||
{
|
||||
"file": "src/secrets/runtime.test.ts",
|
||||
"reason": "Secrets runtime coverage retained the largest unit-fast heap spike in CI and is safer outside the shared lane."
|
||||
},
|
||||
{
|
||||
"file": "src/secrets/runtime.integration.test.ts",
|
||||
"reason": "Secrets runtime activation/write-through integration coverage fails under a direct full-unit threads run and is safer on the fork singleton lane."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/index.test.ts",
|
||||
"reason": "Memory index coverage retained nearly 1 GiB in unit-fast on Linux CI and is safer in its own fork."
|
||||
@@ -63,14 +59,6 @@
|
||||
"file": "src/config/redact-snapshot.schema.test.ts",
|
||||
"reason": "Schema-backed redaction round-trip coverage loads the full config schema graph and is safer outside the shared lane."
|
||||
},
|
||||
{
|
||||
"file": "src/infra/outbound/message-action-runner.media.test.ts",
|
||||
"reason": "Outbound media action coverage retained a large media/plugin graph in unit-fast."
|
||||
},
|
||||
{
|
||||
"file": "src/media-understanding/apply.echo-transcript.test.ts",
|
||||
"reason": "Media understanding echo transcript coverage retained a large processing graph in unit-fast."
|
||||
},
|
||||
{
|
||||
"file": "src/plugin-sdk/index.test.ts",
|
||||
"reason": "Plugin SDK index coverage retained a broad export graph in unit-fast and is safer outside the shared lane."
|
||||
@@ -79,10 +67,6 @@
|
||||
"file": "src/plugin-sdk/index.bundle.test.ts",
|
||||
"reason": "Plugin SDK bundle validation builds and imports the full bundled export graph and is safer outside the shared lane."
|
||||
},
|
||||
{
|
||||
"file": "src/config/sessions.cache.test.ts",
|
||||
"reason": "Session cache coverage retained a large config/session graph in unit-fast on Linux CI."
|
||||
},
|
||||
{
|
||||
"file": "src/secrets/runtime.coverage.test.ts",
|
||||
"reason": "Secrets runtime coverage tests retained substantial heap in unit-fast and are safer isolated."
|
||||
@@ -91,26 +75,6 @@
|
||||
"file": "src/channels/plugins/contracts/registry.contract.test.ts",
|
||||
"reason": "Plugin contract registry coverage retained a large cross-plugin graph in both failing unit-fast shards."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/manager.get-concurrency.test.ts",
|
||||
"reason": "Memory manager cache concurrency coverage can spike shared unit-fast heap on Linux Node 24."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/manager.vector-dedupe.test.ts",
|
||||
"reason": "Vector dedupe coverage exercises the memory manager/sqlite stack and is safer outside shared unit-fast forks."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/manager.watcher-config.test.ts",
|
||||
"reason": "Watcher config coverage reuses memory manager caches and is safer outside shared unit-fast forks."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/manager.embedding-batches.test.ts",
|
||||
"reason": "Embedding batch coverage inflates memory manager state and is safer outside shared unit-fast forks."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/manager.readonly-recovery.test.ts",
|
||||
"reason": "Readonly recovery coverage exercises sqlite reopen flows and is safer outside shared unit-fast forks."
|
||||
},
|
||||
{
|
||||
"file": "src/acp/persistent-bindings.test.ts",
|
||||
"reason": "Persistent bindings coverage retained a large unit-fast heap spike on Linux CI and is safer outside the shared lane."
|
||||
@@ -123,98 +87,22 @@
|
||||
"file": "src/cli/config-cli.integration.test.ts",
|
||||
"reason": "Config CLI integration coverage retained a large shared unit-fast heap spike on Linux CI."
|
||||
},
|
||||
{
|
||||
"file": "src/cli/config-cli.test.ts",
|
||||
"reason": "Config CLI coverage retained a large shared unit-fast heap spike on Linux Node 24 CI."
|
||||
},
|
||||
{
|
||||
"file": "src/config/plugin-auto-enable.test.ts",
|
||||
"reason": "Plugin auto-enable coverage retained a large shared unit-fast heap spike on Linux Node 22 CI."
|
||||
},
|
||||
{
|
||||
"file": "src/cron/service.runs-one-shot-main-job-disables-it.test.ts",
|
||||
"reason": "One-shot cron service coverage retained a top shared unit-fast heap spike in the March 19, 2026 Linux Node 22 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/cron/isolated-agent.direct-delivery-core-channels.test.ts",
|
||||
"reason": "Direct-delivery isolated-agent coverage retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 OOM lane."
|
||||
"reason": "Passes alone on shared threads, but flakes in the full shared unit stream and stays safer on the singleton lane."
|
||||
},
|
||||
{
|
||||
"file": "src/cron/service.issue-regressions.test.ts",
|
||||
"reason": "Issue regression cron coverage retained the largest shared unit-fast heap spike in the March 20, 2026 Linux Node 22 and Node 24 OOM lanes."
|
||||
},
|
||||
{
|
||||
"file": "src/cron/store.test.ts",
|
||||
"reason": "Cron store coverage retained a large shared unit-fast heap spike on Linux Node 24 CI."
|
||||
},
|
||||
{
|
||||
"file": "src/context-engine/context-engine.test.ts",
|
||||
"reason": "Context-engine coverage retained the largest shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 1 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/acp/control-plane/manager.test.ts",
|
||||
"reason": "ACP control-plane manager coverage retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 22 and Node 24 OOM lanes."
|
||||
},
|
||||
{
|
||||
"file": "src/acp/translator.stop-reason.test.ts",
|
||||
"reason": "ACP translator stop-reason coverage retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 2 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/infra/exec-approval-forwarder.test.ts",
|
||||
"reason": "Exec approval forwarder coverage retained a top shared unit-fast heap spike in the March 19, 2026 Linux Node 22 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/infra/restart-stale-pids.test.ts",
|
||||
"reason": "Restart-stale-pids coverage retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 1 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/infra/heartbeat-runner.respects-ackmaxchars-heartbeat-acks.test.ts",
|
||||
"reason": "Heartbeat ack max chars coverage retained a recurring shared unit-fast heap spike across Linux CI lanes."
|
||||
},
|
||||
{
|
||||
"file": "src/infra/heartbeat-runner.returns-default-unset.test.ts",
|
||||
"reason": "Heartbeat default-unset coverage retained a large shared unit-fast heap spike on Linux Node 22 CI."
|
||||
},
|
||||
{
|
||||
"file": "src/infra/outbound/outbound-session.test.ts",
|
||||
"reason": "Outbound session coverage retained a large shared unit-fast heap spike on Linux Node 22 CI."
|
||||
},
|
||||
{
|
||||
"file": "src/infra/outbound/payloads.test.ts",
|
||||
"reason": "Outbound payload coverage retained a large shared unit-fast heap spike on Linux Node 24 CI."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/manager.mistral-provider.test.ts",
|
||||
"reason": "Mistral provider coverage retained a large shared unit-fast heap spike on Linux Node 24 CI."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/manager.batch.test.ts",
|
||||
"reason": "Memory manager batch coverage retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 22 and Node 24 OOM lanes."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/qmd-manager.test.ts",
|
||||
"reason": "QMD manager coverage retained recurring shared unit-fast heap spikes across Linux CI lanes."
|
||||
},
|
||||
{
|
||||
"file": "src/media-understanding/providers/image.test.ts",
|
||||
"reason": "Image provider coverage retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 2 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/plugins/contracts/auth.contract.test.ts",
|
||||
"reason": "Plugin auth contract coverage retained a large shared unit-fast heap spike on Linux Node 24 CI."
|
||||
},
|
||||
{
|
||||
"file": "src/plugins/contracts/discovery.contract.test.ts",
|
||||
"reason": "Plugin discovery contract coverage retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 1 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/plugins/hooks.phase-hooks.test.ts",
|
||||
"reason": "Phase hooks coverage retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 2 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/channels/plugins/plugins-core.test.ts",
|
||||
"reason": "Core plugin coverage retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 22 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/secrets/apply.test.ts",
|
||||
"reason": "Secrets apply coverage retained a large shared unit-fast heap spike on Linux Node 22 CI."
|
||||
@@ -231,57 +119,17 @@
|
||||
"file": "src/media-understanding/apply.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike across the March 20, 2026 Linux Node 22 and Node 24 OOM lanes."
|
||||
},
|
||||
{
|
||||
"file": "src/plugins/commands.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 22 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/infra/outbound/message-action-runner.plugin-dispatch.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 22 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/acp/translator.session-rate-limit.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 22 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/config/schema.hints.test.ts",
|
||||
"reason": "Missing from unit timings and retained a recurring shared unit-fast heap spike across the March 20, 2026 Linux Node 22 and Node 24 OOM lanes."
|
||||
},
|
||||
{
|
||||
"file": "src/tui/tui-event-handlers.test.ts",
|
||||
"reason": "Missing from unit timings and retained the largest shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 1 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/manager.read-file.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 1 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/plugin-sdk/webhook-targets.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 1 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/daemon/systemd.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 1 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/cron/isolated-agent/delivery-target.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 1 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/cron/delivery.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 2 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/memory/manager.sync-errors-do-not-crash.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 2 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/tui/tui.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 2 OOM lane."
|
||||
},
|
||||
{
|
||||
"file": "src/cron/service.every-jobs-fire.test.ts",
|
||||
"reason": "Missing from unit timings and retained a top shared unit-fast heap spike in the March 20, 2026 Linux Node 24 shard 2 OOM lane."
|
||||
}
|
||||
],
|
||||
"threadSingleton": [
|
||||
|
||||
Reference in New Issue
Block a user