https://github.com/oultimocoder/kysely-planetscale-issue-20
https://github.com/oultimocoder/kysely-planetscale-issue-20
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oultimocoder/kysely-planetscale-issue-20
- Owner: OultimoCoder
- Created: 2023-07-10T13:25:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-10T13:40:41.000Z (over 2 years ago)
- Last Synced: 2025-02-06T06:29:55.379Z (about 1 year ago)
- Language: TypeScript
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reproduce Kysely Planetscale [Issue #20](https://github.com/depot/kysely-planetscale/issues/20)
A repo to reliably reproduce an issue introduced in Kysely Planetscale 1.2.1 which causes locks
to not be released when an error occurs inside a transaction.
[Issue #20](https://github.com/depot/kysely-planetscale/issues/20)
## Quick Start
1. Install packages `npm i`
2. Set up `.env` file by renaming `.env.example` to `.env` and filling it out with your fresh
planetscale db connection details
3. Run migrations `npm run migrate:latest` (if you want to revert to `npm run migrate:none`)
4. Run the test to reproduce the issue `npm run reproduce`
Please note that it may occasionally pass the test just run again if it does so.