Skip to content

feat(be): consolidate result queue and add generated testcase tracking - #3743

Open
qkrrudals886-boop wants to merge 10 commits into
pr/2-run-request-and-s3from
pr/3-amqp-and-validation
Open

feat(be): consolidate result queue and add generated testcase tracking#3743
qkrrudals886-boop wants to merge 10 commits into
pr/2-run-request-and-s3from
pr/3-amqp-and-validation

Conversation

@qkrrudals886-boop

@qkrrudals886-boop qkrrudals886-boop commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Generator, Validator 결과 처리 파이프라인을 정리하고, 기존 채점(judge) 파이프라인과 분리된 전용 AMQP 토폴로지를 구성합니다.

  • 결과 수신 큐를 도구별(Generator, Validator) 개별 큐에서 단일 큐로 통합합니다. 도구 구분은 라우팅 키가 아닌 메시지 type 속성으로 처리합니다.
  • lastRunPass 집계 로직을 수정합니다. 단건 결과를 덮어쓰지 않고, 등록된 모든 도구의 최신 실행이 전부 Success인 경우에만 true로 갱신합니다.
  • iris 측 결과 라우팅을 전용 큐로 분리합니다.
  • Generator 결과로 생성된 테스트케이스를 iris가 S3에 저장하도록 마이그레이션합니다. postgres 텍스트 컬럼 방식에서 S3 파일 방식으로 전환합니다.
  • 생성된 테스트케이스 파일을 MandeuldangTestFile로 저장하는 로직을 추가합니다.
  • 요청, 결과 전용 익스체인지(iris.e.direct.mandeuldang)와 큐(admin.q.mandeuldang.request, iris.q.mandeuldang.result)를 신설하고, init-rabbitmq.ts에 토폴로지 생성 로직을 반영합니다.

Additional context

  • 이 PR은 pr/2-run-request-and-s3를 base로 하는 Stacked PR의 세 번째 단계입니다.
  • 인프라팀에 신규 환경변수(MANDEULDANG_EXCHANGE_NAME 등) 반영을 요청했으며, 스테이징과 운영 배포 시 init-rabbitmq.ts 자동 실행 여부는 확인 중입니다.
  • Generator가 생성하는 테스트케이스의 최종 DB 저장 스키마는 iris 팀과 계속 협의 중입니다.
  • 이 PR을 마지막으로 t2840의 전체 변경사항이 반영됩니다. t2840을 base로 하던 후속 브랜치(feat(be): integrate Mandeuldang problem schema and read queries #3715 등)는 이 PR을 base로 재지정해 주시기 바랍니다.
  • pr/1, pr/2가 먼저 머지된 후 이 PR의 base를 main으로 재지정할 예정입니다.

Before submitting the PR, please make sure you do the following

@coderabbitai

coderabbitai Bot commented Sep 4, 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: defaults

Review profile: CHILL

Plan: Team

Run ID: c64b5c33-f227-434a-85ef-73180f937c2a

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍊squad-유자차 스쿼드 유자차 작업물입니다 ⛳️ team-backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants