Skip to content

Fixes 33493: Align ODCS import/export with v3.1.0 - #36877

Merged
TeddyCr merged 31 commits into
open-metadata:mainfrom
TeddyCr:taskr/make-odcs-import-export-conform-published-0170
Nov 9, 2026
Merged

TeddyCr merged 31 commits into
open-metadata:mainfrom
TeddyCr:taskr/make-odcs-import-export-conform-published-0170

Conversation

@TeddyCr

@TeddyCr TeddyCr commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Describe your changes

Fixes #33493

Align ODCS import/export with the published field shapes and preserve source metadata that OpenMetadata cannot represent natively. The v3.1 reader accepts team objects, custom-property arrays, scalar values and structured implementations through its compatibility projection; export includes native custom properties, linked quality checks, scoped column rules and structured array items.

Export supports the six published profiles v3.1.0, v3.0.2, v3.0.1, v3.0.0, v2.2.2 and v2.2.1. All four JSON/YAML routes, by ID or fully qualified name, accept odcsVersion; the default is v3.1.0. The UI offers the same versions in an export dialog.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation-only change

High-level design

The export service selects a version-family adapter, serializes native content through the generated model for that exact patch version, overlays preserved JSON, materializes the target format and validates the complete document against the pinned, unmodified published schema. Runtime validation remains necessary because generated POJOs cannot enforce every conditional constraint and preserved metadata is restored after serialization.

odcsPreservedFields stores the generic JSON remainder as text, retaining exact decimal values without expanding the search mapping. Schema elements follow their names within their parent rather than column positions. Registered, valid contract custom properties become native OM values through normal validation. Native edits take precedence; recorded native ownership prevents a deleted native value from being restored, while unknown or rejected ODCS custom properties remain preserved.

Partially readable quality declarations retain the original JSON and their import-time native projection. That projection uses the selected source object before API storage resolves the target entity name, without recreating native POJOs or changing their defaults. Legacy root rules are normalized into their table/column scopes before capture; empty quality collections are omitted. Export restores omitted types and precision only where the native value has not changed, keeps native rule edits/deletions, and removes unchanged synthetic comparison alternatives. Anonymous identity comparisons account for reader rounding and JSON stringification; actual restoration uses exact comparisons. Operator alternatives come from the bundled schema and apply only to quality rules, not arbitrary nested argument keys.

Normal Java, Python and TypeScript generation entry points share openmetadata-spec/scripts/prepare_model_schemas.py. Maven owns its build directory; Python and UI generation clean temporary workspaces and retain existing output destinations. Schema inputs stay read-only. There are no ingestion Dockerfile changes. Current and historical legacy quality-rule custom-property maps are migrated to arrays in both database entry points; the migration is idempotent.

Trade-offs

  • Version families share native mapping logic. A future version still needs a deliberate schema pin, model generation, semantic adapter selection and tests; schema generation cannot choose OM ownership, rule or SLA semantics.
  • Older targets have fewer features. Compatible rules use their legacy form; richer or unrepresentable rules retain their full source declaration in an opaque payload. This does not promise execution by an external older-version consumer.
  • Generic preservation does not certify unknown content against a target schema. Incompatible retained content fails export with validation locations and remains stored for correction or a compatible target.
  • Stable IDs or names distinguish otherwise identical anonymous rules after edits. Query/shared reader content is a fallback when those identifiers are absent.
  • Python 3 is required for schema preparation. Temporary Python/UI preparation repeats work per invocation in exchange for read-only source inputs and unchanged container ownership.
  • v2.2.0 is excluded because it has no published JSON Schema. Version-specific import adapters remain deferred to #37202.

Design/provenance: versioned export adapters and schema checksums, generic preservation, caller-owned generation workspaces. Shared license attribution remains in NOTICE and the specification JAR.

Review fixes

Addressed the current review:

  • Legacy export falls back to opaque source metadata when a valid SQL assertion cannot fit the numeric reader.
  • Repaired assertions inside mapped quality collections retain their original JSON type and precision, following rule identity through reorder, edit and deletion.
  • SLA integer conversion uses exact decimal arithmetic, rejecting fractions and overflow instead of rounding first.
  • Import quotes the first column path segment, preserving literal dots without changing table-scoped rules.

The final automated edge-case comment is addressed by projecting legacy relocations atomically: malformed quality, properties, items or schema containers leave the source unchanged. Four regressions cover this behavior.

The thorough review also corrected referenced-schema detection for v3.0.2 physicalName, preserved object-valued custom implementations, and covered anonymous precision cases, rounded-bound normalization, and nested argument names. Independent re-review of 02977c06c8df2da96335cdc57ef67275b42aa45f reported no remaining actionable blocker in the corrected delta.

Tests

Use cases covered

All six profiles, table/column/item quality rules, arbitrary SQL JSON assertions, exact decimals and large numbers, named/anonymous rules, operator replacement, rule reorder/deletion, literal dotted names, table renames, custom-property ownership/deletion, generic JSON storage, invalid export diagnostics, and idempotent migration of current/history records.

Unit and backend integration tests

At 02977c06c8df2da96335cdc57ef67275b42aa45f:

  • 455 unit tests passed across 17 classes, with zero failures, errors or skips. This includes 66 quality round-trip cases covering all six profiles.
  • Five focused integration tests passed at 0c86de5a77f2280c6dc917ecacfd31a6be6d67fe, with zero failures, errors, skips or flaky results: DataContractResourceIT#testRepairedSqlAssertionsAndDottedColumnsSurviveStoredVersionedExports, #testLegacyRootSqlAssertionsArePreservedAtTheirExportScopes, #testODCSExportIncludesTheContractsOwnTestCasesOnce, #testODCSExportKeepsTheSlaFreshnessForAnImportWithoutTestCases, and ODCSCustomPropertiesMigrationIT.
  • Spotless, decision-record checks, diff checks, commit hooks and the pre-push impact-map ownership gate passed.
  • Earlier full focused class runs observed 438 integration cases (24 skipped) and exposed three export errors. Those three failing methods were fixed and retested, alongside the new legacy-root regression and migration test. The full class was not rerun after the final legacy-scope normalization.
  • Verification reused already-generated, unchanged schemas with -Djsonschema2pojo.skip=true -Dmaven.compiler.useIncrementalCompilation=false; changed source files were recompiled and every selected test executed. The final malformed-container atomicity guard was subsequently verified by all 455 unit tests; the valid-input integration results were reused, rather than rerun after that defensive guard. Coverage percentage was not measured in this focused run.

The repository's focused planner selected the affected unit classes plus DataContractResourceIT and ODCSCustomPropertiesMigrationIT. They were executed together in one Maven reactor using mysql-elasticsearch, lane parallel, to avoid compiling the backend twice.

The new stored API regression exercises 24 explicit version/route combinations (six versions × four JSON/YAML ID/FQN routes), checks string and precise numeric assertions and dotted column identity, then edits native rules and confirms deleted source rules do not return. Existing tests also cover imported/native custom-property exports, generic metadata storage and invalid preserved content. Migration coverage includes pagination, current and orphan historical versions, unrelated extensions and repeated execution.

Full merge readiness is not claimed: the broader affected matrix, additional database/engine lanes and nightly search/UI suites were not run in this review. The previous head's external Compatibility check timed out; no new CI workflows were dispatched or monitored.

Ingestion / UI evidence

Generation and UI files are unchanged by this review fix. Prior verification on the workspace-generation follow-up: 44 preparation/projection/UI-workspace/cache checks and 81 locked ingestion tooling/generated-model checks passed; Java/Python generation, all 1,129 prepared schemas and all six TypeScript profiles were checked. The existing version selector had 67 Jest tests and two Playwright cases pass, plus type checks, checkstyle and lint. No new browser pass or recording is claimed for this backend follow-up.

Manual testing performed

Earlier live API testing against the versioned-export implementation at a7b1bec597237dc274e379e60439298287b96edf independently validated 134 exports against all six pinned schemas and completed 16 ordinary v3 JSON/YAML round trips. Cases included invalid input without side effects, repeat import without duplicate checks, native custom-property edit/deletion, reordered columns, merge/replace, large SLA values and multi-object documents. All 125 owned temporary objects were removed; the original sample contracts remained unchanged.

The native sample_data.ecommerce_db.shopify.customers contract was also checked through all four export routes with string, integer, number and markdown custom properties, ownership, security, SLAs and four native quality checks. Exported values/types matched the stored OM extension. These live checks predate this review commit and were not repeated here.

Known import follow-ups remain explicit: the shared reader rejects legacy v2 development status; primitive-array item metadata survives ODCS export but its element type is not fully represented in the native contract. Historical import conformance is tracked in #37202.

Checklist

  • Linked issue and accepted design/trade-offs documented.
  • Review comments addressed with behavioral regressions.
  • Independent review findings fixed and re-reviewed at the commit above.
  • Generated model sources remain schema-first; vendored schema bytes are unchanged.
  • Focused verification and its limitations recorded.
  • Java formatting, decision-record checks and commit hooks passed.
  • Full affected integration matrix and current-head UI/browser verification remain deferred.

@github-actions github-actions Bot added Ingestion safe to test Add this label to run secure Github workflows on PRs labels Nov 2, 2026
@pmbrull
pmbrull requested a review from IceS2 November 3, 2026 16:34
@TeddyCr
TeddyCr marked this pull request as ready for review November 3, 2026 22:12
@TeddyCr
TeddyCr requested review from a team as code owners November 3, 2026 22:12
@TeddyCr
TeddyCr requested review from harsh-vador and a balanced review from Copilot November 3, 2026 22:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR checks passed

The linked issue has a description and all required Shipping project fields set. Thanks!

Copilot AI balanced review requested due to automatic review settings November 3, 2026 22:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs and removed safe to test Add this label to run secure Github workflows on PRs labels Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 81%
81.81% (142427/174082) 69.31% (52222/75335) 72.3% (29230/40426)

Copilot AI balanced review requested due to automatic review settings November 3, 2026 22:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs and removed safe to test Add this label to run secure Github workflows on PRs labels Nov 3, 2026
@TeddyCr TeddyCr changed the title Make ODCS import/export conform to the published ODCS v3.1.0 schema so Fixes 33493: Align ODCS import/export with v3.1.0 Nov 3, 2026
…hed-0170

Resolve conflicts with main (16b6974) and fix the tsc error in CustomPropertiesDetailPage.tsx.

taskr run 0176.
Copilot AI balanced review requested due to automatic review settings November 4, 2026 18:58
@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs and removed safe to test Add this label to run secure Github workflows on PRs labels Nov 7, 2026
Copilot AI balanced review requested due to automatic review settings November 7, 2026 00:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs and removed safe to test Add this label to run secure Github workflows on PRs labels Nov 7, 2026
Copilot AI balanced review requested due to automatic review settings November 7, 2026 00:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs and removed safe to test Add this label to run secure Github workflows on PRs labels Nov 7, 2026
Copilot AI balanced review requested due to automatic review settings November 9, 2026 15:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs and removed safe to test Add this label to run secure Github workflows on PRs labels Nov 9, 2026
Copilot AI balanced review requested due to automatic review settings November 9, 2026 18:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs and removed safe to test Add this label to run secure Github workflows on PRs labels Nov 9, 2026
@gitar-bot

gitar-bot Bot commented Nov 9, 2026

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

🔴 High risk · Converts legacy quality-rule custom-property maps to arrays in current and historical records; a faulty migration could corrupt contract metadata.

Aligns ODCS import/export with the v3.1.0 published field shapes and preserves unmapped source metadata across round trips, with export supporting six schema versions selectable via odcsVersion. Resolved this session: out-of-range SLA numbers are now reported instead of silently truncated, ODCS wire-format rules are recorded in docs/decisions, removed custom properties no longer return after an export/import round trip, and projectRootQuality now relocates rules atomically instead of aborting mid-loop. No open findings remain.

✅ 5 closed
✅ Bug: SLA numbers outside the int range are silently truncated, not reported

📄 openmetadata-service/src/main/java/org/openmetadata/service/datacontract/odcs/ODCSSlaMapper.java:186-198
wholeNumber now calls numeric.intValue() for any Number whose fractional part is zero. YAML/JSON parsers return Long, BigInteger or a large Double for values past Integer.MAX_VALUE. For example, value: 3000000000 becomes -1294967296, and 1e20 becomes Integer.MAX_VALUE. That wrong SLA gets stored with no warning. Before this change, the string path threw NumberFormatException, so the value was left out and reported, which is what the class Javadoc promises. Fix: check that the value fits in an int before converting it, and send anything else to the existing warn branch.

✅ Quality: New ODCS wire-format rules are not recorded in docs/decisions

📄 openmetadata-spec/src/main/resources/json/schema/entity/datacontract/odcs/odcsDataContract.json:653-667 📄 openmetadata-spec/src/main/resources/json/schema/entity/datacontract/odcs/odcsDataContract.json:912-915 📄 openmetadata-service/src/main/java/org/openmetadata/service/util/ODCSConverter.java:664-666 📄 openmetadata-service/src/main/java/org/openmetadata/service/util/ODCSConverter.java:706-712 📄 openmetadata-service/src/main/java/org/openmetadata/service/datacontract/odcs/ODCSShapeNormalizer.java:96-110 📄 openmetadata-spec/src/main/java/org/openmetadata/schema/entity/datacontract/odcs/ODCSCustomPropertiesCompatModule.java:37-43
This PR changes a JSON Schema contract that the UI, the Python SDK and outside ODCS tools all depend on, but no record in docs/decisions/ covers ODCS. It makes these choices:

  • team becomes an object with members.
  • firstLevelApprovers/secondLevelApprovers become strings.
  • customProperties becomes a {property, value} array.
  • SLA and custom property values become untyped.

It also adds a derived format that only the code shows: several policy identities are stored as one comma-joined string on export, and split on , on import. Finally, it adopts a compatibility policy: legacy stored shapes are normalized on read instead of migrated.

A record could say: "OpenMetadata reads and writes ODCS in the published v3.1.0 shapes. Role approvers are a single comma-separated string that maps to the policy's identity list. Legacy shapes (bare-array team, array approvers, map-form customProperties) are accepted and rewritten on read, without a data migration." That comes from the description's "Documents stored in legacy shapes ... are normalized on read so existing stored JSON still deserializes" and "Role approvers change from arrays to strings". The repo squash-merges, so this reasoning is lost unless it lives in the tree.

✅ Bug: Custom properties removed in OM come back after an export/import round trip

📄 openmetadata-service/src/main/java/org/openmetadata/service/datacontract/odcs/ODCSExportDocument.java:162-176 📄 openmetadata-service/src/main/java/org/openmetadata/service/datacontract/odcs/ODCSPreservedFields.java:155-161 📄 openmetadata-service/src/main/java/org/openmetadata/service/util/ODCSConverter.java:294-298
fromODCS never maps root customProperties into extension; the catalogue marks the field as dropped. ODCSPreservedFields.capture keeps it because the native baseline from toNativeODCS has no customProperties. Here is the failing round trip:

  1. Export a contract. withNativeCustomProperties writes its extension values (for example costCenter) into customProperties.
  2. Re-import that document. The values are saved in odcsPreservedFields, not in extension.
  3. Clear costCenter in OpenMetadata and export again.

mergeCustomProperties (ODCSExportDocument.java:172-192) still writes every preserved entry, so the deleted property comes back with its old value. On a later re-import it is also never applied as a native value. clearedNativePropertiesAreNotReintroducedIntoExport only covers contracts with no preserved document, so the tests miss this.

