Repository navigation
merge to main - #678
Merged
Merged
merge to main#678
Conversation
5교시 종료 시간(14:40)과 6교시 시작 시간(14:30)이 10분 겹쳐 TIME 타입 외출 신청 시 해당 구간의 기간 매칭이 중복되는 버그 수정 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1. ResetStatusService의 @transactional(readOnly = true) 제거 - readOnly = true로 인해 flush가 되지 않아 모든 상태 리셋이 DB에 반영되지 않던 문제 수정 2. ResetAttendanceService에서 PICNIC 보존 조건 제거 - PICNIC(현장체험학습)을 DROPOUT/EMPLOYMENT와 동일하게 영구 보존 처리하던 문제 수정 - 일일 리셋 시 ATTENDANCE로 정상 복구되도록 변경 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
start..endAt 양끝 포함 비교로 인해 14:40 등 경계 시각이 이전 교시에 잡혀 translateApplication과 updateAttendanceToApplication의 결과가 불일치하던 문제 수정 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
중복 행 존재 시 getSingleResult() 호출로 발생하는 NonUniqueResultException 방지를 위해 LIMIT 1이 적용되는 findFirstByUserId로 변경 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
tbl_status 중복 행으로 인한 NonUniqueResultException 방지 SaveAllStatusUserService에서 이미 중복 행 존재를 인지하고 있었으나 단건 조회 쿼리는 수정되지 않은 상태였음 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- user_id 기준 중복 행 제거 (가장 작은 id 1건 유지) - UNIQUE(user_id) 제약 추가로 동일 문제 재발 방지 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
getMatchPeriods는 반열린 구간 겹침을 사용하므로 startTime == endTime이면 항상 빈 매칭으로 InvalidPeriodException 발생 checkApplicationTime도 동일 기준으로 맞춰 신청·승인 단계 불일치 제거 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
동료가 이미 중복 데이터를 직접 정리했으므로 UNIQUE 제약 추가만 남기고 DELETE 구문 제거 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix :: 외출 출석 오처리 수정 및 NonUniqueResultException 버그 수정
fix :: PICNIC 상태 등록 시 자동 상태 복구 불가 버그 수정
API별 호출 횟수 및 응답시간 모니터링을 위해 Spring Boot Actuator + Micrometer Prometheus 연동 추가. /dsm-pick/actuator/prometheus 엔드포인트에서 메트릭 조회 가능. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: Micrometer Prometheus 메트릭 수집 설정 추가
deleteByYearMonth 후 flush() 추가하여 JPA write-behind로 인한 DELETE 지연 문제 해결 — INSERT 전에 DELETE가 DB에 반영되도록 보장 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…flush fix: meal retry 시 SQLIntegrityConstraintViolationException 해결
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
No description provided.