Skip to content

[2.0] Assert the workflow request in the ServiceForm SSL cert test (backport 2.0 #38070) - #38167

Merged
ShaileshParmar11 merged 1 commit into
2.0from
ShaileshParmar11/2.0-cherry-pick-38070-serviceform-cert
Nov 19, 2026
Merged

ShaileshParmar11 merged 1 commit into
2.0from
ShaileshParmar11/2.0-cherry-pick-38070-serviceform-cert

Conversation

@ShaileshParmar11

@ShaileshParmar11 ShaileshParmar11 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Partial backport of #38070 to 2.0: the ServiceForm.spec.ts hunk only.

Service form functionality › Superset › Verify SSL cert upload with long filename and UI overflow handling fails on 2.0 on every retry:

Expected: "-----BEGIN ENCRYPTED PRIVATE KEY-----...crt"
Received: "*********"

#37962 backported #33193 and #37965 to 2.0, and #37965 masks the Superset API connection's sslConfig certificates. The test read caCertificate from the POST /api/v1/automations/workflows response, which now carries the mask. main got the same masking and fixed the test in #38070. 2.0 got the masking but not the test fix.

The test now reads the request body the form sent, which is what it means to check (the uploaded file reaches the payload).

The other #38070 hunks fix personal-space and AI profile specs and code that do not exist on 2.0, so they are left out.

Type of change:

  • Bug fix (test)

Tests:

  • Hunk is byte-identical to main after Fix settings Playwright failures after the unsaved-changes guard #38070, where the spec passes.
  • prettier --check passes on the file. ESLint could not load the 2.0 config against the local node_modules, so CI's checkstyle job is the lint check.
  • Not run locally against a 2.0 stack; the PR's Playwright job is the run that confirms it.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

This test-only change appears safe to merge.

Summary

Updates the Superset certificate upload test to check the outgoing workflow request instead of the masked server response.

  • The SSL upload test checks the certificate in the workflow request.

No actionable issues found. The Playwright test was not run locally.

Reviews (1) · Last reviewed commit: "[2.0] Assert the workflow request in the..." · Reviewed by Greptile

Partial cherry-pick of #38070 (d3649e0), ServiceForm.spec.ts hunk only.

#37962 backported masking of Superset sslConfig certificates to 2.0, so
the workflow response now returns caCertificate as a mask. Assert on the
request body the form sent instead. The other #38070 hunks cover
personal-space and AI profile code that does not exist on 2.0.
@ShaileshParmar11
ShaileshParmar11 requested a review from a team as a code owner November 19, 2026 04:08
@ShaileshParmar11
ShaileshParmar11 requested review from karanh37 and removed request for a team November 19, 2026 04:08
@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 19, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟢 Low risk

The Playwright test now inspects the submitted request instead of a masked response; this changes test observation only, not application behavior.

Backports the ServiceForm SSL cert test fix to 2.0 so it reads the caCertificate from the workflow request body instead of the masked response, addressing the failing Superset cert upload test. 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

@ShaileshParmar11
ShaileshParmar11 merged commit b592473 into 2.0 Nov 19, 2026
57 of 60 checks passed
@ShaileshParmar11
ShaileshParmar11 deleted the ShaileshParmar11/2.0-cherry-pick-38070-serviceform-cert branch November 19, 2026 04:41
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.

3 participants