feat: add local analysis orchestration#53
Merged
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughSummary by CodeRabbit릴리스 노트
Walkthrough분석 오케스트레이션 시스템을 구현하여 React 프론트엔드, Tauri IPC 기반 백엔드, Python 분석 엔진을 연결합니다. 공유 타입, 데스크톱 앱 상태 관리, 분석 엔진 CLI 및 API, 테스트, 문서 및 국제화 지원을 추가합니다. Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant React as React Frontend
participant Bridge as Analysis Bridge
participant TauriIPC as Tauri IPC
participant Rust as Rust Orchestrator
participant Python as Python Engine
User->>React: 분석 시작 클릭
React->>Bridge: startAnalysisJob(request)
Bridge->>TauriIPC: invoke("start_analysis_job", {request})
TauriIPC->>Rust: start_analysis_job(jobId, request)
Rust->>Rust: 작업을 큐에 추가 및 상태 저장
Rust->>Python: Python subprocess 시작<br/>(stdin으로 요청 전송)
Rust-->>TauriIPC: AnalysisJobStatus{state: "queued"}
TauriIPC-->>Bridge: {jobId, state: "queued"}
Bridge-->>React: {jobId, state: "queued"}
React->>React: 상태 업데이트<br/>(250ms 폴링 시작)
Python->>Python: 분석 실행
Python-->>Rust: stdout으로 응답<br/>(JSON result)
Rust->>Rust: 결과 파싱 및 저장<br/>상태를 "succeeded"로 변경
React->>Bridge: getAnalysisJobStatus(jobId)
Bridge->>TauriIPC: invoke("get_analysis_job_status", {jobId})
TauriIPC->>Rust: get_analysis_job_status(jobId)
Rust-->>TauriIPC: AnalysisJobStatus{state: "succeeded", result}
TauriIPC-->>Bridge: {jobId, state: "succeeded", result}
Bridge-->>React: {jobId, state: "succeeded", result}
React->>React: 폴링 중단 및 결과 렌더링
React-->>User: 분석 결과 표시
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
Owner
Author
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
This was referenced Mar 26, 2026
This was referenced Apr 25, 2026
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
Verification
./scripts/harness/quickcheck.shcargo check --manifest-path apps/desktop/src-tauri/Cargo.toml