openclaw/src/claws
Peter Steinberger 0ad150c12c
test(claws): preserve filesystem mode after the close-failure fixture (#156058)
Restoring the effective default through configureFsSafeNative creates an
explicit auto override that wins over later environment scopes. The archive
EOF-read failure fixture then bypasses its injected handle.read error when
it follows the Claw project tests in a shared worker.

Use the existing scoped environment helper around the real build, retaining
the injected close error, one-close assertion, and empty staging checks.
The ordered negative control reproduces the leak; the repaired pair and
20 standalone runs of each file pass. Independent P2 review is clean.
2026-09-22 18:54:42 -07:00
..
fixtures feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
add-plan-helpers.ts
add.test.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
add.ts feat(claws): activate plugin requirement batches without restarting (#145713) 2026-09-12 02:23:43 -07:00
agent-config-digest.ts
application-plan.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
application-provenance.ts
application-schema.test.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
bootstrap.test.ts refactor(workspace): await guarded state operations (#144645) 2026-09-10 21:44:58 -07:00
bootstrap.ts
cron-update.test.ts test: share Claw resource update plan fixtures (#151871) 2026-09-18 08:06:02 -07:00
cron-update.ts fix(claws): wait for agents before cron setup (#139017) 2026-09-05 12:31:13 -07:00
cron.test.ts fix(doctor): seed the system agent for legacy configs and keep cron alive (#140825) 2026-09-07 00:32:47 -07:00
cron.ts fix(claws): compare cron definitions without response metadata (#139018) 2026-09-05 04:01:31 -07:00
doctor.test.ts fix: preserve restart cleanup and initial chat positioning (#153267) 2026-09-20 02:52:09 -07:00
doctor.ts
experimental.test.ts
experimental.ts
export.test.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
export.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
legacy-resume.ts
lifecycle-bootstrap-removal.ts fix(agents): preserve shared history and deletion retries (#141731) 2026-09-07 18:46:08 -07:00
lifecycle-config-removal.ts perf(sessions): keep cleanup responsive and reuse workers (#140897) 2026-09-13 05:06:06 -07:00
lifecycle-delete-support.ts fix(claws): preserve user files when a workspace scan is incomplete (#154797) 2026-09-22 02:06:28 -07:00
lifecycle-mcp-removal.ts fix(agents): preserve shared history and deletion retries (#141731) 2026-09-07 18:46:08 -07:00
lifecycle-remove-approvals.test.ts fix(github): distinguish publication locks from unavailable storage (#152437) 2026-09-19 22:14:42 -07:00
lifecycle-remove-contract.ts feat: drain plugin work before removing Claw packages (#145649) 2026-09-12 00:34:28 -07:00
lifecycle-remove-ownership.test.ts fix(claws): preserve user files when a workspace scan is incomplete (#154797) 2026-09-22 02:06:28 -07:00
lifecycle-remove.test-support.ts fix(agents): preserve shared history and deletion retries (#141731) 2026-09-07 18:46:08 -07:00
lifecycle-state-mcp.test.ts fix(agents): preserve shared history and deletion retries (#141731) 2026-09-07 18:46:08 -07:00
lifecycle-state-takeover.test.ts fix(agents): preserve shared history and deletion retries (#141731) 2026-09-07 18:46:08 -07:00
lifecycle-state.test-helpers.ts fix(agents): preserve shared history and deletion retries (#141731) 2026-09-07 18:46:08 -07:00
lifecycle-state.test.ts fix(agents): preserve shared history and deletion retries (#141731) 2026-09-07 18:46:08 -07:00
lifecycle-state.ts feat: drain plugin work before removing Claw packages (#145649) 2026-09-12 00:34:28 -07:00
lifecycle-status.ts refactor(claws): type workspace provenance and removal queries (#138960) 2026-09-05 03:20:03 -07:00
lifecycle.e2e.test.ts test(claws): trim redundant lifecycle process proofs (#153996) 2026-09-20 23:20:13 -07:00
lifecycle.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
mcp-update.test.ts test: share Claw resource update plan fixtures (#151871) 2026-09-18 08:06:02 -07:00
mcp-update.ts
mcp.test.ts refactor(state): use typed queries for Claw adoption (#138921) 2026-09-05 00:02:05 -07:00
mcp.ts refactor(claws): type MCP provenance queries (#138997) 2026-09-05 06:02:55 -07:00
monitor-cleanup-binding.ts fix(claws): drain config-owned monitors before removal (#140025) 2026-09-06 07:47:12 -07:00
monitor-cleanup-contract.ts fix(claws): drain config-owned monitors before removal (#140025) 2026-09-06 07:47:12 -07:00
openclaw-profile.test.ts refactor(claws): share JSON-only YAML parsing (#138863) 2026-09-04 23:12:20 -07:00
openclaw-profile.ts refactor(claws): share JSON-only YAML parsing (#138863) 2026-09-04 23:12:20 -07:00
package-extension-provenance.ts
package-remove-contract.ts feat: drain plugin work before removing Claw packages (#145649) 2026-09-12 00:34:28 -07:00
package-remove-phase.test.ts feat: drain plugin work before removing Claw packages (#145649) 2026-09-12 00:34:28 -07:00
package-remove-phase.ts feat: drain plugin work before removing Claw packages (#145649) 2026-09-12 00:34:28 -07:00
package-remove-plan.ts feat: drain plugin work before removing Claw packages (#145649) 2026-09-12 00:34:28 -07:00
package-remove.test.ts feat: drain plugin work before removing Claw packages (#145649) 2026-09-12 00:34:28 -07:00
package-remove.ts feat: drain plugin work before removing Claw packages (#145649) 2026-09-12 00:34:28 -07:00
package-resume.test.ts chore: reduce CI job count and database test overhead (#137352) 2026-09-03 08:56:02 -07:00
package-resume.ts feat(claws): activate plugin requirement batches without restarting (#145713) 2026-09-12 02:23:43 -07:00
package-setup-requirements.ts
package-update-provenance.ts refactor(claws): author provenance writes with Kysely (#138932) 2026-09-05 00:31:42 -07:00
package-update.test.ts test: share Claw resource update plan fixtures (#151871) 2026-09-18 08:06:02 -07:00
package-update.ts feat(claws): activate plugin requirement batches without restarting (#145713) 2026-09-12 02:23:43 -07:00
packages.runtime.test.ts feat(claws): activate plugin requirement batches without restarting (#145713) 2026-09-12 02:23:43 -07:00
packages.test-support.ts feat(claws): activate plugin requirement batches without restarting (#145713) 2026-09-12 02:23:43 -07:00
packages.test.ts feat(claws): activate plugin requirement batches without restarting (#145713) 2026-09-12 02:23:43 -07:00
packages.ts feat(claws): activate plugin requirement batches without restarting (#145713) 2026-09-12 02:23:43 -07:00
path-containment.test.ts
path-containment.ts
plugin-runtime.ts feat(claws): activate plugin requirement batches without restarting (#145713) 2026-09-12 02:23:43 -07:00
project-build.ts refactor: simplify filesystem operations with fs-safe 0.17 (#153973) 2026-09-20 14:05:04 -07:00
project-runtime.test-support.ts fix: keep cold child compilation outside CI test deadlines (#156011) 2026-09-22 17:41:19 -07:00
project.test.ts test(claws): preserve filesystem mode after the close-failure fixture (#156058) 2026-09-22 18:54:42 -07:00
project.ts
provenance-bootstrap.ts
provenance-legacy-columns.ts
provenance-runtime-read.async.test.ts fix(gateway): stop model refreshes copying the state database (#153130) 2026-09-19 15:53:29 -07:00
provenance-runtime-read.kernel.ts refactor(config): prepare task visibility configuration asynchronously (#148305) 2026-09-14 16:05:31 -07:00
provenance-runtime-read.test.ts fix(gateway): stop model refreshes copying the state database (#153130) 2026-09-19 15:53:29 -07:00
provenance-runtime-read.ts fix: prevent SQLite disk churn during model catalog refreshes (#153512) 2026-09-20 10:00:58 -07:00
provenance-schema-version.test.ts
provenance-schema-version.ts
provenance.test-helpers.ts
provenance.test.ts
provenance.ts refactor(claws): author provenance writes with Kysely (#138932) 2026-09-05 00:31:42 -07:00
read-only-state-compat.test.ts chore: reduce CI job count and database test overhead (#137352) 2026-09-03 08:56:02 -07:00
reader.test.ts feat(agents): add role templates and a team preset for onboarding (#145712) 2026-09-12 00:07:12 -07:00
reader.ts feat(agents): add role templates and a team preset for onboarding (#145712) 2026-09-12 00:07:12 -07:00
resource-update.test-helpers.ts test: share Claw resource update plan fixtures (#151871) 2026-09-18 08:06:02 -07:00
schema-conformance.test.ts
schema-portability.ts
schema.test.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
schema.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
source-limits.ts
tool-policy-runtime.integration.test.ts fix: prevent SQLite disk churn during model catalog refreshes (#153512) 2026-09-20 10:00:58 -07:00
tool-policy-runtime.test.ts
tool-policy-runtime.ts fix: prevent SQLite disk churn during model catalog refreshes (#153512) 2026-09-20 10:00:58 -07:00
tool-profile-consent.test.ts
tool-profile-consent.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
types.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
update-apply.packages.test.ts
update-apply.requirements.test.ts feat(claws): activate plugin requirement batches without restarting (#145713) 2026-09-12 02:23:43 -07:00
update-apply.test-helpers.ts fix(claws): wait for agents before cron setup (#139017) 2026-09-05 12:31:13 -07:00
update-apply.test.ts fix(claws): wait for agents before cron setup (#139017) 2026-09-05 12:31:13 -07:00
update-apply.ts feat(claws): activate plugin requirement batches without restarting (#145713) 2026-09-12 02:23:43 -07:00
update-capability-changes.test.ts
update-capability-changes.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
update-plan-empty.ts
update-plan-readiness.test.ts
update-plan-summary.ts
update-plan-types.ts
update-plan.test-helpers.ts fix(claws): disclose memory source expansion from empty defaults (#144415) 2026-09-10 14:33:23 -07:00
update-plan.test.ts fix(github): distinguish publication locks from unavailable storage (#152437) 2026-09-19 22:14:42 -07:00
update-plan.ts feat(claws): round-trip model and delegation settings (#141921) 2026-09-11 23:41:57 -07:00
update-rollback.ts
workspace-update.test.ts refactor(claws): type workspace provenance and removal queries (#138960) 2026-09-05 03:20:03 -07:00
workspace-update.ts
workspace.test.ts refactor(claws): type workspace provenance and removal queries (#138960) 2026-09-05 03:20:03 -07:00
workspace.ts refactor(claws): type workspace provenance and removal queries (#138960) 2026-09-05 03:20:03 -07:00
yaml-document.ts refactor(claws): share JSON-only YAML parsing (#138863) 2026-09-04 23:12:20 -07:00