Skip to content

release: v1.4.0 - #144

Merged
hyxklee merged 12 commits into
mainfrom
release/v1.4.0
Nov 16, 2026
Merged

hyxklee merged 12 commits into
mainfrom
release/v1.4.0

Conversation

@hyxklee

@hyxklee hyxklee commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

📌 Summary

dev의 5d7225a 시점에서 자른 정규 릴리즈입니다. 왁뿌볼 실시간 게임 서버, 서비스 피드백 저장 API가 운영에 반영됩니다. FCM 푸시 알림은 코드는 포함하되 prod에서 플래그로 꺼진 상태로 나갑니다.

📝 Changes

What

Why

  • 왁뿌볼 운영 오픈과 서비스 피드백 A/B 클라이언트 릴리즈에 필요한 서버 변경을 먼저 배포하기 위함

How

  • release/v1.4.0 = dev의 5d7225a + main 병합 커밋 a55318f
    • main·dev의 merge base가 둘(criss-cross)이라 GitHub이 AttendanceControllerTest.kt add/add 충돌로 판정해서 main을 미리 병합함
    • 병합 결과 트리가 dev 5d7225a와 동일 (코드 변경 없음)
  • DB: Flyway V21__add_notification_tables(알림 테이블, 빈 테이블로 생성), V22__create_feedback 적용

💡 Reviewer 참고사항

  • Merge commit으로 머지 (main 규칙)
  • 머지 후 release-create가 draft v1.4.0(minor)을 생성. 확인 후 publish 시 운영 배포
  • 병합 커밋의 트리가 dev와 같아서 main 머지 후 backmerge는 skip 예상 (로컬 시뮬레이션 확인)
  • 이 브랜치에 코드 커밋을 추가하지 말 것 — 추가 시 백머지가 필요해짐

prod 설정 (publish 전 확인)

배포 후 서버 작업

  • docker compose up -d caddy redis ([WTH-21] 운영·개발 서버 디스크 자동 정리 및 디스크 알림 설정 #135 로그 제한 반영, caddy 수 초 끊김)
  • 모니터링 스택: monitoring/scripts/deploy.sh 또는 Deploy Monitoring Prod 수동 실행 (docker compose up 직접 실행 금지)
  • 확인: wss://api.v4.weeth.kr/ws/wax 101, 앱 프로세스에 -javaagent 없음, Picked up JAVA_TOOL_OPTIONS 로그, Grafana 알림 규칙 2개

✅ Checklist

  • PR 제목 설정 완료
  • 테스트 구현 완료 (각 PR에서 CI 통과)
  • 리뷰어 등록 완료
  • 자체 코드 리뷰 완료

🤖 Generated with Claude Code

https://claude.ai/code/session_01KNiSpGaJ4gDXY6hedif1is

soo0711 and others added 11 commits October 6, 2026 22:33
* feat: 알림 도메인 추가

* feat: FCM 알림 토큰 등록/해제 API 추가

* feat: FCM 알림 토큰 등록/해제 응답 추가

* feat: 동아리별 알림함 API 추가

* feat: 공지 작성 시 알림 내역 생성

* feat: 공지 알림 푸시 로직 추가

* feat: Firebase FCM 푸시 어댑터 추가

* refactor: 마이그레이션 쿼리 추가

* fix: FCM 멀티캐스트 분할 발송 처리

* fix: FCM 배치 실패 방어 로직 및 토큰 정리

* fix: FCM 배치 예외 처리 범위 제한

* fix: 알림 동아리 ID Base62 인코딩 적용

* fix: 알림 저장 벌크 인서트 적용

* fix: 공지 알림 대상을 진행 중인 기수로 제한

* fix: 알림 토큰 정리와 조회 인덱스 개선

* feat: FCM 발송 결과 운영 로그 추가

* refactor: 알림 생성 및 발송 구조 범용화

* fix: 알림 저장 대상과 푸시 대상 일치

* test: 출석 컨트롤러 테스트 JSON 응답 형식 명시
* ci: 릴리즈 드래프트를 main 머지 기준으로 변경

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: 릴리즈 draft 생성과 운영 배포 결과 Slack 알림

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: draft 알림 아이콘을 로켓으로 변경

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: draft 알림에서 bump·PR 정보 제거

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: Slack 알림에 저장소 이름 표시

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: 백머지 판정과 PR 라벨러 리뷰 반영

- 백머지 필요 여부를 merge-tree 결과로 판정해 머지 커밋의 충돌 해결분도 감지
- 기존 백머지 PR 조회 시 같은 저장소 PR만, 최대 100건 조회
- labeler v6 + pull_request_target으로 fork PR에도 라벨 부여

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: 동아리 가입 시 기본 프로필 즉시 생성 및 할당

* test: 동아리 가입 시 기본 프로필 할당 검증 테스트 추가

* refactor: UserProfile 이름 길이 상수 중복 제거
* feat: 서비스 피드백 엔티티와 테이블 추가

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: 서비스 피드백 저장 API 구현

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: API 코드 레지스트리와 도메인 목록 갱신

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: 피드백 내용 검증 실패를 400으로 처리

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: Slack 피드백 알림 입력값 escape

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: 피드백 예외를 application 계층으로 이동

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: 피드백 마이그레이션 버전을 V22로 변경

이 PR이 #124(V22 FEEDBACK 게시판 타입)보다 먼저 머지될 예정이라
dev 다음 번호인 V22를 사용한다. #124는 머지 전 V23으로 조정해야 한다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: 에이전트의 PR 머지와 보호 브랜치 push 차단

dev/main은 승인 1개 ruleset이 있지만 에이전트가 gh pr merge를 시도하지
못하도록 하네스에서도 막는다. gh api 읽기는 허용하고 쓰기 플래그는 확인을 받는다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: 보호 브랜치 push 차단 훅과 gh api 변경 요청 확인 규칙 보완

- PreToolUse 훅으로 refspec·git -C·인자 없는 push까지 판별해 main/dev push 차단
- gh api의 -XPOST, --method=, -fkey=value 등 붙여쓴 옵션도 ask 규칙에 포함

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: Slack 피드백 웹훅 호출에 연결·읽기 타임아웃 설정

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: 보호 브랜치 push 훅의 HEAD·`:` refspec 판별 보완

- `git push <remote> HEAD`는 upstream이 아닌 현재 브랜치 이름으로 판별
- `:`/`+:` refspec은 로컬 보호 브랜치가 있으면 차단, `<src>:`는 src 이름으로 판별
- 태그만 보내는 `git push <remote> --tags`는 허용

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: Slack 피드백 알림의 동아리명·작성자명 줄바꿈 치환

- 한 줄 필드에 줄바꿈을 넣어 가짜 항목 행을 만드는 것을 방지
- 타임아웃 테스트가 실제 설정값(연결 3초·읽기 5초)을 검증하도록 보강

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- spring.http.client로 연결 3초·읽기 5초 타임아웃을 RestClient.Builder 전체에 적용
- httpclient5를 직접 의존성으로 선언하고 factory를 http-components로 고정
- 전역 설정과 중복되는 SlackFeedbackNotifyAdapter 전용 타임아웃 제거

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: 왁뿌볼 실시간 게임 서버 및 dev 배포 설정 추가

- 메모리 월드(복도+강의실 3개), 교수님 상태 기계, 표현, 좌석·소음 규칙
- 운영 앱 /ws/wax 조건부 등록(weeth.wax.enabled: dev on, prod off)
- weeth.wax.* 한도(연결·월드·인원·IP·브로드캐스트·입력 없음 내보내기)
- 월드당 1회 직렬화, 10Hz 브로드캐스트, 짧은 id·기본값 필드 생략
- 만료 초대 링크 재오픈, world_full/server_full 코드, 종료 시 restart 공지
- 로컬 프로토타입 진입점이 통합 테스트 스캔에 잡히던 문제 수정

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: 왁뿌볼 부하 점검 봇 스크립트 추가

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: 종료 시 브로드캐스트를 기다린 뒤 restart 공지 전송

shutdownNow가 전송 중인 tick을 인터럽트해 연결이 공지 전에 닫히던 문제.
진행 중인 tick이 끝나길 기다린 뒤 공지를 보내고 닫는다(CI에서 간헐 실패).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* chore: 운영·개발 서버 디스크 자동 정리 설정

- 앱 외 모든 컨테이너에 Docker 로그 크기 제한(20MB x 3) 적용
- deploy.sh에서 7일 넘게 쓰지 않은 옛 앱 이미지까지 정리
- prod Prometheus에 보관 용량 제한(2GB) 추가

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: 운영 디스크·앱 다운 Grafana 알림 추가

- 루트 디스크 80% 초과, app-blue/green 모두 수집 실패 시 Slack 알림
- 데이터가 끊긴 경우(NoData)도 알림으로 처리
- 웹훅 미설정 시 Grafana 기동 실패를 막기 위해 자리표시 기본값 지정

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
weeth.notification.enabled가 꺼져 있으면 공지 작성 시 알림 생성 리스너와
알림 API를 등록하지 않는다. prod 기본값은 false, dev·local은 true.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@hyxklee hyxklee added the 🚀 Release dev → main 릴리즈 PR (릴리즈 노트 제외) label Nov 16, 2026
@hyxklee hyxklee self-assigned this Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 16, 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 737ab455-9c11-43f2-979e-aad42e505751

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KNiSpGaJ4gDXY6hedif1is
@hyxklee
hyxklee marked this pull request as ready for review November 16, 2026 12:25
@hyxklee
hyxklee requested review from soo0711 and woneeeee November 16, 2026 12:25
@hyxklee
hyxklee merged commit 2d8a319 into main Nov 16, 2026
3 checks passed
@hyxklee
hyxklee deleted the release/v1.4.0 branch November 16, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚀 Release dev → main 릴리즈 PR (릴리즈 노트 제외)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants