openclaw/test
Mason Huang 5ff247b99e
test: prefer auto-cleaning temp dir helper (#93209)
Summary:
- The branch adds `useAutoCleanupTempDirTracker()`, broadens the temp-dir warning reporter to flag new manual helper imports/usages, updates docs, and migrates two script tests to the new helper.
- PR surface: Tests +301, Docs +1, Other +248. Total +550 across 8 files.
- Reproducibility: not applicable. this is test/tooling cleanup, and the changed behavior is exercised through helper/reporter tests and CI evidence rather than a user reproduction path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: test: harden temp dir helper guard
- PR branch already contained follow-up commit before automerge: test: clarify auto cleanup temp dir helper name
- PR branch already contained follow-up commit before automerge: test: cover existing mkdtemp temp dir forms
- PR branch already contained follow-up commit before automerge: test: read staged temp helper source from index

Validation:
- ClawSweeper review passed for head 1fdd7d2a9aed342397bfef20348a1c5fd50fa5ff.
- Required merge gates passed before the squash merge.

Prepared head SHA: 1fdd7d2a9aed342397bfef20348a1c5fd50fa5ff
Review: https://github.com/openclaw/openclaw/pull/93209#issuecomment-4705653665

Co-authored-by: Mason Huang <masonxhuang@tencent.com>
Approved-by: hxy91819
2026-07-02 02:46:28 +00:00
..
e2e/qa-lab fix(mcp): require owner for Claude permission replies (#98256) 2026-06-30 13:58:02 -07:00
fixtures fix(cron): scope agent wake targets (#97949) 2026-06-29 17:43:43 -07:00
helpers test: prefer auto-cleaning temp dir helper (#93209) 2026-07-02 02:46:28 +00:00
mocks
proof
scripts test: prefer auto-cleaning temp dir helper (#93209) 2026-07-02 02:46:28 +00:00
tsconfig
vitest chore(deadcode): remove stale vitest coverage excludes 2026-06-22 08:20:03 +08:00
_proof_twilio_json_guard.mts fix(sms): guard Twilio JSON.parse against malformed API response bodies (#97999) 2026-06-30 18:15:08 -07:00
AGENTS.md
appcast.test.ts
architecture-smells.test.ts
CLAUDE.md
cli-json-stdout.e2e.test.ts
extension-import-boundaries.test.ts
extension-package-tsc-boundary.test.ts
extension-test-boundary.test.ts
gateway.multi.e2e.test.ts
git-hooks-pre-commit.test.ts fix(git-hooks): skip sequencer pre-commit formatting (#95842) 2026-06-25 16:40:12 +08:00
global-setup.ts
image-generation.infer-cli.live.test.ts
image-generation.runtime.live.test.ts
non-isolated-runner.ts
npm-publish-plan.test.ts
official-channel-catalog.test.ts chore: sync yuanbao plugin catalog to 2.15.0 (#94470) 2026-06-22 18:50:07 +00:00
openclaw-launcher.e2e.test.ts fix(memory): preserve Windows session transcript paths 2026-06-22 23:32:06 +08:00
openclaw-npm-postpublish-verify.test.ts fix(release): surface installed extension manifest errors 2026-06-23 10:26:10 +02:00
openclaw-npm-prepublish-verify.test.ts
openclaw-npm-release-check.test.ts
openclaw-prepack.test.ts fix(release): preserve npm pack json output 2026-06-24 09:19:00 +02:00
package-manager-config.test.ts fix(install): skip llama cpp native build by default 2026-06-23 12:58:41 +08:00
package-scripts.test.ts
plugin-clawhub-release.test.ts
plugin-extension-import-boundary.test.ts
plugin-npm-package-manifest.test.ts
plugin-npm-release.test.ts
plugin-npm-runtime-build.test.ts
qa-convex-credential-payload-validation.test.ts
release-check.test.ts
setup-home-isolation.test.ts
setup-openclaw-runtime.ts
setup.extensions.ts
setup.shared.ts
setup.ts
stable-release-closeout.test.ts
test-env.test.ts fix: route install env test mutations 2026-06-24 20:10:42 +01:00
test-env.ts fix: centralize isolated test env writes 2026-06-24 20:01:36 +01:00
test-helper-extension-import-boundary.test.ts
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.ts
vitest-scoped-config.test.ts
vitest-ui-package-config.test.ts
vitest-unit-config.test.ts
vitest-unit-fast-config.test.ts test: route broad flow tests out of unit-fast (#95499) 2026-06-20 23:22:39 -07:00
vitest-unit-paths.test.ts
web-provider-boundary.test.ts