Skip to content

fix(kit): propagate push execution errors - #6210

Open
ivanpukhov wants to merge 1 commit into
drizzle-team:mainfrom
ivanpukhov:fix/drizzle-kit-push-exit-code-6192
Open

fix(kit): propagate push execution errors#6210
ivanpukhov wants to merge 1 commit into
drizzle-team:mainfrom
ivanpukhov:fix/drizzle-kit-push-exit-code-6192

Conversation

@ivanpukhov

Copy link
Copy Markdown

drizzle-kit push currently logs execution failures and then exits with status 0. Preserve a non-zero exit status across the affected push paths, with a PGlite regression test confirming that later statements are not executed after a failure.

Fixes #6192

Preserve a non-zero exit code when push statement execution fails.
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.

[BUG]: drizzle-kit push swallows every execution error and exits 0, silently skipping the remaining statements

1 participant