Extract validation logic to executor/validation.rs module #16
No reviewers
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jwilger/eventcore!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor-executor-extract-validation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Type of Change
Testing Checklist
Performance Impact
No performance impact expected - pure code organization change with identical runtime behavior.
Security Checklist
Code Quality
Reviewer Checklist
Review Focus
This is a pure refactoring with no functional changes. Focus on:
🤖 Generated with Claude Code
Pull Request Overview
Extracts the iteration limit validation into its own module and refactors the executor to use the new context and validation utilities while preserving behavior.
validate_iteration_limitintoexecutor/validation.rsStreamDiscoveryContextinexecutor/stream_discovery.rsand updated executor flowRetryConfig,RetryPolicy, andExecutionContextinto dedicated modules and updated imports inexecutor.rsReviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
validate_iteration_limitStreamDiscoveryContexttype and related methodsRetryConfigandRetryPolicyfromexecutor.rsExecutionContextfromexecutor.rsComments suppressed due to low confidence (1)
PLANNING.md:102
Closing this PR as obsolete. PR #10 has been merged and replaced the validation logic with a type-state pattern in the new
StreamDiscoveryContext. The iteration limit validation is now handled through the type system rather than a separate validation function.Pull request closed