Repository navigation
[Test] Embedding Circuit 장애·Probe 복구 경로 통합 검증 - #414
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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.
🔍️ 작업 내용
실제 Spring Backend·PostgreSQL·Valkey·BGE-M3·Prometheus·Alertmanager를 연결해 하나의 Embedding Job이 Provider 장애에서 복구되는 전체 경로를 자동 검증합니다.
✨ 상세 설명
실제 Circuit 복구 Drill
circuit-recovery명령과all실행 순서에 새 시나리오를 추가했습니다.docker stop/start로 장애와 복구를 주입합니다./actuator/prometheus에서 직접 확인합니다.for: 1m과 Alertmanager inhibition을 실제로 통과시킵니다.INDEXED, Embedding 저장,open=0,probe_failed=0,delayed_retry_jobs=0까지 기다립니다.Drill이 발견한 Embedding HTTP 계약 결함 수정
Content-Type이 없던
RestClient요청은 classpath의 XML Converter를 선택했습니다.단건
/embed와 Batch/embed/batch모두application/json을 명시했습니다. 운영과 같은 JDKHttpClient+ SpringRestClient조합으로 수정 전 422와 수정 후 200을 각각 재현했습니다.증거 보존
[internal URL omitted]으로 치환합니다.docs/test-results/evidence/issue-413/에 보존했습니다.docs/test-results/gimin-#413-embedding-circuit-recovery.md에 기록했습니다.최종 실측
INDEXEDINDEXED, Embedding 1건, delayed Retry 0건✅ 검증
python3 -m unittest monitoring/drills/test_run_drill.py monitoring/drills/test_webhook_receiver.py -vEmbeddingClient→ BGE-M3 계약 테스트./monitoring/drills/run.sh circuit-recovery --output-dir <결과 디렉터리>./backend/gradlew -p backend test --no-daemon --rerun-tasks./monitoring/verify.sh --e2e🛠️ 추후 리팩토링 및 고도화 계획
group_interval은 실행 시간을 제한하기 위해 30초이며 운영값은 5분입니다.📸 스크린샷 (선택)
해당 없음. 구조화 JSON과 webhook JSONL을 증거로 첨부했습니다.
💬 리뷰 요구사항
stop/start하는 장애 주입이 기존 Drill과 함께 안전하게 격리되는지 확인해 주세요.