Repository navigation
fix: 결정 불필요 이슈 일괄 수정 (#376 #378 #377 #383 #381 #382 #384 #356) - #386
Merged
Merged
Conversation
회전 유예(#371)로 같은 RT 를 동시에 갱신하면 한 세션(family)에 후속 RT 가 여럿 살아 있게 되는데, 로그아웃은 받은 RT 한 개만 폐기해 다른 후속 RT 로 계속 갱신할 수 있었다. 로그아웃은 이제 family 의 살아 있는 RT 를 모두 폐기하고, 갱신·로그아웃 모두 family 활성 RT 잠금을 먼저 잡아 직렬화한다. 유예 판단의 후속 RT 조회도 잠금 읽기로 바꿔 잠금 전 스냅샷 때문에 로그아웃된 세션이 유예를 받지 않게 했다. Fixes #376 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
간격 검사가 트랜잭션 밖이라 롤백 콜백이 등록되지 않아, 실패한 sync 가 슬롯을 쥔 채 남았다. 제한기는 반환 가능한 슬롯을 돌려주고, 서비스가 데드락 재시도까지 끝내 실패하면 그 슬롯을 반환한다. 재시도는 슬롯을 다시 잡지 않으므로 429 에 걸리지 않는다. 회귀 IT 는 간격을 300초로 켜고 검증한다. Fixes #378 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
findAll() 로 전체 챌린지를 엔티티로 읽어 앱에서 기간·삭제·템플릿·생성자를 거르던 것을 DB 쿼리로 옮기고, (생성자, 템플릿)별 개수만 받는다. 생성자는 findAllById 로 한 번에 읽는다. 개수 n 을 세그먼트마다 더해 예전처럼 챌린지마다 +1 한 결과와 같다(경계·삭제·봇방장 IT 로 확인). Fixes #384 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
재동의하지 않은 사람은 매일 다시 대상이라, 앞 2,000명만 읽으면 뒤쪽은 고지를 영영 받지 못했다. userId 커서로 쪽을 넘기며 한 실행에서 끝까지 돌고, 이미 받은 사람은 버전이 든 멱등 키가 걸러 준다. 실행 전체 트랜잭션은 걷어 내 쪽마다 적재가 커밋되게 했다. 쪽 크기는 설정값(기본 2,000)이다. Fixes #377 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
워터마크 시각 이상에서 앞 5,000건만 읽어, 같은 시각이 5,000건을 넘으면 매일 그 앞부분만 다시 읽고 멈췄다. 실행 안에서 (verifiedAt, id) 복합 커서로 쪽을 넘기며 끝까지 돌고, 쪽마다 자기 트랜잭션으로 커밋한다. 저장 워터마크는 기존 max(confirmedAt) 그대로 두고, 경계 시각 재수집·정정은 기존 upsert 가 흡수한다. Fixes #383 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
prod 2026-10-30 sync 500 3건 — 「Out of sort memory」(1038). 한 날의 원본을 id 순으로 읽는 질의가 payload(JSON)까지 함께 정렬해, LIMIT 5,000 행분이 정렬 버퍼에 들어가야 했다. 정렬은 id 만으로 하고 payload·receivedAt 은 (observedDate, id) PK 로 읽어 id 순서대로 맞춘다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Test Coverage
|
Test Coverage
|
This was referenced Oct 31, 2026
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.
열린 이슈 중 사용자 결정 없이 바로 고칠 수 있는 것만 모았다. 커밋 = 이슈(묶음) 단위. 마이그레이션 없음.
남은 것(사람)
ruleup-stg-business삭제손대지 않은 것(결정 필요)
#379 #380(증빙 이미지 정책) · #375 · #373 · #372 · #368 · #357 · #355 · #345
🤖 Generated with Claude Code