Skip to content

[Chore] - Config.swift 추적 해제 (env 분리 관리)#298

Merged
thingineeer merged 2 commits intodevelopfrom
chore/v2.5.0-untrack-config
Apr 25, 2026
Merged

[Chore] - Config.swift 추적 해제 (env 분리 관리)#298
thingineeer merged 2 commits intodevelopfrom
chore/v2.5.0-untrack-config

Conversation

@thingineeer
Copy link
Copy Markdown
Collaborator

🌱 작업한 내용

  • Config.swift.gitignore에 등록되어 있으나 이전에 git에 추가되어 추적되던 상태라 .gitignore 효력이 없어 변경 시 항상 modified로 떴음
  • 별도 private 레포(thingineeer-envRunnect-env)에서 secret을 관리하기로 결정 → 메인 레포에서는 단순 추적 해제만 (git rm --cached)
  • working tree 파일은 보존 — 본인 빌드는 영향 없음

🌱 PR Point

  • 신규 운영 URL은 git에 절대 안 올라감. 스테이징 단계에서 git diff --cached로 명시적 검증 완료 (runnect.site 흔적 0건)
  • 신규 클론 받는 사람은 Runnect-env 레포에서 Config.swift 를 가져와 동일 경로(Runnect-iOS/Runnect-iOS/Network/Foundation/Config.swift)에 배치해야 빌드 가능

⚠️ 머지 후 영향

  • 기존에 Config.swift 를 가지고 있던 협업자: pull 시 git이 더 이상 추적하지 않음. working tree 파일은 그대로 유지됨
  • git history 에는 이미 노출된 secret(spring 서버 URL, kakaoRestAPIKey 등) 그대로 남아 있음 → 노출된 키 갱신은 별도 작업

- .gitignore에 등록되어 있으나 이전에 git에 추가되어 추적되던 상태라 변경 시 modified로 떠 secret 노출 위험
- 별도 private 레포(thingineeer-env / Runnect-env)에서 관리 결정에 따라 메인 레포에서는 추적만 해제
- working tree 파일은 그대로 유지 (`git rm --cached` 만 사용)
@thingineeer thingineeer added Chore 그 외의 잡일/버전 코드 수정, 패키지 구조 변경, 파일 이동, 파일 이름 변경, 레이아웃 조정 등 명진😼 labels Apr 25, 2026
@thingineeer thingineeer self-assigned this Apr 25, 2026
@thingineeer thingineeer added Chore 그 외의 잡일/버전 코드 수정, 패키지 구조 변경, 파일 이동, 파일 이름 변경, 레이아웃 조정 등 명진😼 labels Apr 25, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 25, 2026

Warning

Rate limit exceeded

@thingineeer has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 28 minutes and 0 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 28 minutes and 0 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1edeeaa5-1e00-4c8d-abd3-97514c743f2e

📥 Commits

Reviewing files that changed from the base of the PR and between 51a5ce8 and d3f4bfa.

📒 Files selected for processing (2)
  • CLAUDE.md
  • Runnect-iOS/Runnect-iOS/Network/Foundation/Config.swift
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/v2.5.0-untrack-config

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.

- public 레포 특성상 secret 노출 위험을 최상단(프로젝트 개요 직후)에 명시
- private 레포(thingineeer-env / Runnect-env)에서 관리한다는 흐름 기록
- AI 도구가 작업 시에도 PR diff에 두 파일 변경분이 포함되지 않도록 규칙 명시
@thingineeer thingineeer merged commit 3b04522 into develop Apr 25, 2026
1 check passed
@thingineeer thingineeer deleted the chore/v2.5.0-untrack-config branch April 25, 2026 16:36
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