Repository navigation
Resolve #4172: Share Prisma connection initialization and preserve shutdown ordering - #4295
Merged
Merged
Conversation
# Conflicts: # packages/prisma/README.ko.md # packages/prisma/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
같은
PrismaService의 동시 초기화가 하나의$connect()결과를 공유하도록 수정합니다. 종료가 시작되면 새 연결을 열지 않고, 진행 중이던 연결이 끝난 뒤에만$disconnect()를 호출합니다.Closes #4172
Changes
Testing
c0340f1cf69a782214adb41734c6657bab29474a: 집중 검사 8개 통과, Prisma·Terminus 154개 테스트 통과.$disconnect()단언 3개에서 실패했고, 원복 후 동일 수명주기 테스트 8개가 통과했습니다.pnpm test:node: 기본 파일 간 동시성으로 1,678개 통과, 1개 건너뜀, 실패 0. 전체 로컬 CI는 미실행.Verify는 PR HEAD에서 확인 예정입니다.Release impact
@fluojs/prisma소비자 영향에 patch Changeset 포함.Public export documentation
Behavioral contract
Platform consistency governance (SSOT)