New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(migrate): fix cases where migrate engine was not stopped after an error #8482
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to do the job!
Adds a lot of localized migrate.stop()
though - is there maybe a way to handle this on a more global level that automatically runs after the local functionality is done, no matter if with an error or success?
I agree this is not optimal, we can revisit the implementation in the future. |
* master: (40 commits) chore(deps): update engines to 2.29.0-5.8062e306decdf2fe2c2dcb8409c513a2023c8653 (#8533) chore(deps): update fkirc/skip-duplicate-actions action to v3.4.1 (#8528) chore: move buildkite folder + fix publish (#8531) chore(prisma): type discovery + fast builds + clean monorepo (#8497) fix(migrate): fix cases where migrate engine was not stopped after an error (#8482) chore: add dash to studio update branch for better branch names (#8507) chore(deps): update dependency @prisma/studio-server to v0.418.0 fix(tar): upgrade to 6.1.2 (#8501) ci: create action for studio updates (#8502) chore(deps): update dependency rollup to v2.55.0 (#8477) chore(deps): update dependency ts-jest to v27.0.4 (#8474) chore(deps): update devdependencies (non-major) chore(deps): update react-prisma chore(deps): update definitelytyped chore: update renovate: ignore engines wrapper pkgs (#8113) docs: remove "(ORM Replacement)" from repo (#8456) fix(deps): update engines to v2.28.0-17.89facabd0366f63911d089156a7a70125bfbcd27 chore(deps): update dependency @prisma/studio-server to v0.417.0 chore(deps): update codecov-action action to v2 [skip ci] (#8352) chore(deps): update engines to 2.28.0-15.d616ac2e761de0623c4f0494620b4199161d9019 (#8412) ...
* master: (45 commits) chore: pin dependencies (#8534) chore(deps): update engines to 2.29.0-5.8062e306decdf2fe2c2dcb8409c513a2023c8653 (#8533) chore(deps): update fkirc/skip-duplicate-actions action to v3.4.1 (#8528) chore: move buildkite folder + fix publish (#8531) chore(prisma): type discovery + fast builds + clean monorepo (#8497) fix(migrate): fix cases where migrate engine was not stopped after an error (#8482) chore: add dash to studio update branch for better branch names (#8507) chore(deps): update dependency @prisma/studio-server to v0.418.0 fix(tar): upgrade to 6.1.2 (#8501) ci: create action for studio updates (#8502) chore(deps): update dependency rollup to v2.55.0 (#8477) chore(deps): update dependency ts-jest to v27.0.4 (#8474) chore(deps): update devdependencies (non-major) chore(deps): update react-prisma chore(deps): update definitelytyped chore: update renovate: ignore engines wrapper pkgs (#8113) docs: remove "(ORM Replacement)" from repo (#8456) fix(deps): update engines to v2.28.0-17.89facabd0366f63911d089156a7a70125bfbcd27 chore(deps): update dependency @prisma/studio-server to v0.417.0 chore(deps): update codecov-action action to v2 [skip ci] (#8352) ... # Conflicts: # scripts/ci/publish.ts
* master: (50 commits) chore: pin dependencies (#8534) chore(deps): update engines to 2.29.0-5.8062e306decdf2fe2c2dcb8409c513a2023c8653 (#8533) chore(deps): update fkirc/skip-duplicate-actions action to v3.4.1 (#8528) chore: move buildkite folder + fix publish (#8531) chore(prisma): type discovery + fast builds + clean monorepo (#8497) fix(migrate): fix cases where migrate engine was not stopped after an error (#8482) chore: add dash to studio update branch for better branch names (#8507) chore(deps): update dependency @prisma/studio-server to v0.418.0 fix(tar): upgrade to 6.1.2 (#8501) ci: create action for studio updates (#8502) chore(deps): update dependency rollup to v2.55.0 (#8477) chore(deps): update dependency ts-jest to v27.0.4 (#8474) chore(deps): update devdependencies (non-major) chore(deps): update react-prisma chore(deps): update definitelytyped chore: update renovate: ignore engines wrapper pkgs (#8113) docs: remove "(ORM Replacement)" from repo (#8456) fix(deps): update engines to v2.28.0-17.89facabd0366f63911d089156a7a70125bfbcd27 chore(deps): update dependency @prisma/studio-server to v0.417.0 chore(deps): update codecov-action action to v2 [skip ci] (#8352) ...
* master: (21 commits) chore(deps): update engines to 2.29.0-7.10fbb58853d626be41afb2930e56e0a36afefb9f (#8538) chore: disable migrate logging feat(migrate): Allow migration engine to log to stdout (#7896) chore: pin dependencies (#8534) chore(deps): update engines to 2.29.0-5.8062e306decdf2fe2c2dcb8409c513a2023c8653 (#8533) chore(deps): update fkirc/skip-duplicate-actions action to v3.4.1 (#8528) chore: move buildkite folder + fix publish (#8531) chore(prisma): type discovery + fast builds + clean monorepo (#8497) fix(migrate): fix cases where migrate engine was not stopped after an error (#8482) chore: add dash to studio update branch for better branch names (#8507) chore(deps): update dependency @prisma/studio-server to v0.418.0 fix(tar): upgrade to 6.1.2 (#8501) ci: create action for studio updates (#8502) chore(deps): update dependency rollup to v2.55.0 (#8477) chore(deps): update dependency ts-jest to v27.0.4 (#8474) chore(deps): update devdependencies (non-major) chore(deps): update react-prisma chore(deps): update definitelytyped chore: update renovate: ignore engines wrapper pkgs (#8113) docs: remove "(ORM Replacement)" from repo (#8456) ...
… error (prisma#8482) * fix(migrate): fix cases where migrate engine was not stopped after an error * more migrate stop
Closes #7795