refactor(mcp): route workflow launches through services - #360
Draft
Shooksie wants to merge 1 commit into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Shooksie
commented
Jul 29, 2026
Shooksie
left a comment
Contributor
Author
There was a problem hiding this comment.
Draft review:
The typed in-process workflow-launch direction is coherent and preserves structured input, actor scope, runner overrides, and idempotency rather than round-tripping through argv. It is not ready to merge yet:
- Rebase onto current main (which now includes #361-#365); GitHub reports this head as conflicting.
- Fix the failing clippy diagnostic at ops_workflow/mod.rs:664 (
manual_is_variant_and/ use Option::is_none_or or an equally clear equivalent). - Rerun the full workspace checks on the rebased merge result, especially the MCP workflow run/execute/batch tests.
Keep this draft until the rebased head is mergeable and all required checks are green.
Contributor
There was a problem hiding this comment.
VERDICT: CHANGES REQUESTED
crates/orchestrator-cli/src/services/operations/ops_workflow/mod.rs:664—actor.tenant_id.as_deref().map(str::trim).filter(|value| !value.is_empty()).is_none()triggers the required Clippy gate (manual_is_variant_and), and both currentclippycheck runs are failing. REQUIRED CHANGE: replace this chain with the directOptionpredicate Clippy requests (for example,actor.tenant_id.as_deref().is_none_or(|value| value.trim().is_empty())) while preserving the surrounding rejection of blank tenant IDs. Verify withcargo clippy -p orchestrator-cli --tests -- -D warnings; it must exit successfully, and the GitHubclippychecks for the updated head must be green.
The typed in-process workflow-launch direction is otherwise strong: it removes argv serialization while preserving structured input, actor scope, runner overrides, idempotency, and explicit batch behavior.
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