Skip to content

test(e2e): make the podfetch launcher work on Windows/Git Bash - #2194

Merged
SamTV12345 merged 1 commit into
mainfrom
fix/e2e-cross-platform-db-url
Jul 23, 2026
Merged

test(e2e): make the podfetch launcher work on Windows/Git Bash#2194
SamTV12345 merged 1 commit into
mainfrom
fix/e2e-cross-platform-db-url

Conversation

@SamTV12345

Copy link
Copy Markdown
Owner

The Playwright e2e launcher hard-coded DATABASE_URL="sqlite://$RUN_DIR/podcast.db". diesel's multi-connection URL parser rejects that sqlite://<abs-path> form for Windows-style paths (the drive letter trips it up), so the server panicked on startup and the whole suite was unrunnable under Git Bash/MSYS.

Detect the shell OS and use a bare relative DATABASE_URL on Windows (the script already cds into RUN_DIR); Linux/macOS keep the original sqlite:// scheme form, so CI behavior is byte-identical. Verified locally: the suite now boots and runs on Windows without any manual patching.

diesel's multi-connection URL parser rejects the sqlite://<abs-path> form for Windows-style paths, so the e2e server panicked on startup under Git Bash/MSYS. Use a bare relative DATABASE_URL there (we already cd into RUN_DIR); Linux/macOS keep the sqlite:// scheme form, so CI is unaffected.
@SamTV12345
SamTV12345 enabled auto-merge (squash) July 23, 2026 21:00
@SamTV12345
SamTV12345 merged commit b2946a1 into main Jul 23, 2026
9 checks passed
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