Skip to content

refactor: split pipeline RAG display helpers#324

Merged
sorlros merged 1 commit into
devfrom
refactor/pipeline-rag-helpers
May 22, 2026
Merged

refactor: split pipeline RAG display helpers#324
sorlros merged 1 commit into
devfrom
refactor/pipeline-rag-helpers

Conversation

@sorlros
Copy link
Copy Markdown
Member

@sorlros sorlros commented May 22, 2026

개요

Pipeline orchestrator의 RAG 표시/메타데이터 helper를 별도 모듈로 분리해 orchestrator 책임 범위를 줄였습니다. 동작 변경 없이 기존 RAG context display item 변환과 task result 메타 보존 로직을 유지합니다.

변경 사항

  • extractRagMeta, RAG preview/source/relevance/display item 변환 helper를 src/core/pipeline/rag-display.ts로 분리
  • 분리된 helper에 대한 단위 테스트 추가
  • orchestrator.ts는 helper import만 사용하도록 축소

검증

  • npx vitest run tests/ts/unit/core/pipeline/rag-display.test.ts tests/ts/unit/core/pipeline/orchestrator.test.ts tests/ts/unit/core/pipeline/orchestrator-rag-cache.test.ts --reporter=verbose
  • npm run typecheck
  • npm test
  • npm run build
  • git diff --check

참고

  • dev 기준 독립 브랜치입니다.
  • .worktrees/ untracked 파일은 unrelated라 건드리지 않았습니다.

@sorlros sorlros merged commit 127246a into dev May 22, 2026
2 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