Fix: either map imported customProperties whose names match defined custom properties into extension (and leave them out of the preserved document), or have mergeCustomProperty skip preserved entries whose name is a known native custom property that is now absent from extension.

✅ Edge Case: projectRootQuality aborts mid-loop and leaves rules both relocated and at root

📄 openmetadata-service/src/main/java/org/openmetadata/service/datacontract/odcs/ODCSShapeNormalizer.java:75-84
The loop in projectRootQuality copies each legacy root rule into its table or column target. If a later rule's target already has a non-array quality value, the method returns right away. The rules handled before that point have already been appended under schema, and root.quality still holds every rule, because root.remove(QUALITY) is never reached. The preserved source then has those declarations in two places, root and scoped, and captureObject records both. That is the duplication this projection exists to prevent. Fix: check every target before changing anything, or skip only the incompatible rule and keep it at root.

Closed: Bug: physicalName probe misses v3.0.2 and strips its valid physical names

📄 openmetadata-service/src/main/java/org/openmetadata/service/datacontract/odcs/ODCSV30Mapper.java:93-95 📄 openmetadata-spec/src/main/resources/odcs/v3.0.2/schema.json:1558 📄 openmetadata-spec/src/main/resources/odcs/v3.0.2/schema.json:1898-1903
materialize checks whether the target schema supports physicalName by looking at $defs.SchemaProperty.properties.physicalName. In every pinned v3.0.x schema, SchemaProperty is only a $ref to SchemaBaseProperty with unevaluatedProperties: false and has no properties of its own, so this check never finds the field. v3.0.2 does declare physicalName on SchemaBaseProperty (schema.json line 1558), so v3.0.2 exports lose every property physicalName that equals the column name. The ADR limits this omission to v3.0.0/v3.0.1. v3.0.0/v3.0.1 only get the right result by accident. Fix: resolve the property's $ref (SchemaBaseProperty) before checking, or choose the behavior by version (v3.0.0/v3.0.1 only), and add a v3.0.2 test assertion that physicalName is kept.

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 Nov 9, 2026

Copy link
Copy Markdown
Contributor

⚠️ UI Checkstyle passed — lint findings in changed files

🔍 ESLint findings in this PR's files — 0 error(s), 16 warning(s)

Errors block the build. Warnings do not yet — they are rules whose backlog is still
being worked down, listed so this PR does not add to it. See docs/ui-code-quality-gate.md.

0 error(s), 16 warning(s) across 1 changed file(s).

Count Rule
12 openmetadata-ui-patterns/no-non-adaptive-palette
4 react-hooks/exhaustive-deps
All findings
Location Rule Message
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:177:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:203:9 react-hooks/exhaustive-deps The 'handleRunNow' function makes the dependencies of useCallback Hook (at line 270) change on every render. To fix this, wrap the definition of 'handleRunNow'
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:375:41 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-gray-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-gray-700) or a semant
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:425:41 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-error-600" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-error-600) or a sema
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:430:41 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-error-600" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-error-600) or a sema
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:530:6 react-hooks/exhaustive-deps React Hook useMemo has unnecessary dependencies: 'handleRunNow' and 'validateLoading'. Either exclude them or remove the dependency array.
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:547:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchLatestContractResults'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:611:39 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-gray-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-gray-700) or a semant
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:628:39 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-gray-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-gray-700) or a semant
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:653:30 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:670:30 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:689:30 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:708:30 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:785:42 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:829:44 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:847:40 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se

Fix locally (fast - only checks files changed in this branch):

make ui-checkstyle-changed

@sonarqubecloud

sonarqubecloud Bot commented Nov 9, 2026

Copy link
Copy Markdown

@TeddyCr
TeddyCr merged commit 89707c1 into open-metadata:main Nov 9, 2026
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ingestion 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.

ODCS data contrac import/export is not according to the standard

3 participants