Skip to content

Conversation

@wjdrjs00
Copy link
Member

@wjdrjs00 wjdrjs00 commented Dec 4, 2025

[ PR Content ]

Related issue

Screenshot 📸

스크린샷 2025-12-04 14 22 34

Work Description

  • 빌드 환경 분리 작업을 진행했습니다. [디버그 / 릴리즈]
    • 문제: 빌드 변경 후 실행 시 기존의 앱 삭제 후 재설치 해야하는 뎁스가 존재함
    • 해결: 빌드 분리를 통해 공존이 가능하도록 변경

To Reviewers 📢

  • 궁금한 사항이 있다면 리뷰 남겨주세요~!

Summary by CodeRabbit

  • Chores
    • 디버그 빌드 설정이 업데이트되었습니다. 디버그 버전은 이제 앱 ID와 버전 이름에 식별자가 추가되어 릴리스 버전과 더욱 명확하게 구분됩니다.

✏️ Tip: You can customize this high-level summary in your review settings.

@wjdrjs00 wjdrjs00 requested a review from l5x5l December 4, 2025 05:28
@wjdrjs00 wjdrjs00 self-assigned this Dec 4, 2025
@coderabbitai
Copy link

coderabbitai bot commented Dec 4, 2025

Walkthrough

디버그 빌드 타입에 애플리케이션 ID 및 버전명 접미사를 추가하고, 디버그 가능성을 활성화했습니다. 디버그 빌드용 문자열 리소스 파일을 추가하여 빌드 환경을 분리했습니다.

Changes

문제 / 파일 변경 요약
디버그 빌드 구성
app/build.gradle.kts
디버그 buildType에 applicationIdSuffix = ".debug", versionNameSuffix = "-DEBUG", isDebuggable = true 추가
디버그 리소스
app/src/debug/res/values/strings.xml
디버그 빌드용 앱 이름 문자열 리소스(app_name: "빛나길 (Dev)") 추가

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

  • 빌드 구성 변경은 간단하고 표준적인 패턴 적용
  • 디버그 리소스 파일은 새로운 파일이지만 단순 문자열 정의만 포함

Poem

🐰 빌드 환경을 나누는 날,
디버그와 릴리즈 갈라서니,
".debug" 꼬리 달고 나타나
개발자의 마음 편해지네! ✨

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The pull request title clearly summarizes the main change: separating debug and release build environments, which directly corresponds to the changeset modifications in build configuration and debug resources.
Description check ✅ Passed The pull request description follows the repository template with all required sections completed: related issue (#161), screenshot, work description explaining the problem and solution, and notes for reviewers.
Linked Issues check ✅ Passed The code changes fully implement the objective of issue #161: separating debug and release build environments by adding debug-specific suffixes and debug resources, enabling coexistence of both build variants.
Out of Scope Changes check ✅ Passed All changes are directly scoped to the build environment separation objective: modifications to build.gradle.kts for debug configuration and addition of debug-specific string resources are both within scope of issue #161.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/#161-setup-build-types

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 50043f9 and 5e3ae1c.

📒 Files selected for processing (2)
  • app/build.gradle.kts (1 hunks)
  • app/src/debug/res/values/strings.xml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build
🔇 Additional comments (2)
app/src/debug/res/values/strings.xml (1)

1-3: 디버그 변형 리소스 구성이 올바릅니다.

Debug 빌드 변형용 문자열 리소스 파일을 올바르게 구성했습니다. src/debug/ 디렉토리 구조를 활용하여 app_name을 "(Dev)"로 표시함으로써, 사용자가 시각적으로 디버그 빌드와 릴리스 빌드를 구분할 수 있습니다. Android 변형 리소스 메커니즘에 부합하는 깔끔한 구현입니다.

app/build.gradle.kts (1)

63-72: 빌드 환경 분리 구성이 목표를 정확히 달성합니다.

applicationIdSuffix = ".debug", versionNameSuffix = "-DEBUG", isDebuggable = true의 조합으로 Debug 및 Release 빌드가 명확히 분리되어 동일 기기에 동시 설치될 수 있습니다. 이는 PR의 목표를 정확히 달성하며, Android 표준 관례를 따르고 있습니다. src/debug/res/values/strings.xml의 앱 이름 오버라이드와 함께 사용자도 두 빌드를 명확히 구분할 수 있습니다.


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.

Copy link
Contributor

@l5x5l l5x5l left a comment

Choose a reason for hiding this comment

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

살펴봤는데, 아마 applicationId가 아니라 namespace를 사용하기 때문에 디버그 모드에서도 동작하는 것 같습니다!

@wjdrjs00 wjdrjs00 merged commit bb7a181 into develop Dec 4, 2025
2 checks passed
@wjdrjs00 wjdrjs00 deleted the chore/#161-setup-build-types branch December 4, 2025 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CHORE] 디버그 및 릴리즈 빌드 환경 분리를 구성합니다.

3 participants