openclaw/test/helpers
Peter Steinberger 7a62f6ec18
test(config): convert the remaining runtime fixtures to keyed agents.entries (#163512)
Follow-up to #163475: more test fixtures (OAuth refresh cancel, models auth API key, relogin persistence, the shared trigger-handling harness, cold-storage backup, cost-usage archive identity, heartbeat scheduler, and the caller-mode state-migration family) still authored the retired agents.list roster and were rejected at config admission after #162612 moved that migration into Doctor. Fixtures loaded as runtime config now use keyed agents.entries with explicit owners; Doctor migration tests that intentionally feed the legacy shape are unchanged. Production LOC 0.

Refs #162612 #163475
2026-10-02 05:33:07 -07:00
..
agents fix: prompt snapshots fail with configured media credentials (#162263) 2026-10-01 03:33:59 +00:00
auto-reply test(config): convert the remaining runtime fixtures to keyed agents.entries (#163512) 2026-10-02 05:33:07 -07:00
config
cron refactor(cron): offload scheduler state writes (#161703) 2026-09-30 13:09:40 +00:00
gateway fix(config): settle writes after invalid canonical rereads (#161868) 2026-09-30 05:52:03 -07:00
infra
media-generation
AGENTS.md
apfs.ts feat(worktrees): share source storage with APFS clones (#146338) 2026-09-12 12:38:35 -07:00
auth-wizard.test.ts refactor(tests): import SQLite cleanup from native owners (#145731) 2026-09-12 00:29:25 -07:00
auth-wizard.ts
bounded-child-output.test.ts test(core,plugins): remove low-value tests (batch d029) (#158964) 2026-09-26 15:31:59 +00:00
bounded-child-output.ts
browser-bundled-plugin-fixture.ts
canonical-descendant-state.ts fix: prevent temporary-file exhaustion from SQLite coordination (#157413) 2026-09-27 05:30:41 -07:00
captured-io.ts
channel-admission-evidence.ts fix: recognize verified team admins as channel owners (#153508) 2026-09-21 19:56:45 -07:00
claude-cli-native-spawn-proof.ts fix(agents): npm-installed Claude CLI fails to launch on Windows (#138504) 2026-09-19 16:13:54 +05:30
close-on-exec-copy.test.ts test: route executable fixture tree copies through one close-on-exec helper (#163056) 2026-10-01 16:25:16 -07:00
close-on-exec-copy.ts test: route executable fixture tree copies through one close-on-exec helper (#163056) 2026-10-01 16:25:16 -07:00
command-fixture.ts fix: keep PR landing working across GitHub API quotas (#154376) 2026-09-21 06:40:29 +00:00
config-mutation-lock.ts fix(config): preserve authored settings through updates and setup (#140579) 2026-09-07 16:12:38 -07:00
desktop-resize-real-fixture.test.ts fix(test): restore the real Gateway desktop proof 2026-09-21 21:24:49 -07:00
export-html-template.ts refactor(reply): share export output line formatting (#147140) 2026-09-14 02:20:18 +08:00
fixture-diagnostics.ts fix: PR landing fails on exhausted GitHub quota (#154558) 2026-09-21 08:19:59 +00:00
fixture-lifetime.ts fix: isolate triage fixture acquisition and cleanup (#155736) 2026-09-22 06:54:21 -07:00
fixture-receipts.test.ts fix(test): release-gated fixtures still poll release files; add release and exit receipts to the fixture receipt helper (#163063) 2026-10-01 16:05:20 -07:00
fixture-receipts.ts fix(test): release-gated fixtures still poll release files; add release and exit receipts to the fixture receipt helper (#163063) 2026-10-01 16:05:20 -07:00
fs-large-directory-id.ts refactor: adopt fs-safe 0.16 and remove duplicate filesystem logic (#152972) 2026-09-19 13:50:32 -07:00
fs-safe-root.test-support.ts fix: preserve file operations with fs-safe 0.13.1 (#150263) 2026-09-16 17:21:11 -07:00
full-release-candidate.ts
gateway-client.test.ts chore(deps): refresh dependencies with a seven-day cutoff (#156363) 2026-09-23 17:35:48 +00:00
gateway-client.ts fix(test): Gateway e2e connect fails with 1006 when another fixture takes the instance port (#163003) 2026-10-01 23:04:05 -07:00
gateway-codex-harness-native-subagent.ts refactor: remove Tasks and TaskFlow runtime (#159179) 2026-09-27 10:40:29 -07:00
gateway-codex-harness.ts refactor: remove Tasks and TaskFlow runtime (#159179) 2026-09-27 10:40:29 -07:00
gateway-e2e-harness.test.ts test(core,plugins): remove low-value tests (batch d029) (#158964) 2026-09-26 15:31:59 +00:00
gateway-e2e-harness.ts
gateway-multi-acquisition.test.ts fix(test): first test or hook times out while compiled worker subprocesses prepare (#162792) 2026-10-01 11:42:59 -07:00
gateway-status-acquisition.test.ts fix(state): preserve admission when a retired inode is reused (#154176) 2026-09-20 17:31:06 -07:00
gateway-websocket.ts
image-fixtures.ts
live-image-probe.test.ts test(core,plugins): remove low-value tests (batch d029) (#158964) 2026-09-26 15:31:59 +00:00
live-image-probe.ts
loopback-dns.ts
mac-native.ts test(macos): keep fat64 fixture with signing tests (#131682) 2026-09-26 15:17:43 -07:00
mac-signing.ts feat(macos): run the private app runtime on the OpenClaw Bun fork (#161603) 2026-09-30 01:27:03 -07:00
managed-handoff-isolation.test.ts test: select Node for maintainer tooling fixtures (#162550) 2026-10-01 02:20:15 -07:00
managed-handoff-isolation.ts chore: stop Bun tests depending on enumeration order and global timer counts (#162450) 2026-10-01 00:38:38 -07:00
mock-logger.ts refactor(tests): share fresh core logger fixtures (#141911) 2026-09-07 23:16:39 -07:00
native-module-mock.ts fix(runtime): close Bun API cluster loader and fixture gaps (#163052) 2026-10-01 16:40:33 -07:00
node-toolchain.ts test(helpers): resolve npm beside Node so pnpm test does not run the npm shim (#161087) 2026-09-30 09:04:41 +00:00
node-version-cases.ts
normalize-text.ts
openai-long-context-live.test.ts test(core,plugins): remove low-value tests (batch d029) (#158964) 2026-09-26 15:31:59 +00:00
openai-long-context-live.ts fix: skip official setup approvals and default to Astra (#145646) 2026-09-12 00:34:25 -07:00
openai-responses-events.ts test(core,ai,ui): remove low-value tests (batch d124) (#162423) 2026-10-01 00:06:38 -07:00
openai-responses-sse.ts
openclaw-test-instance.acquisition.test.ts fix(test): keep absent Gateway status fixtures unreachable (#161032) 2026-09-29 00:58:46 -07:00
openclaw-test-instance.port-collision.test.ts fix(test): Gateway e2e connect fails with 1006 when another fixture takes the instance port (#163003) 2026-10-01 23:04:05 -07:00
openclaw-test-instance.runtime.test.ts fix(test): preserve selected CLI and Gateway runtime (#154809) 2026-09-21 06:01:47 -07:00
openclaw-test-instance.test.ts fix(test): process-wait helpers race their own wall-clock deadlines; bind them to the test's abort signal (#163321) 2026-10-02 00:48:49 -07:00
openclaw-test-instance.ts fix(test): Gateway e2e connect fails with 1006 when another fixture takes the instance port (#163003) 2026-10-01 23:04:05 -07:00
openclaw-test-instance.unjoined.test.ts fix: Windows cleanup leaves descendants running after leader exit (#150244) 2026-09-17 07:40:19 -07:00
openclaw-test-instance.windows-job.test.ts fix: Windows cleanup leaves descendants running after leader exit (#150244) 2026-09-17 07:40:19 -07:00
paths.ts
pattern-file.ts
private-update-handoff-store.ts chore: stop Bun tests depending on enumeration order and global timer counts (#162450) 2026-10-01 00:38:38 -07:00
process-wait.test.ts fix(test): process-wait helpers race their own wall-clock deadlines; bind them to the test's abort signal (#163321) 2026-10-02 00:48:49 -07:00
process-wait.ts fix(test): process-wait helpers race their own wall-clock deadlines; bind them to the test's abort signal (#163321) 2026-10-02 00:48:49 -07:00
process-watchdog.ts
promise.ts fix(test): CI fails healthy tests when a loaded runner outlasts short wall-clock deadlines (#161691) 2026-09-30 09:29:34 +00:00
provider-http.test.ts
provider-http.ts
publishable-plugin-fixture.ts fix(cli): release plugin resources when help finishes (#160181) 2026-09-30 15:28:57 -07:00
qa-gateway-cleanup-lifecycle.test.ts
qa-gateway-cleanup.test.ts fix(test): QA Lab OTEL, hot-reload, node MCP, and exec lifecycle e2e tests fail on loaded hosts when fixture children outlast polling deadlines (#163314) 2026-10-02 00:39:21 -07:00
qa-gateway-cleanup.ts
qa-gateway-test-lifetime.test.ts test(gateway): retain timed-out fixture ownership (#147844) 2026-09-15 08:51:29 -07:00
qa-gateway-test-lifetime.ts test(gateway): retain timed-out fixture ownership (#147844) 2026-09-15 08:51:29 -07:00
qa-plugin-entry-observation.ts test(qa): restore Crabline callback and runtime identity proofs (#162819) 2026-10-01 23:37:33 +07:00
qa-prepared-repo-cli.ts improve(test): reuse prepared repo CLI in Telegram QA (#143253) 2026-09-10 02:05:07 +09:00
qa-subagent-runs.ts refactor: remove Tasks and TaskFlow runtime (#159179) 2026-09-27 10:40:29 -07:00
record.test.ts
record.ts
refs.ts feat(worktrees): share source storage with ReFS clones (#146403) 2026-09-12 16:33:50 -07:00
release-workflow-timeouts.ts
run-node-script.test.ts fix(test): process-wait helpers race their own wall-clock deadlines; bind them to the test's abort signal (#163321) 2026-10-02 00:48:49 -07:00
run-node-script.ts test: retain profiling subprocess failure diagnostics (#148610) 2026-09-14 16:55:22 -07:00
runtime-preload.ts chore: stop Bun tests depending on enumeration order and global timer counts (#162450) 2026-10-01 00:38:38 -07:00
scheduled-message-read-model.ts fix: restore scheduled reads for creator accounts (#150278) 2026-09-17 06:21:06 +01:00
session-manager-file-fixture.ts
source-import-closure.ts refactor: run plugins and tooling without TypeScript 6 (#156829) 2026-09-23 22:34:20 -07:00
sqlite-parent-observer.ts refactor: move reply recovery reads off the Gateway thread (#155982) 2026-09-25 00:57:14 -07:00
sqlite-sessions-transcripts-flip-proof-assertions.test.ts refactor(core): retire pre-agent session migration (#163160) 2026-10-02 03:07:03 +00:00
sqlite-sessions-transcripts-flip-proof-assertions.ts refactor(core): retire pre-agent session migration (#163160) 2026-10-02 03:07:03 +00:00
sqlite-sessions-transcripts-flip-proof.ts refactor(core): retire pre-agent session migration (#163160) 2026-10-02 03:07:03 +00:00
sqlite-statement-execution-counter.ts perf(sessions): keep cold snapshots out of metadata reads (#160358) 2026-09-29 02:39:21 +00:00
stage-live-auth-profiles.test.ts refactor(auth): prepare bounded shared auth scopes asynchronously (#152286) 2026-09-19 21:54:00 -07:00
stage-live-auth-profiles.ts refactor(auth): prepare bounded shared auth scopes asynchronously (#152286) 2026-09-19 21:54:00 -07:00
stop-child-process.ts test(cli): diagnose stalled Doctor test children (#151161) 2026-09-17 18:50:58 -07:00
stt-live-audio.test.ts
temp-dir.test.ts test(core,plugins): remove low-value tests (batch d029) (#158964) 2026-09-26 15:31:59 +00:00
temp-dir.ts
temp-repo.ts refactor(tests): share nested Git environment setup (#145259) 2026-09-11 15:17:18 -07:00
text-tool-result.ts refactor(tests): share timestamped tool-result fixtures (#142094) 2026-09-08 03:20:56 -07:00
theme-fixture.ts feat: let agents apply plugin and personal themes (#152460) 2026-09-19 04:51:01 -07:00
tls-fixture.ts
typescript.ts refactor: run plugins and tooling without TypeScript 6 (#156829) 2026-09-23 22:34:20 -07:00
ui-style-fixtures.ts
upgrade-survivor-diagnostics.ts refactor: remove Tasks and TaskFlow runtime (#159179) 2026-09-27 10:40:29 -07:00
user-message.ts refactor(tests): share user and sparse assistant inputs (#142133) 2026-09-08 04:45:19 -07:00
vitest-config-paths.ts
vitest-shutdown-command.ts fix(test): retire MCP managers between shared test files (#159800) 2026-10-01 16:34:10 -07:00
wizard-prompter.ts
worker-activity.ts
worker-provider-replay-roundtrip.ts perf(gateway): offload placement turn claims from the main thread (#158486) 2026-09-26 02:26:02 +00:00
workflow-bash.ts fix(tests): use Bash 5 for Linux workflow fixtures (#149152) 2026-09-15 09:53:11 -07:00