mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
856cd1824c
Gap finding: tempdir-8h9i0j1k, tempdir-9i0j1k2l Replace bare fs.mkdtemp/mkdtempSync calls in 4 test files with the shared createSuiteTempRootTracker() helper, adding proper cleanup where none existed. Background: the project has standardized on shared temp dir helpers since88b87d893d(withTempDir) ->13df67ebc8(createSuiteTempRootTracker) ->06431fd99b/ #87298 (CI guard + docs guidance). This PR continues that migration for the highest-risk files. Files changed: - src/skills/lifecycle/install-fallback.test.ts: variable overwrite risk - src/auto-reply/reply/session-hooks-context.test.ts: helper leaks temp dirs - src/auto-reply/reply/abort.test.ts: createAbortConfig leaks root dir - src/auto-reply/inbound.test.ts: test cases without cleanup Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>