Skip to content

test(extensions,mcp): remove the temporary directories tests create - #750

Merged
ian-pascoe merged 1 commit into
mainfrom
fix/test-tmp-cleanup-extensions-mcp
Nov 11, 2026
Merged

ian-pascoe merged 1 commit into
mainfrom
fix/test-tmp-cleanup-extensions-mcp

Conversation

@ian-pascoe

Copy link
Copy Markdown
Owner

Summary

  • packages/extensions/src/agents-md.test.ts, call-diff.harness.test.ts: each test's Workspace root (agents-md-, call-diff-) is pushed to roots, removed in afterEach.
  • packages/extensions/src/mcp-results.test.ts, mcp-resources.test.ts: the Session's cwd (mcp-results-, mcp-resources-) and the tmp-* dirs pi-durable's NodeExecutionEnv.createTempDir makes for Result Spills (tracked by a small SweptEnv subclass) are removed in afterEach.
  • packages/mcp/conformance/run.test.ts: the conformance- dir is removed with onTestFinished.
  • mcp-values, bash-routing, coding-tools, environment-skills tests create no temp dirs; unchanged.

Evidence

  • Before: 78 (extensions: 10 agents-md-, 13 call-diff-, 40 mcp-*, 15 tmp-* spill dirs) + 1 (mcp: conformance-)
    After: 0 + 0

Merge Danger

Door: two-way
Blast Radius: tests-only

@ian-pascoe
ian-pascoe merged commit 38deb9e into main Nov 11, 2026
16 checks passed
@ian-pascoe
ian-pascoe deleted the fix/test-tmp-cleanup-extensions-mcp branch November 11, 2026 20:02
@github-actions

Copy link
Copy Markdown

Preview deployed

URL: https://cloudpid-server-pr-750.ian-g-pascoe.workers.dev

Built from ef03e02 (stage pr-750, behind Access). It is destroyed when the
pull request is closed.


This comment updates on each push.

This branch was successfully deployed

1 active deployment
preview — b5d9acb4 Deployed Nov 11, 2026 by ian-pascoe via Preview #1381
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant