-
Notifications
You must be signed in to change notification settings - Fork 98
Feat: Run from block AB 940 #1276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughAdds a "Run" action to component builder settings and exposes component-level blueprint run/stop controls, ties UI handlers to the blueprint runtime hook, and adds backend methods to execute single and batch branch runs. Changes
Sequence DiagramsequenceDiagram
participant User
participant DropdownUI as Dropdown Menu
participant BuilderActions as Builder Settings Actions
participant ComponentActions as Component Actions
participant BlueprintRuntime as Blueprint Runtime (useBlueprintRun)
participant Backend as Backend (BlueprintRunner)
User->>DropdownUI: Click "Run"
DropdownUI->>BuilderActions: handleRunBlueprint(componentId)
BuilderActions->>ComponentActions: runBlueprintFromComponent(componentId)
ComponentActions->>BlueprintRuntime: run(componentId)
BlueprintRuntime->>Backend: execute run_branch / run_branch_batch
Backend-->>BlueprintRuntime: execution result
BlueprintRuntime->>BuilderActions: update isBlueprintRunning / activeBlueprintRunId
BuilderActions-->>DropdownUI: update label/icon
User->>DropdownUI: Click "Stop"
DropdownUI->>BuilderActions: handleStopBlueprint(componentId)
BuilderActions->>ComponentActions: stopBlueprintFromComponent(componentId)
ComponentActions->>BlueprintRuntime: stop(componentId)
BlueprintRuntime-->>BuilderActions: activeBlueprintRunId cleared
BuilderActions-->>DropdownUI: update label/icon
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~30 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Refactor
Tests
✏️ Tip: You can customize this high-level summary in your review settings.