feat(core): Include workflow names on instance AI confirmations (no-changelog)#28719
Conversation
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 Instance AI Tool<br/>(Workflows/Executions)
participant WfSvc as Workflow Service
participant DB as Database
Note over Agent,DB: HITL Confirmation Flow (e.g., Run, Delete, Publish)
Agent->>Tool: execute(input)
Note right of Tool: input.workflowId provided
alt Needs Approval & No resumeData
Tool->>WfSvc: NEW: get(workflowId)
alt Workflow Found
WfSvc->>DB: Fetch record
DB-->>WfSvc: Workflow Object
WfSvc-->>Tool: Return { name, id, ... }
else Workflow Missing/Error
WfSvc-->>Tool: Error / Exception
Tool->>Tool: NEW: Fallback to workflowId
end
Tool->>Tool: CHANGED: Format message with Name and ID
Tool->>Agent: suspend({ message, requestId, severity })
Note left of Agent: UI displays confirmation to user
else Permission "always_allow" OR resumeData present
Tool->>Tool: Proceed with action (run/delete/etc.)
Tool-->>Agent: Action Result
end
Instance AI Workflow Eval Results8/8 built | 15/27 passed (55%)
Failure detailspartial-action-failure [builder_issue]
multi-team-creator [builder_issue]
no-cross-team-issues [builder_issue]
api-error [builder_issue]
channel-not-found [builder_issue]
insufficient-permissions [builder_issue]
happy-path [builder_issue]
no-bugs [builder_issue]
high-priority [builder_issue]
medium-priority [builder_issue]
low-priority [builder_issue]
happy-path [mock_issue]
|
Performance ComparisonComparing current → latest master → 14-day baseline Idle baseline with Instance AI module loaded
Memory consumption baseline with starter plan resources
docker-stats
How to read this table
|
|
Successfully created backport PR for |
|
Got released with |
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)