Skip to content

ci(sso): stop running SSO matrix on core-components primitive changes - #35338

Merged
shah-harshit merged 2 commits into
mainfrom
shah-harshit/sso-tests-pr-frequency
Oct 14, 2026
Merged

shah-harshit merged 2 commits into
mainfrom
shah-harshit/sso-tests-pr-frequency

Conversation

@shah-harshit

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes open-metadata/openmetadata-collate#7358

Removes the four openmetadata-ui-core-components primitive paths (base/buttons/**, base/input/**, base/form/**, application/form-field/**) from the pull_request trigger of SSO Login Nightly.

Why: any UI PR touching a Button/Input currently runs the full 7-leg SSO matrix. Last 30 days: 614 PR-triggered runs across 81 branches, each ~7 legs × 15–22 min (~2 runner-hours), ~45k+ runner-minutes/month, mostly on PRs unrelated to auth.

All other PR filters (Auth components/utils, login pages, backend security, auth schemas, docker SSO fixtures) are unchanged. Nightly schedule and workflow_dispatch still run the full matrix, so login-locator drift from core primitives (the #33575 / #33646 class) still surfaces within 24h.

Type of change:

  • Improvement

High-level design:

N/A — small change.

Tests:

Use cases covered

  • PRs touching only core-components primitives no longer trigger the SSO matrix.
  • PRs touching auth paths still trigger it (filters unchanged).

Manual testing

  • Workflow YAML parses; pull_request.paths now has 27 entries.

🤖 Generated with Claude Code

@gitar-bot

gitar-bot Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 1 closed / 1 findings

🟡 Medium risk · Excluding shared UI primitives from the SSO PR trigger could let login-locator regressions reach main before nightly detection.

Removes the four openmetadata-ui-core-components primitive paths (base/buttons/**, base/input/**, base/form/**, application/form-field/**) from the SSO Login Nightly pull_request trigger so UI-only PRs no longer run the full SSO matrix. Nightly and manual runs still cover these paths. The previously open finding about the missing in-tree rule was addressed by adding an ADR in docs/decisions/ and citing it from the workflow. No issues remain open.

✅ 1 closed
✅ Quality: SSO PR-gate exclusion rule lives only in the PR body, not in the tree

📄 .github/workflows/playwright-sso-login-nightly.yml:48-49
This PR undoes an earlier choice that was explained in the tree. The deleted comment said catching Button/Input/form drift "on the ORIGINATING PR is the whole point of adding these paths" (#33575, #33646, greptile r4056182832). The new rule appears only in the description: "Nightly schedule and workflow_dispatch still run the full matrix, so login-locator drift from core primitives … still surfaces within 24h." The repo squash-merges, so once this lands nothing in the tree says why the primitives are left off the trigger, and the next reviewer or bot is likely to ask for them back. That would be the third round on this cost-versus-coverage trade-off. Please add a record under docs/decisions/ stating: "The SSO Login matrix's pull_request paths cover only auth-owned code (Auth components/utils, login pages, backend security, auth schemas, SSO docker fixtures). Shared ui-core-components primitives are deliberately excluded because of runner cost (~45k runner-minutes/month), and their locator drift is caught by the nightly run within 24h." Then cite it as ADR:<date>-<slug> from a short comment where the paths were removed.

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

@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

✅ SSO Login Nightly — PASSED

View workflow run · Commit b30c5a7

Provider Status Pass Fail Flaky Skip Duration
basic ✅ pass 28 0 0 0 7m 06s
ldap ✅ pass 7 0 0 0 0m 48s
keycloak-oidc-confidential ✅ pass 12 0 0 0 1m 52s
keycloak-oidc-public ✅ pass 11 0 0 0 1m 11s
msal-mock ✅ pass 7 0 0 0 1m 00s
auth0-mock ✅ pass 6 0 0 0 1m 00s
okta ✅ pass 24 0 0 0 6m 47s
keycloak-azure-saml ✅ pass 23 0 0 0 6m 53s
keycloak-azure-saml-crosssite ⏩ skipped - - - - -

Totals: 118 passed · 0 failed · 0 flaky · 0 skipped · duration 26m 41s

@shah-harshit
shah-harshit added this pull request to the merge queue Oct 13, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — failed_checks (2026-10-13T18:10:55Z)

Blocked the queue: playwright-summary

Failed Playwright tests:

  • Features/AIMode/PersonaSettings.spec.ts › Data Assets → Table: a new tab is saved

@shah-harshit
shah-harshit added this pull request to the merge queue Oct 13, 2026
Merged via the queue into main with commit d48f537 Oct 14, 2026
92 checks passed
@shah-harshit
shah-harshit deleted the shah-harshit/sso-tests-pr-frequency branch October 14, 2026 05:49

This branch was previously deployed

1 inactive deployment
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 skip-pr-checks Bypass PR metadata validation check UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants