Skip to content

[CHORE] CI에 Gradle 배포 파일·의존성 캐시 적용 - #204

Merged
giwoong01 merged 1 commit into
developfrom
chore/ci-gradle-cache
Nov 17, 2026
Merged

giwoong01 merged 1 commit into
developfrom
chore/ci-gradle-cache

Conversation

@giwoong01

Copy link
Copy Markdown
Collaborator

#️⃣ 연관된 이슈

남은 일 목록: CI Gradle 다운로드 실패 대응

📝 작업 내용

문제

  • CI가 시작할 때 Gradle 배포 파일(gradle-8.14.3-bin.zip)을 내려받다가 504나 타임아웃으로 자주 실패합니다. 최근 PR마다 1~3번씩 재실행했습니다.
  • PR CI(ci-test.yml)에는 setup-java의 cache: gradle이 있었지만, develop·main CI(backend-ci.yml)에서는 주석 처리돼 있었습니다.
  • 그래서 기준 브랜치(develop)에 캐시가 저장되지 않았고, PR이 가져다 쓸 캐시도 없었습니다.

변경

  • 두 워크플로에 gradle/actions/setup-gradle@v4를 추가했습니다. Gradle 배포 파일(wrapper)과 의존성을 캐시합니다.
  • develop·main 푸시에서만 캐시를 저장(cache-read-only: false)하고, PR은 저장된 캐시를 읽기만 합니다.
  • ci-test.yml의 setup-java cache: gradle은 중복이라 지웠습니다. 다른 단계는 그대로입니다.

참고

  • 머지 직후 develop에서 처음 도는 CI가 캐시를 채웁니다. 그 다음 PR부터 배포 파일을 다시 내려받지 않습니다.
  • 이 PR 자체의 CI는 아직 develop에 캐시가 없으니 지금처럼 내려받습니다.

🧪 테스트

  • 워크플로 YAML 문법 확인. 이 PR의 CI가 통과하는지로 확인합니다.

🤖 Generated with Claude Code

Gradle 배포 파일 다운로드 504·타임아웃으로 CI가 자주 실패한다. setup-gradle로 ~/.gradle(wrapper 배포 파일 포함)을 캐시한다.
develop·main 푸시(backend-ci)에서 캐시를 저장하고, PR(ci-test)은 읽기만 한다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@giwoong01 giwoong01 added the 🧹 chore 단순 변경 사항, 빌드 수정 label Nov 17, 2026
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 30 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 9eefa38 and c03e5e0.

Files selected for processing: 2

  • .github/workflows/backend-ci.yml
  • .github/workflows/ci-test.yml

Note

.coderabbit.yml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

Parsing warnings: 1

Validation error: Unrecognized key: "common_ground_rules"
Configuration instructions

  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
  • 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

@github-actions

Copy link
Copy Markdown

Test Results

369 tests   369 ✅  19s ⏱️
 73 suites    0 💤
 73 files      0 ❌

Results for commit c03e5e0.

@github-actions

Copy link
Copy Markdown

🌻 테스트 커버리지 리포트

Overall Project 83% 🍏

There is no coverage information present for the Files changed

@giwoong01
giwoong01 merged commit a231ec6 into develop Nov 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧹 chore 단순 변경 사항, 빌드 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant