fix(ci): Self-Healing 에이전트 개선 - 로그 fetch & Gemini 전환#45
Merged
Conversation
- aider 모델을 gemini/gemini-2.5-pro로 변경 (Anthropic API 무료 티어 없음) - .gitignore에 .env 추가 (GEMINI_API_KEY 등 로컬 시크릿 보호) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
분기문 실행 전 .env가 로드되도록 순서 조정. SERVER_FATAL 분기 시 $4 인자로 서버 런타임 로그 직접 수신하는 로직은 유지. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SERVER_FATALprefix 감지 시gh run view대신$4인자로 서버 런타임 로그 직접 수신 (존재하지 않는 run ID 조회로 원본 에러 덮어쓰는 버그 수정)gemini/gemini-2.5-pro로 전환 (Anthropic API 유료 → Gemini 무료 티어).env로딩을 분기문 앞으로 이동하여 모든 분기에서 환경변수 사용 가능하도록 순서 조정.gitignore에.env추가 (GEMINI_API_KEY 등 로컬 시크릿 보호)변경 파일
trigger-ai-fix.sh: SERVER_FATAL 분기, Gemini 모델, .env 로드 순서 수정.gitignore:.env추가API 키 발급: https://aistudio.google.com
Test Plan
.env에GEMINI_API_KEY추가 확인SERVER_FATALRUN_ID로 호출 시$4로그 정상 수신 확인gh run view --log-failed정상 동작 확인