Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .changeset/test-tmp-race.md

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<pid>`, 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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prisma-erd-generator",
"version": "3.2.1",
"version": "3.2.2",
"license": "MIT",
"publishConfig": {
"access": "public",
Expand Down