Skip to content

merge to main - #232

Merged
whc9999 merged 15 commits into
mainfrom
dev
Jul 30, 2026
Merged

merge to main#232
whc9999 merged 15 commits into
mainfrom
dev

Conversation

@whc9999

@whc9999 whc9999 commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

✨ 어떤 이유로 PR를 하셨나요?

  • feature 병합
  • 버그 수정(아래에 issue #를 남겨주세요)
  • 코드 개선
  • 코드 수정
  • 배포
  • 기타(아래에 자세한 내용 기입해주세요)

📋 세부 내용 - 왜 해당 PR이 필요한지 작업 내용을 자세하게 설명해주세요

📸 작업 화면 스크린샷

⚠️ PR하기 전에 확인해주세요

  • 로컬테스트를 진행하셨나요?
  • 머지할 브랜치를 확인하셨나요?
  • 관련 label을 선택하셨나요?

🚨 관련 이슈 번호 [ ]

whc9999 and others added 15 commits July 30, 2026 03:25
- Cohere 설정 프로퍼티와 RestClient 기반 embedding client 추가
- /v2/embed 요청/응답 DTO 및 search_document/search_query 호출 분리
- API key, 입력, 응답 개수 및 1024차원 검증 로직 추가
- Cohere API 오류를 기존 GeneralException 체계로 변환
- 외부 API 호출 없는 단위 테스트와 수동 검증 문서 추가
- CohereCorpusEmbeddingClient를 global CohereEmbeddingClient 위임 구조로 변경
- cohere.api-key/base-url/embedding 설정으로 Cohere 설정 통합
- corpus embedding 모델 참조를 CohereProperties 기준으로 정리
- 기존 pgvector 저장 및 similarity search 구조는 유지
- Cohere corpus 위임 테스트 보강
- CohereEmbeddingClient에 HttpClient5 connection pool 적용
- 429/5xx 응답에 bounded exponential backoff 재시도 추가
- Retry-After 헤더 기반 대기 처리
- readTimeout 예외 매핑 회귀 테스트 추가
[Feat] Cohere Embed API 클라이언트 1차 연동
…-client-for-corpus

[Fix] Cohere 임베딩 클라이언트 풀링 및 재시도 적용
- JobPosting embedding text builder 추가
- CohereEmbeddingClient 기반 JobPosting embedding service 추가
- Corpus 저장 패턴을 재사용한 PGVector upsert sync service 추가
- job_posting_embeddings 테이블 및 HNSW cosine index migration 추가
- JobPosting embedding text, Cohere 위임, upsert sync 테스트 추가
- job_posting_embeddings 기반 Similarity Search 구현
- Cohere query embedding과 PGVector cosine distance 검색 적용
- 현재 공고 및 타 사용자 공고 제외 필터 추가
- 유사 공고 전용 응답 DTO 추가
- Retrieval SQL 바인딩 및 결과 매핑 테스트 추가
## 변경 사항

- JobPosting Similarity Retrieval 결과를 Python 비동기 분석 worker context에 전달
- 유사 공고의 주요업무, 자격요건, 우대사항을 보조 RAG Context로 사용
- 현재 공고를 최우선으로 사용하는 Prompt 규칙 추가
- 유사 공고 Context를 Analysis fingerprint에 포함
- Retrieval 실패 시 빈 Context로 분석을 계속하는 fail-open 적용

## 호환성

- 외부 API 응답 변경 없음
- RabbitMQ 메시지 구조 변경 없음
- DB 및 migration 변경 없음
- 분석 Structured Output 변경 없음
- 기존 worker context 요청은 `similarJobPostings=[]`로 하위 호환

## 테스트

- BackEnd 전체 테스트 성공
- analysis-server 전체 테스트 71/71 성공
- Java compile 성공
- Python compileall 성공
- 양쪽 git diff --check 성공
…rity-retrieval

[Feat] JobPosting 유사도 검색 서비스 추가
…ob-posting-rag

[Feat] 유사 채용공고 RAG 컨텍스트와 fingerprint 연동
- MockApply 홈 카드 응답에 analysisInProgress 필드 추가
- PENDING/RUNNING 분석 비동기 작업 기준으로 채점중 여부 계산
- 홈/최근/검색 목록에서 동일한 채점중 플래그를 내려주도록 수정
- 홈 목록 응답의 채점중 상태 검증 테스트 추가
- analysisInProgress 조회 패턴을 위한 analysis_async_tasks 복합 인덱스 추가
- 운영 수동 migration과 schema.sql에 동일 인덱스 반영
- PENDING/RUNNING 분석 작업 모두 홈 응답에서 채점중으로 내려가도록 테스트 보강
…-progress-flag

[Fix] 모의지원 홈 응답에 자소서 채점중 여부 추가
@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 00b40dca-1ef2-4e51-8fed-ad683186e3a6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@whc9999
whc9999 merged commit bef03a6 into main Jul 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant