Skip to content

fix(ui): send the service's runner when testing a connection from the service page (2.0) - #38159

Merged
sonika-shah merged 2 commits into
2.0from
fix/test-connection-service-runner-2.0
Nov 19, 2026
Merged

sonika-shah merged 2 commits into
2.0from
fix/test-connection-service-runner-2.0

Conversation

@sonika-shah

@sonika-shah sonika-shah commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Describe your changes:

Backport of #38132 to 2.0, classic service page only.

On 2.0 the Connections (AI mode) service page lives in Collate, not here, so its half of #38132 does not apply; the Collate 2.0 change covers it. The second commit needed a manual merge: 2.0 checks servicePermission.EditAll where main uses flags.canEditAll, and that check is kept.

Problem: for a service bound to a Hybrid Runner, Test Connection on the service page can run on the default (SaaS) runner instead of the service's runner. A connection whose secret only that runner can read then fails, while Edit Connection → Test Connection passes.

Fix: the classic service page resolves the service's runner after the runner list has loaded, and keeps Test Connection disabled until then.

Type of change:

  • Bug fix

Tests:

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

The classic service page now waits for extra info before resolving the service’s runner and enabling Test Connection.

  • Service connection tests wait for the service's runner details to load.

No actionable issues found.

Reviews (1) · Last reviewed commit: "Keep Test Connection disabled until the ..." · Reviewed by Greptile

… service page

The service page's Test Connection read the service's ingestion runner from a
runner list that loads asynchronously. When the service loaded first, the runner
resolved to nothing and was never recomputed, so the test ran on the default
runner. The Connections (AI mode) service page never passed the runner at all.
Both pages now resolve it once getExtraInfo() has loaded the runner list.

(cherry picked from commit 0393d6b)
A test started before the extra info loaded still went out without the
service's runner. Both service pages now keep the button disabled until
getExtraInfo() settles.

(cherry picked from commit 4e0503a)
@sonika-shah
sonika-shah requested a review from a team as a code owner November 18, 2026 19:18
@sonika-shah
sonika-shah requested review from karanh37 and removed request for a team November 18, 2026 19:18
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

The service page now waits for runner metadata before connection tests; misresolution could send checks to the wrong runner and fail runner-specific secret access.

Backports the fix so the classic service page resolves the service's Hybrid Runner before enabling Test Connection, keeping the button disabled until the runner list loads. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@sonika-shah
sonika-shah merged commit 214bb09 into 2.0 Nov 19, 2026
56 of 59 checks passed
@sonika-shah
sonika-shah deleted the fix/test-connection-service-runner-2.0 branch November 19, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants