diff --git a/.changeset/test-tmp-race.md b/.changeset/test-tmp-race.md deleted file mode 100644 index 234c577..0000000 --- a/.changeset/test-tmp-race.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'prisma-erd-generator': patch ---- - -Fix a test-harness race that intermittently failed CI - -Every vitest worker wrote its temporary Prisma schemas under one shared `tmp/vitest` directory and deleted that whole tree in its own `process.on('exit')` handler. The first worker to finish therefore removed the schemas out from under the workers still running, which surfaced as: - -> Could not load `--schema` from provided path ...: file or directory not found - -It is timing-dependent, so it showed up as a single red cell in the matrix rather than a reproducible failure. Adding a fourth Prisma version to the matrix made runs longer and the overlap more likely. - -Each worker now owns `tmp/vitest/w`, and the shared `tmp/vitest` and `prisma/debug` directories are cleaned once from the global setup's teardown, after every worker has finished. Test harness only — no change to the published package. diff --git a/CHANGELOG.md b/CHANGELOG.md index cd98667..9b4245f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 3.2.2 + +### Patch Changes + +- eb3a23f: Fix a test-harness race that intermittently failed CI + + Every vitest worker wrote its temporary Prisma schemas under one shared `tmp/vitest` directory and deleted that whole tree in its own `process.on('exit')` handler. The first worker to finish therefore removed the schemas out from under the workers still running, which surfaced as: + + > Could not load `--schema` from provided path ...: file or directory not found + + It is timing-dependent, so it showed up as a single red cell in the matrix rather than a reproducible failure. Adding a fourth Prisma version to the matrix made runs longer and the overlap more likely. + + Each worker now owns `tmp/vitest/w`, and the shared `tmp/vitest` and `prisma/debug` directories are cleaned once from the global setup's teardown, after every worker has finished. Test harness only — no change to the published package. + ## 3.2.1 ### Patch Changes diff --git a/package.json b/package.json index 8cbed26..29def34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prisma-erd-generator", - "version": "3.2.1", + "version": "3.2.2", "license": "MIT", "publishConfig": { "access": "public",