openclaw/test
Peter Steinberger 4bc37cd597
fix(state): copy-safe agent database registry via state-relative paths (schema v9) (#124728)
* fix(state): store in-root agent database registry paths relative to the state dir (schema v9)

Copied state directories retained stale absolute agent database registry rows. The combined gateway store then merged old and new copies, causing every sessions.list request to fail with SessionCanonicalKeyMigrationRequiredError.

Schema v9 stores in-root registry paths relative to the state directory; migration rewrites eligible rows, deletes stale duplicates, and preserves external paths.

* fix(voice-call): describe state-relative registry migration

* fix(state): preserve registry locator traversal

* test(macos): move PortGuardian schema-version boundary to v9

The store opens any state database up to maximumSupportedSchemaVersion,
which the schema v9 bump moved from 8 to 9. Shift the supported/newer
partition in the boundary test accordingly.

* fix(state): re-anchor copied default-layout registry rows instead of deleting them

Resolve the ClawSweeper P1 by preserving genuine external default-layout registrations, re-anchoring copied rows when an in-root counterpart exists, and deleting only dual default-layout conflicts.
2026-08-16 13:31:32 -07:00
..
e2e/qa-lab fix(runners): preserve device sessions through lifecycle faults (#124744) 2026-08-16 12:29:07 -07:00
fixtures fix(agents): stop advertising unavailable tools (#124716) 2026-08-16 11:20:45 -07:00
helpers test(plugins): deduplicate publication fixtures (#124312) 2026-08-15 17:16:07 -07:00
mocks
plugins improve: reduce provider auth parity test time (#122445) 2026-08-11 22:37:06 -07:00
scripts fix(state): copy-safe agent database registry via state-relative paths (schema v9) (#124728) 2026-08-16 13:31:32 -07:00
tsconfig fix(tooling): bound tsgo core test memory (#122748) 2026-08-14 12:38:42 +10:00
vitest feat(nodes): expose installed worker bundle status (#124640) 2026-08-16 10:04:46 -07:00
AGENTS.md
appcast.test.ts
architecture-smells.test.ts
CLAUDE.md
clawrouter-managed-gateway.e2e.test.ts
cli-json-stdout.e2e.test.ts fix(doctor): report missing managed local embedding setup (#123575) 2026-08-15 20:15:06 -06:00
cli-state-sqlite.e2e.test.ts
cron-edit-trigger-preservation.e2e.test.ts
dreaming-startup-cleanup.e2e.test.ts
embedded-transcript-cursor.e2e.test.ts refactor: eliminate export name collisions (#122084) 2026-08-11 10:41:50 -07:00
extension-import-boundaries.test.ts refactor(test): remove residual test seams (#123555) 2026-08-14 03:03:15 -07:00
extension-test-boundary.test.ts fix(discord): bind transcript capture to source account [AI] (#118579) 2026-08-15 12:10:43 -07:00
external-script-modules.d.ts
gateway-external-state-ownership.e2e.test.ts
gateway-hook-concurrency.e2e.test.ts fix(test): wait for gateway hook model activity (#122584) 2026-08-12 19:02:21 +08:00
gateway-openai-compaction-replay.e2e.test.ts improve(gateway): compose live session stress probes (#122519) 2026-08-12 06:22:08 -07:00
gateway-queued-session-rotation.e2e.test.ts
gateway-session-end-shutdown.e2e.test.ts
gateway-steer-fifo.e2e.test.ts fix: restore release-validation fixture coverage (#124401) 2026-08-15 22:15:09 -07:00
gateway.multi.e2e.test.ts
git-hooks-pre-commit.test.ts
huggingface-local-app-openclaw.e2e.test.ts
image-generation.infer-cli.live.test.ts
image-generation.runtime.live.test.ts refactor: eliminate final export name collisions (#122083) 2026-08-11 11:18:24 -07:00
jsdom-custom-elements.test.ts fix: Control UI test lane fails at random on unrelated pull requests (#123512) 2026-08-13 23:25:08 -07:00
jsdom-custom-elements.ts fix: Control UI test lane fails at random on unrelated pull requests (#123512) 2026-08-13 23:25:08 -07:00
linux-quickchat-stream.test.ts
mcp-show-redact.e2e.test.ts
non-isolated-runner.resolve-mocks.test.ts
non-isolated-runner.test.ts improve(test): cut core tooling 3 runtime (#123659) 2026-08-14 06:35:48 -07:00
non-isolated-runner.ts fix: Control UI test lane fails at random on unrelated pull requests (#123512) 2026-08-13 23:25:08 -07:00
npm-publish-plan.test.ts
official-channel-catalog.test.ts refactor(qqbot): install plugin from Tencent package (#107295) 2026-08-11 15:10:27 -07:00
openai-onboarding.live.test.ts fix(openai): remove duplicate GPT-5.6 picker entry (#122178) 2026-08-11 12:29:36 -07:00
openclaw-launcher-version.e2e.test.ts
openclaw-launcher.e2e.test.ts fix(build): cancel stalled CLI metadata renderers (#122634) 2026-08-12 07:01:46 -07:00
openclaw-npm-postpublish-verify.test.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
openclaw-npm-prepublish-verify.test.ts
openclaw-npm-release-check.test.ts refactor(plugins): replace node-llama-cpp with managed llama-server (#123105) 2026-08-13 16:58:20 -07:00
openclaw-prepack.test.ts fix(scripts): keep bundled channel smoke standalone (#122212) 2026-08-11 13:05:46 -07:00
package-manager-config.test.ts refactor(plugins): replace node-llama-cpp with managed llama-server (#123105) 2026-08-13 16:58:20 -07:00
package-scripts.test.ts improve: tighten newest regression ownership (#123606) 2026-08-14 08:08:45 -07:00
plugin-clawhub-release.test.ts test(plugins): deduplicate publication fixtures (#124312) 2026-08-15 17:16:07 -07:00
plugin-cron-registry-owner.e2e.test.ts refactor: burn export name collision debt (#121767) 2026-08-10 18:17:13 -07:00
plugin-extension-import-boundary.test.ts refactor(test): remove residual test seams (#123555) 2026-08-14 03:03:15 -07:00
plugin-npm-package-manifest.test.ts improve: speed up plugin npm package tests (#121989) 2026-08-11 03:35:33 -07:00
plugin-npm-release.test.ts test(plugins): deduplicate publication fixtures (#124312) 2026-08-15 17:16:07 -07:00
plugin-npm-runtime-build.test.ts improve(test): cut core tooling 3 runtime (#123659) 2026-08-14 06:35:48 -07:00
pr119473-real-runtime-proof.e2e.test.ts
qa-convex-credential-payload-validation.test.ts
release-check.test.ts fix(gateway): isolate full model catalog discovery 2026-08-13 18:57:50 -05:00
release-version.test.ts
setup-home-isolation.test.ts
setup-openclaw-runtime.ts
setup.env.ts
setup.extensions.ts
setup.shared.ts
setup.ts
skills-proposal-manual-target.e2e.test.ts fix(skills): reconcile manually created proposal targets (#118676) 2026-08-12 20:06:56 +08:00
stable-release-closeout.test.ts
status-shared-state-readonly.e2e.test.ts fix: keep status read-only while gateway owns state (#124142) 2026-08-15 07:21:19 -07:00
telegram-question-gateway.test.ts
test-env.test.ts
test-env.ts
test-helper-extension-import-boundary.test.ts
transcripts-tool.discord-provider.integration.test.ts fix(discord): bind transcript capture to source account [AI] (#118579) 2026-08-15 12:10:43 -07:00
tsconfig.json
ui.presenter-next-run.test.ts
vitest-boundary-config.test.ts
vitest-light-paths.test.ts
vitest-performance-config.test.ts
vitest-projects-config.test-support.ts refactor(test): remove residual test-only seams (#123168) 2026-08-13 17:16:55 -07:00
vitest-projects-config.test.ts ci: widen core tooling test stripes (#123636) 2026-08-14 05:19:14 -07:00
vitest-scoped-config.test.ts test(tooling): remove obsolete runner facades (#124159) 2026-08-15 04:47:33 -07:00
vitest-ui-e2e-config.test.ts ci: balance Control UI E2E shards by source size (#122527) 2026-08-12 00:48:14 -07:00
vitest-ui-package-config.test.ts feat: let limited browsers request admin access (#121459) 2026-08-12 18:32:00 -07:00
vitest-unit-config.test.ts refactor(plugins): replace node-llama-cpp with managed llama-server (#123105) 2026-08-13 16:58:20 -07:00
vitest-unit-fast-config.test.ts fix(test): keep CLI process suites in owner lane (#122160) 2026-08-12 02:07:51 +08:00
vitest-unit-paths.test.ts