Problem
tests/playground-readonly-mounts-integration.test.ts snapshots every wp-codebox-readonly-mounts-* directory in the shared OS temp root and requires exact equality after its recipe run. Concurrent WP Codebox runs can create or dispose their own staging directories between snapshots, producing false failures.
Reproduction
Run npm run test:playground-readonly-mounts-integration while another WP Codebox smoke/runtime test is active. Both observed directions fail:
- an external fixture appears after the initial snapshot
- an external fixture present initially is legitimately disposed before the final snapshot
The assertion is at tests/playground-readonly-mounts-integration.test.ts:73.
Expected
Track the staging directory owned by this test/run, or compare only paths attributable to its child process rather than all globally shared prefix matches.
This was reproduced on origin/main-based commit 52cf495f; the assigned temp-retention change did not modify this integration test.
Problem
tests/playground-readonly-mounts-integration.test.tssnapshots everywp-codebox-readonly-mounts-*directory in the shared OS temp root and requires exact equality after its recipe run. Concurrent WP Codebox runs can create or dispose their own staging directories between snapshots, producing false failures.Reproduction
Run
npm run test:playground-readonly-mounts-integrationwhile another WP Codebox smoke/runtime test is active. Both observed directions fail:The assertion is at
tests/playground-readonly-mounts-integration.test.ts:73.Expected
Track the staging directory owned by this test/run, or compare only paths attributable to its child process rather than all globally shared prefix matches.
This was reproduced on
origin/main-based commit52cf495f; the assigned temp-retention change did not modify this integration test.