feat: Implement pipeline executor with logging and error handling#65
Merged
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough새로운 파이프라인 실행자 모듈을 추가하여 컨텍스트 인식 실행, 단계별 타이밍 추적, 동적 중간 결과 수집, 그리고 포괄적인 로깅을 지원합니다. 보조 타임 유틸리티 모듈, FFI 헬퍼, 그리고 광범위한 테스트 스위트를 함께 추가합니다. Changes
Sequence DiagramsequenceDiagram
participant User
participant Executor as Pipeline Executor
participant Stage as Stage Executor
participant Context as ExecutionContext
participant Time as Time Utilities
User->>Executor: execute_with_context(pipeline, input)
activate Executor
Executor->>Context: empty_context()
activate Context
Context-->>Executor: ExecutionContext
deactivate Context
Executor->>Time: now_microseconds()
activate Time
Time-->>Executor: start_time
deactivate Time
loop for each stage
Executor->>Time: now_microseconds()
activate Time
Time-->>Executor: stage_start_time
deactivate Time
Executor->>Stage: execute(stage_fn, input)
activate Stage
Stage-->>Executor: Result(output, StageError)
deactivate Stage
Executor->>Time: now_microseconds()
activate Time
Time-->>Executor: stage_end_time
deactivate Time
Executor->>Context: record StageTiming
activate Context
Context-->>Executor: updated ExecutionContext
deactivate Context
end
Executor-->>User: Result(ExecutionResult(output, context), ExecutionError)
deactivate Executor
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes 검토 시 주의가 필요한 영역:
Poem
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Free 📒 Files selected for processing (4)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 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.
.github/pull_request_template.md
🎯 변경 사항
📋 체크리스트
gleam format실행 완료gleam check통과🧪 테스트 방법
🤖 CodeRabbit 리뷰 요청사항
📸 스크린샷/데모
참고: 댓글에
@coderabbitai 다시 리뷰해줘라고 작성하면 전체 재리뷰를 요청할 수 있습니다.Summary by CodeRabbit
릴리스 노트
New Features
Tests
✏️ Tip: You can customize this high-level summary in your review settings.