Repository navigation
fix(topology): load plugin UI for nested tasks on 2.0.x - #21707
Conversation
Plugin UI manifests were requested for top-level tasks only, so an AI Agent or Script task nested in a flowable had no topology details and the "show more details" toggle never appeared. Backport of #21468. Closes #21688. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FJKuKP4fbce323GtKFVQ7D
🧪 Frontend Tests ✅ (0 failed, 0 passed, 0 skipped)
📄 OpenAPI Spec Changes
🐋 Docker image
|
|
On this exact head ( I'll re-run the failed job once the workflow run finishes (the API refuses a re-run while other jobs in it are still going). Generated by Claude Code |
🔗 Related Issue
Closes #21688.
✨ Description
On 2.0.x the "show more details" toggle is rendered only when
hasExtraDetailsfinds atopology-detailsmanifest for one of the graph's nodes.resolveTaskTopologyDetailsasked/plugins/pluginUiManifestfor top-level task types only, so an AI Agent or Script task nested inWorkingDirectory,ForEach,If,Parallel... never got a manifest, never got details, and the toggle stayed hidden.Backport of the develop fix (#21468): task types (and their runners) are now collected with
getAllTasks, which walks every nesting level.getAllTasksdid not exist on 2.0.x, so it is added toflowUtils.tsas on develop. The spec is ported to 2.0.x's test layout and fails on the unfixed component (expected [ …(3) ] to include 'io.kestra.plugin.core.log.Log').Companion PR for 2.1.x (no toggle there, but the same missing details): #21708.
🎨 Frontend Checklist
npm run check:types)npm run build), left to CInpm run test:unit, 271 files / 2431 tests)UIchanges📝 Additional Notes
The cause is inferred, not reproduced: I could not open the issue screenshot, so this assumes the AI Agent / Script tasks there sit inside a flowable. Two cases this does not cover:
pluginUiManifestcall in the browser network tab on cloud).🤖 Generated with Claude Code
https://claude.ai/code/session_01FJKuKP4fbce323GtKFVQ7D