Repository navigation
Conversation
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.
무엇
SessionBuilder세션 ID를session-${Date.now()}에서session-<ms>-<randomUUID>로 바꿨다 (newSessionId).session-<ms>접두사는 유지해 시작 시각으로 읽고 정렬하는 형식이 그대로다. ID를 파싱하는 코드는src/memory안에 없다(파일명 접미사는 이미 해시 기반).왜
같은 밀리초에 시작한 병렬 워커 두 세션이 같은 ID를 받아 기록이 섞였다.
검증
src/memory/sessionId.test.ts2건: fake timer로 시각을 고정해도 두 세션 ID·파일명 접미사가 다르다, 접두사 형식 유지. 수정 전 코드에서는 2건 모두 실패 확인.vitest run src/memory16 파일 114 테스트 통과,tsc --noEmit -p tsconfig.check.json통과, oxlint 0건.Linear: AGT-4877