[Chore] - Config.swift 추적 해제 (env 분리 관리)#298
Conversation
- .gitignore에 등록되어 있으나 이전에 git에 추가되어 추적되던 상태라 변경 시 modified로 떠 secret 노출 위험 - 별도 private 레포(thingineeer-env / Runnect-env)에서 관리 결정에 따라 메인 레포에서는 추적만 해제 - working tree 파일은 그대로 유지 (`git rm --cached` 만 사용)
|
Warning Rate limit exceeded
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 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 configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
- public 레포 특성상 secret 노출 위험을 최상단(프로젝트 개요 직후)에 명시 - private 레포(thingineeer-env / Runnect-env)에서 관리한다는 흐름 기록 - AI 도구가 작업 시에도 PR diff에 두 파일 변경분이 포함되지 않도록 규칙 명시
🌱 작업한 내용
Config.swift는.gitignore에 등록되어 있으나 이전에 git에 추가되어 추적되던 상태라.gitignore효력이 없어 변경 시 항상modified로 떴음thingineeer-env의Runnect-env)에서 secret을 관리하기로 결정 → 메인 레포에서는 단순 추적 해제만 (git rm --cached)🌱 PR Point
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등) 그대로 남아 있음 → 노출된 키 갱신은 별도 작업