feat(core): Include workflow names on instance AI confirmations (no-changelog) (backport to release-candidate/2.18.x)#28792
Conversation
…hangelog) (#28719) Co-authored-by: Albert Alises <[email protected]> (cherry picked from commit 86ceb68)
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
No issues found across 4 files
Architecture diagram
sequenceDiagram
participant Agent as AI Agent
participant Tool as Tool (Workflow/Execution)
participant WFS as Workflow Service
participant User as HITL / UI
Note over Agent,User: Action Request (e.g., Run, Delete, Publish)
Agent->>Tool: execute(action, workflowId)
Note over Tool: Check if action needs approval
alt Approval Required & First Execution
Tool->>WFS: NEW: get(workflowId)
alt Success
WFS-->>Tool: Return Workflow (name, id)
else Error / Not Found
WFS-->>Tool: Error
Tool->>Tool: Fallback to workflowId for display
end
Tool->>User: NEW: suspend(message with Workflow Name)
Note right of User: User sees: "Execute workflow 'My Workflow' (ID: wf-1)?"
else Permission granted OR Resuming from approval
alt Action: Run
Tool->>Tool: Execute workflow
else Action: Delete/Publish
Tool->>WFS: Perform lifecycle update
end
Tool-->>Agent: Return success result
end
Instance AI Workflow Eval Results8/8 built | 15/27 passed (55%)
Failure detailspartial-action-failure [builder_issue]
happy-path [builder_issue]
multi-team-creator [builder_issue]
api-error [builder_issue]
channel-not-found [builder_issue]
insufficient-permissions [builder_issue]
happy-path [builder_issue]
no-bugs [builder_issue]
happy-path [builder_issue]
all-filtered [builder_issue]
happy-path [builder_issue]
no-alerts [builder_issue]
|
Performance ComparisonComparing current → latest master → 14-day baseline Idle baseline with Instance AI module loaded
docker-stats
Memory consumption baseline with starter plan resources
How to read this table
|
|
Got released with |
Description
Backport of #28719 to
release-candidate/2.18.x.Checklist for the author (@Cadiac) to go through.
After this PR has been merged, it will be picked up in the next patch release for release track.
Original description
Summary
Make sure we display the workflow name on HITL confirmations on instance AI.
Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
Backport to Beta,Backport to Stable, orBackport to v1(if the PR is an urgent fix that needs to be backported)