Skip to content

Revert privateKeyId from password format back to plain string - #33889

Merged
ShaileshParmar11 merged 5 commits into
mainfrom
revert/gcp-private-key-id-format
Sep 24, 2026
Merged

ShaileshParmar11 merged 5 commits into
mainfrom
revert/gcp-private-key-id-format

Conversation

@Khairajani

@Khairajani Khairajani commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Reverts the privateKeyId part of #33477: gcpValues.privateKeyId goes back to a plain string (no format: password) in the spec and the generated UI connection/ingestion schemas, and build_google_credentials_dict reads it directly again instead of via get_secret_value().

🤖 Generated with Claude Code

RetriggerConfidence Score: 5/5

The PR appears safe to merge; the schema, ingestion behavior, and generated UI representations consistently treat privateKeyId as a plain string.

Summary

This PR restores gcpValues.privateKeyId to a plain-string contract and updates credential construction and generated UI schemas accordingly.

  • Removes the password format from the authoritative GCP credentials schema.
  • Passes the resulting string directly into Google service-account credential dictionaries.
  • Synchronizes dereferenced UI connection and ingestion schemas with the contract.
  • Includes an aligned generated settings field for Elasticsearch request compression.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart LR
    S[GCP credentials JSON schema] --> G[Generated Python and UI models]
    G --> I[Ingestion credential builder]
    G --> U[Connection and ingestion forms]
    I --> C[Google service-account credentials dictionary]
Loading

Reviews (5) · Last reviewed commit: "Merge branch 'main' into revert/gcp-priv..."

#33477 marked gcpValues.privateKeyId as format: password. The key id is
an identifier, not a secret; restore it to a plain string in the spec,
the generated UI schemas, and build_google_credentials_dict.
@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.

@Khairajani Khairajani added the skip-pr-checks Bypass PR metadata validation check label Sep 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@Khairajani Khairajani added the safe to test Add this label to run secure Github workflows on PRs label Sep 23, 2026
@Rohit0301
Rohit0301 enabled auto-merge September 23, 2026 12:36
@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 72%
72.77% (104943/144197) 58.02% (64210/110656) 59.08% (21003/35545)

@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

✅ SSO Login Nightly — PASSED

View workflow run · Commit 7fd1200

Provider                        Status        Pass   Fail  Flaky   Skip    Duration
------------------------------  -----------  -----  -----  -----  -----  ----------
basic                           pass             5      0      0      0      0m 36s
ldap                            pass             5      0      0      0      0m 24s
keycloak-oidc-confidential      pass             7      0      0      0      0m 57s
keycloak-oidc-public            pass             6      0      0      0      0m 29s
msal-mock                       pass             4      0      0      0      0m 14s
auth0-mock                      pass             3      0      0      0      0m 23s
okta                            skipped          -      -      -      -           -
keycloak-azure-saml             pass             1      0      0      0      0m 23s
keycloak-azure-saml-crosssite   skipped          -      -      -      -           -

Totals: 31 passed · 0 failed · 0 flaky · 0 skipped · duration 3m 29s

@github-actions

Copy link
Copy Markdown
Contributor

✅ Generated Sources Auto-Updated

The generated TypeScript types (src/generated/) and dereferenced JSON
schemas (src/jsons/, public/jsons/) have been automatically updated
based on JSON schema changes in this PR.

@gitar-bot

gitar-bot Bot commented Sep 23, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Restores plain-string handling for GCP key IDs across schemas and credential construction.

Reverts privateKeyId from password format back to a plain string across the GCP credential schema, generated UI schemas, and the credentials builder. No issues found.

Review coverage

📋 Rules No rules evaluated

🧪 Functional validation Not enabled · Set up

🤖 Auto-approval Not enabled · Set up

Options

Display: compact → Counting what did not apply, without listing it.

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

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — failed_checks (2026-09-24T06:54:58Z)

Blocked the queue: playwright-summary

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants