Skip to content

[REFACTOR] recent-summary year 기본값 동적화 및 404 엔드포인트 처리 보강#430

Merged
TAEW00KIM merged 4 commits intomainfrom
fix/ci-testcontainers-stability
Feb 26, 2026
Merged

[REFACTOR] recent-summary year 기본값 동적화 및 404 엔드포인트 처리 보강#430
TAEW00KIM merged 4 commits intomainfrom
fix/ci-testcontainers-stability

Conversation

@TAEW00KIM
Copy link
Contributor

이슈 배경


CI에서 간헐적으로 테스트가 실패하는 현상이 있어, 러너/도커/Testcontainers 환경 이슈를 빠르게 진단하고 복구 가능한 형태로 보완했습니다.

기존의 문제

  • SPRING_PROFILES_ACTIVE=ci ./gradlew test가 간헐 실패할 때 원인 파악 정보가 부족했습니다.
  • Testcontainers(MySQL) 초기화 타이밍/네트워크 이슈가 있을 경우 즉시 실패로 종료되어 재시도 없이 파이프라인이 깨졌습니다.

해결 방식

  • CI workflow(/Users/twkk0/Desktop/Spring/hufscheer/spectator-server/.github/workflows/ci.yml)에 아래를 추가했습니다.
    • Docker 진단 step: docker version, docker info
    • Testcontainers용 MySQL 이미지 사전 다운로드: docker pull mysql:8.0
    • 테스트 실행 1회 재시도 로직 추가:
      • 1차 실패 시 동일 명령 1회 재실행
      • 2차도 실패하면 최종 실패 처리

확인해야 할 부분

  • CI 실행 로그에서 Docker 진단 정보가 정상 출력되는지
  • 1차 실패 후 2차 재시도가 정상 동작하는지
  • 전체 CI 소요 시간이 허용 범위 내인지

영향 범위 / 사이드 이펙트

  • 애플리케이션 로직, API, DB 스키마 변경 없음
  • CI 실행 시간은 다소 증가할 수 있음(진단 step + pre-pull + 재시도 가능성)

Breaking Change 여부

  • 없음 (Non-breaking)

@TAEW00KIM TAEW00KIM self-assigned this Feb 18, 2026
@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@TAEW00KIM TAEW00KIM changed the title refactor: recent-summary year 기본값 동적화 및 404 엔드포인트 처리 보강 [REFACTPR] recent-summary year 기본값 동적화 및 404 엔드포인트 처리 보강 Feb 18, 2026
@TAEW00KIM TAEW00KIM changed the title [REFACTPR] recent-summary year 기본값 동적화 및 404 엔드포인트 처리 보강 [REFACTOR] recent-summary year 기본값 동적화 및 404 엔드포인트 처리 보강 Feb 18, 2026
@Jin409
Copy link
Contributor

Jin409 commented Feb 24, 2026

@gemini-code-assist 변경사항 요약

@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

Copy link
Contributor

@Jin409 Jin409 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨어요~!

@TAEW00KIM TAEW00KIM merged commit 3029bb6 into main Feb 26, 2026
1 check passed
@TAEW00KIM TAEW00KIM deleted the fix/ci-testcontainers-stability branch February 26, 2026 08:59
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.

2 participants