feat(whaleflow): add mock executor skeleton#2823
Merged
Hmbown merged 1 commit intoJun 6, 2026
Merged
Conversation
Add a crate-local mock executor over WorkflowSpec that records leaf, branch, and control-node results for Sequence, BranchSet, Leaf, Reduce, TeacherReview, LoopUntil, Cond, and Expand. Add reducer scaffolding for BranchTournament and ParetoFrontier, plus #2669 acceptance-style tests, without exposing workflow_run, spawning agents, or applying worktrees. Refs #2669. Harvests narrow WhaleFlow executor intent from #2482/#2486. Co-authored-by: AdityaVG13 <44177453+AdityaVG13@users.noreply.github.com>
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Contributor
There was a problem hiding this comment.
Hmbown has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
This was referenced Jun 6, 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
MockWorkflowExecutoroverWorkflowSpecthat records leaf, branch, and control-node results for Sequence, BranchSet, Leaf, Reduce, TeacherReview, LoopUntil, Cond, and Expandmax_childrentoExpandSpecand validate generated nodes before running themBranchTournamentandParetoFrontierworkflow_run, no live subagent spawning, no worktree application, no provider callsStewardship / Credit
Refs #2669. This is a narrow maintainer harvest of the safe executor/control-flow intent from #2482/#2486 while preserving the unsafe runtime/worktree pieces for later review. Thanks @AdityaVG13 for the WhaleFlow draft and cost-tracking direction.
Verification
cargo test -p codewhale-whaleflow --lockedcargo clippy -p codewhale-whaleflow --all-targets --locked -- -D warningscargo fmt --all -- --check./scripts/release/check-versions.shgit diff --check