Skip to content

merge to main - #678

Merged
1210thatman merged 14 commits into
mainfrom
develop
Jun 22, 2026
Merged

1210thatman merged 14 commits into
mainfrom
develop

Conversation

@1210thatman

Copy link
Copy Markdown
Member

No description provided.

1210thatman and others added 14 commits June 2, 2026 18:50
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 해결
@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f27eeb45-20e1-4bc9-9738-2e4d3a4c6db9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@1210thatman
1210thatman merged commit 4396f5e into main Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant