Skip to content

T-39 게임 빌드 메타 등록 (파일 업로드 제외) - #112

Open
ff1451 wants to merge 1 commit into
feat/t38-game-screenshot-rating-memberfrom
feat/t39-game-build-meta
Open

T-39 게임 빌드 메타 등록 (파일 업로드 제외)#112
ff1451 wants to merge 1 commit into
feat/t38-game-screenshot-rating-memberfrom
feat/t39-game-build-meta

Conversation

@ff1451

@ff1451 ff1451 commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

요약

T-38 PR(#110) 위에 스택한다. 빌드 버전 메타데이터만 등록·조회·삭제한다 — 실제 ZIP 업로드·압축해제·서빙은 이번 범위 밖이며, 다루면 ADR-023 범위를 벗어난다. 후속 태스크 T-41이 홈페이지 서버 쪽 설계와 함께 구현한다.

변경 사항

  • POST /v1/admin/games/{id}/builds — 버전만 받아 status=PENDING으로 등록, uploadedBy는 JWT subject(관리자 본인)
  • GET /v1/admin/games/{id}/builds — 최신순 목록
  • DELETE /v1/admin/games/{id}/builds/{buildId}

테스트

AdminGameBuildIntegrationTest(신규 4개) — 등록 시 PENDING·buildFileUrl 없음(ADR-023), 활성 빌드가 없으면 공개 응답의 activeBuildnull이고 500이 아님(AC-9.10), 삭제 후 목록에서 사라짐, 존재하지 않는 게임에 등록하면 404.

수동 검증

./gradlew test 전체 통과(164개, 실패 0). 신규 마이그레이션 없음.

남은 항목

T-40(멘토 슬롯+Q&A+모집 링크)은 후속 PR. T-41(빌드 업로드 파이프라인)은 홈페이지 쪽 설계 합의 전까지 착수하지 않음.

Refs #111

POST/GET/DELETE로 빌드 버전 메타만 등록·조회·삭제한다. 실제 ZIP 수신·압축
해제·서빙은 이번 범위 밖이다 — 다루면 ADR-023 범위를 벗어난다. 후속
태스크(T-41)가 홈페이지 서버 쪽 설계와 함께 구현한다.

- POST /v1/admin/games/{id}/builds — 버전만 받아 status=PENDING으로 등록,
  uploadedBy는 JWT subject(관리자 본인)
- GET /v1/admin/games/{id}/builds — 최신순 목록
- DELETE /v1/admin/games/{id}/builds/{buildId} — 메타 삭제

테스트: AdminGameBuildIntegrationTest(신규 4개) — 등록 시 PENDING·buildFileUrl
없음(ADR-023), 활성 빌드가 없으면 공개 응답의 activeBuild가 null이고 500이
아님(AC-9.10), 삭제 후 목록에서 사라짐, 존재하지 않는 게임에 등록하면 404.

./gradlew test 전체 통과(164개, 실패 0). 신규 마이그레이션 없음.

Refs #111
@coderabbitai

coderabbitai Bot commented Aug 30, 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: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c07e4f14-e7fd-467f-ae36-07847b2df12a

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

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.

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