Skip to content

[2.1] Fixes 38928: AI-mode service page gets its own Agents tab, Insights tab and AutoPilot trigger - #38970

Merged
karanh37 merged 1 commit into
2.1from
backport/2.1/pr-38929
Nov 27, 2026
Merged

karanh37 merged 1 commit into
2.1from
backport/2.1/pr-38929

Conversation

@gh-bot-collate

Copy link
Copy Markdown

Automated backport of #38929 to 2.1.

Source PR #38929
Author @karanh37
Merge commit 354fdc0d91640fa36a526d198e49086b71025e4b
Method Clean cherry-pick — identical to the commit on main.

Opened from openmetadata-collate, which holds the credentials needed to open a PR here. It merges itself once this branch's required checks pass — no review needed. If a check fails it stays open and the author of #38929 is asked to look.

resolver run

…ab and AutoPilot trigger (#38929)

* ui: AI-mode service page owns its Insights tab, Agents tab and AutoPilot trigger

The AI-mode connection details page relied on a downstream plugin for these,
so OSS AI mode had no way to view, run or debug a service's agents. The page
now renders them itself, fed by one useServiceAgents hook, and exposes three
extension points for the parts only a downstream build has: the AI agents
widget, the add-agent control and an action on a failed run.

* ui: gate the AI-mode Agents tab as classic and keep agent state per service

Agents shows only to admins and the service's owners, and never on a security
service. Responses for a service the page has since left are ignored, and the
AutoPilot workflow state clears when the new service has no run.

* ui: lead the AI-mode service page with its data assets tab

Databases (and the secondary asset tabs) come first and open by default;
Insights and Agents follow, then Connection.

* ui: stop counting never-run agents as queued in the deployment banner

The service's agent total includes agents that have never run; the card
drops them from its own list but kept them in the total, so they showed as
queued and the banner spun forever.

* docs: record the AutoPilot status re-read budget in the service-page ADR

* ui: fix lint on the service-page tests and refresh the Playwright impact map

useServiceAgents.test: initialise the deferred resolver with noop, so
sonarjs no longer reads it as a zero-argument function. Apply prettier's
wrap in ConnectionServiceDetailsPage.test. Regenerate the impact map for
the new ServiceAutoPilotButton.

(cherry picked from commit 354fdc0)
@gh-bot-collate
gh-bot-collate Bot requested a review from a team as a code owner November 27, 2026 11:33
@gh-bot-collate
gh-bot-collate Bot requested review from Rohit0301 and removed request for a team November 27, 2026 11:33
@gh-bot-collate gh-bot-collate Bot added the safe to test Add this label to run secure Github workflows on PRs label Nov 27, 2026
@gh-bot-collate

Copy link
Copy Markdown
Author

🤖 This backport will not merge itself: 2.1 has no required status checks, so there is nothing for auto-merge to wait on. Merge it by hand once CI is green.

@karanh37
karanh37 merged commit dcb0711 into 2.1 Nov 27, 2026
44 checks passed
@karanh37
karanh37 deleted the backport/2.1/pr-38929 branch November 27, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant