Repository navigation
refactor(context-center): wrap header components with HeaderShell - #29964
Conversation
… consistent AI/embedded mode styling Replaces raw Card + getHeaderCardClassName() pattern in ContextCenterHeader, ArticleDetailHeader, and ArticleVersionHeader with the HeaderShell component. Uses variant="gradient" when embedded to align background treatment across all context center page headers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
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 |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
🟡 Playwright Results — all passed (26 flaky)✅ 4511 passed · ❌ 0 failed · 🟡 26 flaky · ⏭️ 95 skipped
🟡 26 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
|
Code Review ✅ Approved 3 resolved / 3 findingsRefactors Context Center headers to use the standardized HeaderShell component for consistent styling. Address the tab row crowding in the article detail footer to ensure responsive layout integrity. ✅ 3 resolved✅ Quality: Missing space before self-closing tag on PlusIcon
✅ Quality: Bottom margin (tw:mb-5) dropped from all three headers
✅ Quality: Box conversion drops text-sm and shrinks editors gap
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
…9964) * refactor(context-center): wrap header components with HeaderShell for consistent AI/embedded mode styling Replaces raw Card + getHeaderCardClassName() pattern in ContextCenterHeader, ArticleDetailHeader, and ArticleVersionHeader with the HeaderShell component. Uses variant="gradient" when embedded to align background treatment across all context center page headers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fixed ui issues * updated widget action button icons * lint fix * minor fix * lint fix * fixed unit test --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…pen-metadata#30943) * fix(ui): stop invalid-URL crash in the description embed-link form Entering an invalid URL in the BlockEditor embed-link popover crashed the whole editor: "Invalid slot 'errorMessage'. Valid slot names are 'description'". EmbedLinkElement rendered the react-hook-form validation error as a standalone <HintText isInvalid>, which resolves to react-aria slot="errorMessage". Placed as a sibling of <Input>, it landed in a TextField slot context that only registers the "description" slot, so react-aria threw and the error boundary replaced the editor. Pass the message through the Input's own `hint` prop instead. Input renders its HintText inside its own AriaTextField, where the errorMessage slot is valid, so the "Invalid URL" text shows inline and the editor keeps working. Removed the now unused HintText import. Regression from open-metadata#29964 (introduced EmbedLinkElement in this form); reproduces on main, not yet in a released build. Verification: eslint 0 errors, tsc 0 errors, 6 EmbedLinkElement tests pass (including the invalid-URL validation case). Fixes open-metadata#30942 * test(e2e): add Playwright regression test for embed-link invalid-URL crash (open-metadata#30942) Adds BlockEditorEmbedLink.spec.ts — opens the description editor on a table entity page, inserts an Image block via slash command, submits an invalid URL, and asserts the "Invalid URL" validation message is visible and the editor is still alive (not replaced by an error boundary). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * lint fix * test(e2e): add @discovery tag to BlockEditorEmbedLink describe block Required by the Playwright handbook so tag-filtered CI runs include this spec. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * test(e2e): move BlockEditorEmbedLink spec from Pages/ to Features/ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * test(e2e): refine BlockEditorEmbedLink spec — click add-image-container to open embed form Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * lint fix --------- Co-authored-by: Rohit0301 <rj03012002@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…30943) * fix(ui): stop invalid-URL crash in the description embed-link form Entering an invalid URL in the BlockEditor embed-link popover crashed the whole editor: "Invalid slot 'errorMessage'. Valid slot names are 'description'". EmbedLinkElement rendered the react-hook-form validation error as a standalone <HintText isInvalid>, which resolves to react-aria slot="errorMessage". Placed as a sibling of <Input>, it landed in a TextField slot context that only registers the "description" slot, so react-aria threw and the error boundary replaced the editor. Pass the message through the Input's own `hint` prop instead. Input renders its HintText inside its own AriaTextField, where the errorMessage slot is valid, so the "Invalid URL" text shows inline and the editor keeps working. Removed the now unused HintText import. Regression from #29964 (introduced EmbedLinkElement in this form); reproduces on main, not yet in a released build. Verification: eslint 0 errors, tsc 0 errors, 6 EmbedLinkElement tests pass (including the invalid-URL validation case). Fixes #30942 * test(e2e): add Playwright regression test for embed-link invalid-URL crash (#30942) Adds BlockEditorEmbedLink.spec.ts — opens the description editor on a table entity page, inserts an Image block via slash command, submits an invalid URL, and asserts the "Invalid URL" validation message is visible and the editor is still alive (not replaced by an error boundary). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * lint fix * test(e2e): add @discovery tag to BlockEditorEmbedLink describe block Required by the Playwright handbook so tag-filtered CI runs include this spec. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * test(e2e): move BlockEditorEmbedLink spec from Pages/ to Features/ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * test(e2e): refine BlockEditorEmbedLink spec — click add-image-container to open embed form Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * lint fix --------- Co-authored-by: Rohit0301 <rj03012002@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…pen-metadata#30943) * fix(ui): stop invalid-URL crash in the description embed-link form Entering an invalid URL in the BlockEditor embed-link popover crashed the whole editor: "Invalid slot 'errorMessage'. Valid slot names are 'description'". EmbedLinkElement rendered the react-hook-form validation error as a standalone <HintText isInvalid>, which resolves to react-aria slot="errorMessage". Placed as a sibling of <Input>, it landed in a TextField slot context that only registers the "description" slot, so react-aria threw and the error boundary replaced the editor. Pass the message through the Input's own `hint` prop instead. Input renders its HintText inside its own AriaTextField, where the errorMessage slot is valid, so the "Invalid URL" text shows inline and the editor keeps working. Removed the now unused HintText import. Regression from open-metadata#29964 (introduced EmbedLinkElement in this form); reproduces on main, not yet in a released build. Verification: eslint 0 errors, tsc 0 errors, 6 EmbedLinkElement tests pass (including the invalid-URL validation case). Fixes open-metadata#30942 * test(e2e): add Playwright regression test for embed-link invalid-URL crash (open-metadata#30942) Adds BlockEditorEmbedLink.spec.ts — opens the description editor on a table entity page, inserts an Image block via slash command, submits an invalid URL, and asserts the "Invalid URL" validation message is visible and the editor is still alive (not replaced by an error boundary). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * lint fix * test(e2e): add @discovery tag to BlockEditorEmbedLink describe block Required by the Playwright handbook so tag-filtered CI runs include this spec. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * test(e2e): move BlockEditorEmbedLink spec from Pages/ to Features/ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * test(e2e): refine BlockEditorEmbedLink spec — click add-image-container to open embed form Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * lint fix --------- Co-authored-by: Rohit0301 <rj03012002@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
… install `src/jsons/**` was gitignored and regenerated by `parse-schema` on every `yarn install` (via `postinstall` -> `build-check`). Three files had been force-added past that ignore rule (#29964, #32122). Once tracked, every CI run regenerated them, and because the committed content did not match the generator's output byte-for-byte the working tree came up dirty before any linting ran. ui-checkstyle gates on `git status --porcelain`, so it failed on main for every PR regardless of what that PR changed. Commit the generated output instead, the same way `src/generated/` TypeScript types are handled: - drop the `src/jsons/*` ignore rule and track all 279 generated files - remove `parse-schema` from `build-check`, so `yarn install` and the Maven build no longer rewrite tracked files; `yarn parse-schema` stays available for manual regeneration - exclude `src/jsons/` from Prettier, the licence-header check, and ESLint (the ESLint ignore is widened from `src/jsons/connectionSchemas/**`), and from the changed-file list in `ui-checkstyle-changed.sh`, so no formatter can reintroduce drift between the committed files and generator output Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…omponents (open-metadata#29849) * refactor(query-builder): reroute antd package imports to ui package Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(query-builder): add OMTextWidget and OMNumberWidget using core Input Replace @react-awesome-query-builder/antd widgets with core-components. Two new widgets using Input component: - OMTextWidget: string input values - OMNumberWidget: numeric input with type="number" All tests passing, TypeScript strict compilation verified. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(query-builder): add OMSelectWidget using core Select with async support Implements Task 3 of the query builder migration from Ant Design to openmetadata-ui-core-components. Provides async-capable single-select widget wrapping core Select component. Includes handling for both static list values and async fetch callbacks, with proper TypeScript typing. - Converts listValues (array or object format) to SelectItemType[] - Supports async data loading via asyncFetch callback - Properly disables when readonly - Fully tested with 2 core test cases (render + disabled state) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(query-builder): add OMMultiSelectWidget using core MultiSelect with async support Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(query-builder): add OMBooleanWidget and OMDateWidget Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(query-builder): add OMFieldSelect and OMConjs using core Select and ButtonGroup Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(query-builder): add QueryBuilderOMConfig assembling OMConfig from core-component widgets Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(query-builder): wire OMConfig into AdvancedSearchClassBase, migrate button renderers to core-components - AdvancedSearchClassBase: replace BasicConfig value with OMConfig from QueryBuilderOMConfig; BasicConfig is now type-only - AdvancedSearchUtils: renderAdvanceSearchButtons uses Button (core), X and Trash01 icons from @untitledui/icons; removes @ant-design/icons and antd Button imports - QueryBuilderUtils: renderQueryBuilderFilterButtons and renderJSONLogicQueryBuilderButtons use Button (core) and X/Plus from @untitledui/icons; removes antd and @ant-design/icons imports Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * style(query-builder): fix import ordering in AdvancedSearchClassBase and button renderers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(query-builder): migrate QueryBuilderWidgetV1 outer shell to core-components, clean up LESS - Replace antd Card/Row/Col/Skeleton/Alert/Button/Divider/Typography with @openmetadata/ui-core-components equivalents - Replace @ant-design/icons InfoCircleOutlined with @untitledui/icons InfoCircle - Remove all .ant-* selectors from LESS; replace Less variable refs with CSS custom properties (--color-*) - Update skeleton test selector from .ant-skeleton.ant-skeleton-active to [aria-hidden="true"] (core Skeleton uses aria-hidden) - Update padding class test from .ant-col/.p-t-sm to .tw\\:pt-2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * refactor(query-builder): update test files from antd to ui package Updated 7 test files to import from @react-awesome-query-builder/ui instead of @react-awesome-query-builder/antd, and replaced AntdConfig with BasicConfig. Applied UI checkstyle (organize-imports, lint:fix, prettier) on all modified test files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): correct OMDateWidget fieldType detection, remove invalid type cast, wire JSONLogicSearchClassBase to OMConfig - OMDateWidget: replace getInputType(operator) with fieldType prop — operator values like "equal"/"less" never contain "time"/"datetime"; fieldType is the correct discriminant - OMDateWidget: fix tw:bg-disabled_subtle → tw:bg-disabled-subtle (underscore → dash matches CSS token) - OMNumberWidget: remove impossible `as number & null` intersection cast; Number(v) is already number - JSONLogicSearchClassBase: import OMConfig and set baseConfig = OMConfig so JSON-logic query builder uses OM-styled widgets consistently with AdvancedSearchClassBase Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): remove hardcoded size from OMConjs ButtonGroup, document native input in OMDateWidget * fix(query-builder): update Playwright selectors from antd to react-aria after widget migration - OMFieldSelect: switch plain Select → Select.ComboBox for searchable field/operator selection - OMSelectWidget: add Select.ComboBox branch for async mode (exposes input[role="combobox"]) - advancedSearch.ts: rewrite selectOption/fillRule/fillStaticListRule/runRuleGroupTestsWithNonExistingValue to use react-aria selectors ([role="listbox"], [role="option"], input[role="combobox"]) - AdvancedSearch.spec.ts, AdvancedSearchSuggestions.spec.ts, CuratedAssets.spec.ts, DataContractsSemanticRules.spec.ts, customPropertyAdvancedSearchUtils.ts: replace all .ant-select/.ant-select-dropdown/.ant-select-item-option-content selectors with ARIA equivalents; skip antd-specific Load More test that relied on rc-virtual-list Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): fix selectOption race condition — wait before branching on widget type count() is immediate and returns 0 before Select.ComboBox renders, causing the fallback to wait for button[aria-haspopup="listbox"] which never appears in a ComboBox. Replace with or() locator so we wait for whichever widget renders first, then branch on isVisible(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): remove stale .ant-select suffixes from Playwright selectors DataContracts.spec.ts, DataContractInheritance.spec.ts, CustomProperties.spec.ts, and customProperty.ts still referenced .group--field .ant-select, .rule--operator .ant-select, .rule--field .ant-select, .rule--value .ant-select. After the widget migration to react-aria Select.ComboBox these selectors match nothing; drop the .ant-select suffix so the selectors target the RAQB wrapper divs directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): replace antd date-picker selectors with native input[type="date"] OMDateWidget now renders a native <input type="date"> instead of the antd DatePicker. Update all affected Playwright tests: - advancedSearch.ts: rewrite selectRange() to fill two native date inputs directly (no dropdown interaction needed) - DataContractsSemanticRules.spec.ts: replace all .ant-picker, .ant-picker-range, .ant-picker-dropdown, .ant-picker-input-active patterns; change date format from 'dd.MM.yyyy' (antd) to 'yyyy-MM-dd' (ISO, required for native input) - PersonaFlow.spec.ts: remove .ant-select suffix from .rule--field and .rule--operator selectors Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): replace Select.ComboBox with Autocomplete in OMFieldSelect Select.ComboBox passes items directly to AriaListBox, bypassing react-aria's built-in filtering — typing in the input does not filter the options list. Autocomplete filters visibleItems client-side via a contains() check and exposes onSearchChange for future BE search support. Key changes: - OMFieldSelect: switch from Select.ComboBox to Autocomplete - selectedKey → selectedItemsValue (memoized array so Autocomplete's useEffect resets internalSelected when the selected field changes) - selectedLabel shown as placeholder so the user can still see what's selected - renderTag={() => null} suppresses badge chips (single-value use case) - icon={null} hides the search icon to keep the trigger compact - OMFieldSelect.test: update assertion from getByRole('button') to getByRole('combobox') to match Autocomplete's AriaInput Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): revert OMFieldSelect from Autocomplete back to Select.ComboBox Autocomplete is designed for multi-select and excludes currently-selected items from visibleItems. For RAQB's field/operator selectors (single-select, static list), this caused the currently-selected item to never appear in the dropdown, making every Playwright selectOption call time out after 3 minutes. Select.ComboBox uses menuTrigger="focus" and explicit handlePointerDown that calls state.open(), so clicking or filling the input reliably opens the menu with all options visible — including the one already selected. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): fix strict mode violation in selectOption — add .first() to .or() locator Select.ComboBox renders both input[role="combobox"] and button[aria-haspopup="listbox"], so the .or() locator was resolving to 2 elements causing Playwright strict mode to reject toBeVisible(). Adding .first() ensures a single-element locator without changing the branch logic below (comboboxInput.isVisible() still correctly targets only the input). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): open Select.ComboBox via trigger button to show all options Clicking comboboxInput opens the ComboBox with the current selection's label as an active filter, hiding unrelated options (e.g. selecting '>' fails when current operator is '='). Per the ARIA spec, clicking the disclosure/trigger button opens the ComboBox in show-all mode. This also unifies the open path for both Select and Select.ComboBox in the non-searchable case. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): use combobox input click (not toggle button) to open Select.ComboBox Clicking the chevron AriaButton toggles the ComboBox open/close via React Aria's state.toggle(), causing the dropdown to close immediately after opening. Instead, click the hidden input element which triggers AriaGroup.handlePointerDown → state.open(null, 'input') — a one-way open, not a toggle. Then fill('') clears the current-value filter so all options are visible. For plain Select (no combobox input), keep using the trigger button click. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): exclude Suggestions listbox when waiting for dropdown page.locator('[role="listbox"]').first() was resolving to the global-search Suggestions listbox (aria-label="Suggestions") which is always in the DOM but permanently hidden. The ComboBox dropdown listbox appears later in DOM order, so .first() always picked the wrong one, causing waitFor({ state: 'visible' }) to time out after 332+ retries. Add :not([aria-label="Suggestions"]) to both the waitFor locator and the option search locator to skip the Suggestions listbox entirely. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): wait for visible listbox and guard async widget races Verified against Storybook with a Playwright probe: 1. React Aria labels EVERY ComboBox popup listbox "Suggestions" (@react-aria/combobox listboxLabel), so the previous :not([aria-label="Suggestions"]) filter excluded the query builder's own dropdown and every selectOption call hung until test timeout. 2. The popup listbox mounts only while open, but the nav-bar search's Suggestions listbox stays in the DOM hidden. A plain [role="listbox"].first() pins that hidden element and waitFor never resolves. Filter with :visible so the locator re-resolves to whichever listbox is actually open. 3. OMSelectWidget/OMMultiSelectWidget loadAsync had no request ordering: the mount-time loadAsync('') could resolve after loadAsync(searchTerm) and clobber items with unfiltered results, so the typed option never appeared. Add a requestId guard so only the latest response wins, and drop the redundant clear() before fill() in the searchable path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Migrated asset selection drawer and modal (#29956) * Migrated asset selection drawer and modal * lint fix * addressed gitar comment * fixed playwright test * addressed PR comment * lint fix * refactor(context-center): wrap header components with HeaderShell (#29964) * refactor(context-center): wrap header components with HeaderShell for consistent AI/embedded mode styling Replaces raw Card + getHeaderCardClassName() pattern in ContextCenterHeader, ArticleDetailHeader, and ArticleVersionHeader with the HeaderShell component. Uses variant="gradient" when embedded to align background treatment across all context center page headers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fixed ui issues * updated widget action button icons * lint fix * minor fix * lint fix * fixed unit test --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(csv-import): preserve inherited domains across all importers without materializing them (#28523) (#28655) * fix(csv-import): keep inherited domain on bulk edit so Data Product Domain Validation doesn't falsely fail (#28523) Bulk-editing an entity via CSV import (tags, certification, ...) failed with "Rule [Data Product Domain Validation] validation failed" when the entity had an inherited domain and an assigned data product. Root cause: for an update row, the Drive importers load the existing entity with all fields (getEntityByName(..., "*")) — which already resolves the inherited domain — then overwrite `domains` with the (empty) CSV domain column, discarding it. The platform rule then sees a data product with an empty domain and treats it as a genuine mismatch. The single-entity edit path is unaffected because it never discards the inherited domain. Fix: treat an empty domain column as "leave domains unchanged" rather than "clear domains". A new EntityCsv.getDomains(...) overload returns the entity's already-loaded domains when the CSV column is empty, and the File / Directory / Spreadsheet / Worksheet importers pass their current domains as the fallback. This needs no extra DB lookup (the domain was already loaded) and no cache. Inherited references are filtered out before persistence (EntityUpdater uses getEntityReferences which drops inherited refs), so they are never materialized as a direct domain; a genuine data product / domain mismatch still fails. Tests: unit test for the empty-column-keeps-existing-domains behavior, plus rule-level tests (real RuleEngine + real rule) asserting a matching inherited domain passes and a genuine mismatch fails. * fix(csv-import): extend inherited-domain fix to all importers and stop materializing it (#28523) Extends the inherited-domain handling beyond the four Drive entities to every CSV importer that can trigger 'Data Product Domain Validation': the non-recursive table path (DatabaseSchemaRepository), the recursive table path (EntityCsv.createTableEntity, whose dry-run load previously excluded domains), and the Database/DatabaseService/DriveService/SecurityService importers. All load the entity with its inherited domain already in memory, so reusing it on an empty domain column adds no DB calls. Also fixes a materialization bug in the shared import path: feeding the inherited domain in for rule validation caused it to be persisted as a direct domain, because updateManyEntitiesForImport -> storeRelationshipsInternal -> storeDomains does not filter inherited refs the way the interactive EntityUpdater path does. dropInheritedDomains() now strips inherited domains after rule evaluation and before persistence, so the entity keeps re-inheriting on read. This also fixes the original Drive-entity paths, whose mocked unit tests never persisted and so never caught it. Adds real end-to-end integration tests (non-recursive and recursive) in DatabaseSchemaResourceIT that drive the actual importer with an inherited domain plus an assigned data product, asserting the rule passes and the inherited domain is not materialized as a direct domain. EntityCsvTest gains a unit assertion for the strip. * fix(csv-import): empty domain column clears direct domains, keeps inherited only for rule validation An empty domains column falls back to only the inherited subset of the entity's existing domains instead of all of them, restoring the pre-existing behavior where blanking the column removes an explicitly assigned (direct) domain. Inherited refs are still supplied in memory so Data Product Domain Validation evaluates the effective domain, and are dropped before persistence as before. Also extends the inherited-domain fix to the two importer paths that still cleared it: createSchemaEntity (recursive database import) and createStoredProcedureEntity, by loading domains on the existing entity and passing them to the 4-arg getDomains. Test updates: new contract test for the inherited-only fallback, stale Entity.getEntities stub replaced with the relationship-repository chain that LogicOps.validateDataProductDomainMatch now uses on main (the matching-domain scenario failed at the PR head without this), and load field-string stubs aligned with the schema/SP changes. * fix(csv-export): never write inherited domains to the CSV domains column The exporter previously omitted inherited domains only because the export load does not hydrate them; any path that loads domains with inheritance applied would leak the inherited FQN into the CSV, where the inherited flag cannot survive serialization. Re-importing such a CSV would materialize the domain as a direct one, freezing it against future parent-domain changes. Filter inherited refs in CsvUtil.addDomains so the invariant is explicit. Adds an export-import round-trip integration test asserting the inherited domain is absent from the exported CSV and stays inherited (never materialized) after re-importing the export verbatim. * test(csv-import): rewrite exported CSV with Commons CSV instead of String.split Splitting exported CSV lines on ',' breaks when a quoted field legally contains a comma or newline. The recursive bulk-edit and round-trip tests now parse and re-print the export through Commons CSV (already on the IT classpath via openmetadata-service), editing rows structurally. * fix(drives): resolve parent in Directory bulk path so nested directories inherit the right domain The bulk read path gated fetchAndSetParents on the parent field being requested, so setInheritedFields saw parent == null for nested directories and inherited the domain from the drive service instead of the parent directory — diverging from the single-entity setFields path, which always populates parent. Parent is now always batch-resolved (one findFromBatch query per bulk load, as before) because inheritance needs it, and nulled out after inheritance when the client did not request it, keeping the response contract unchanged. Adds an IT listing a nested directory with fields=domains only, asserting the inherited domain comes from the parent directory and that the parent ref does not leak into the response. * fix(csv-import): 4-arg getDomains returns null on failed rows like every other parser When processRecord is false the 3-arg getDomains returns null, which the 4-arg overload treated as an empty column and fell back to the inherited domains. All CSV field parsers short-circuit to null on a dead row; guard the overload the same way so a partially-parsed row never carries domains. No functional impact today (callers skip createEntity when processRecord is false) but keeps the parser contract uniform. * refactor(drives): resolve directory service and parent in one batch query Merge fetchAndSetDefaultService and fetchAndSetParents into a single fetchAndSetServiceAndParent so the CONTAINS relationship is fetched once per bulk load instead of twice, partitioning the result by from-entity type (drive service -> service, directory -> parent). Parent is still resolved unconditionally because setInheritedFields needs it for domain inheritance; this only removes the duplicate query. * fix(drives): correct displayName/description mapping in driveService CSV import The directory importer read displayName from column 2 (description) and description from column 1 (displayName); header order is name, displayName, description. Export already writes them in the correct order, so an export->import round-trip swapped the two fields. * fix(glossary): add missing domains field to createGlossaryTerm schema CreateGlossaryTerm omitted the domains property while declaring additionalProperties=false, so a domain supplied in the create request was silently dropped and the term was created with no domain -- unlike every other domain-supporting entity (createGlossary, createTable, etc.). Add the field to the schema and the generated UI type; the existing EntityMapper.copy() then persists it. Previously the domain could only be set via a follow-up PATCH. * Update generated TypeScript types * refactor(glossary): align createGlossaryTerm domains items with sibling schemas Drop the default:null on the domains property so it matches createGlossary.json and createTable.json exactly (plain string items, no default). Addresses review feedback; the shared-ref variant used by createDashboard/createTopic was not adopted since the glossary/table siblings use plain string items. --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Fixes 29269: retry Bedrock 429 throttling with backoff (#29938) * Fixes 29269: retry Bedrock 429 throttling with backoff Bedrock embeddings hit 429 (Too Many Requests) under concurrency when multiple clusters share the same regional quota. The SDK's default legacy retry gave up after 4 attempts. Configure both Bedrock clients (embedding and completion) with the AWS standard retry strategy — exponential backoff with full jitter on 429/ThrottlingException — at a raised attempt ceiling of 10, via a shared AwsCredentialsUtil helper. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Remove ponytail inline comment from throttle override helper Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Fix DataQuality reindex UIITs: fill the name input, not its wrapper #29784 migrated the test case & bundle suite forms to the core-components react-hook-form fields, which render `data-testid` on the field wrapper <div> (data-input-wrapper) with the real <input> as a child. The TS specs were updated to target `[data-testid=...] input`, but these Java page-object ports still filled the testid directly, so Playwright resolved the wrapper and failed with "Element is not an <input>" (DataQualityTableTestCaseCrudReindexUIIT, TestSuiteDetailsPageReindexUIIT). Drill into the child input, matching the TS convention. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Port DataQuality reindex UIITs to the migrated test-case form #29784 migrated the test-case create/edit form to core-components react-hook-form fields and updated the TS specs, but these Java page-object ports still used pre-migration locators: - Test type / column options were selected by testid / [title=]. They now render as role=option with no per-option testid; select by visible label (mirrors the selectTestType TS helper). Display names verified against the test-definition seed JSON. - The edit drawer waited on the removed `edit-test-case-drawer-title`; it now renders the shared `test-case-form-v1` form body. - Edit param fields use `#testCaseFormV1_params_*`, not `#tableTestForm_params_*`. Resolves the remaining DataQuality reindex UIIT failures (array params, column CRUD, table CRUD); the earlier name-field fix already fixed the test-suite reindex test. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix customize navigation duplicate indentifier (#29990) * Fixes #29439: Table schemaDefinition silently dropped on PUT (#29441) * Fix schemaDefinition silently dropped on table PUT schemaDefinition was absent from UPDATE_FIELDS in TableRepository, which meant every PUT request loaded and diffed only the fields in that list — schemaDefinition was never loaded from the database for comparison and was never written back. The field worked on POST (initial create) but was silently ignored on every subsequent update. This also broke updateProcessedLineage: it reads origTable.getSchemaDefinition() to detect schema changes and reset processedLineage, but that value was always null because the field was never loaded. Fix: add schemaDefinition to UPDATE_FIELDS and add a compareAndUpdate call in entitySpecificUpdate, placed before the columns block so that updateProcessedLineage fires correctly. Extend put_schemaDefinition_200 integration test to cover the PUT update path (previously only the POST/create path was tested; the update path had a TODO noting it was not covered). * Address review: preserve schemaDefinition on null PUT, fix formatting A PUT that omits schemaDefinition would now silently clear a previously stored value, because the field is newly loaded via UPDATE_FIELDS. Add the same null-preserve guard that already exists for dataModel, so an omitted schemaDefinition is carried forward from the original. Also collapse a two-line variable declaration to one line to satisfy the spotless/google-java-format check. * Fix PUT test: use createOrUpdate instead of create createEntity calls tables().create() (POST) — calling it twice with the same name 409s. Use tables().createOrUpdate() (PUT) for the update assertion in put_schemaDefinition_200. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): conjunction toggle exposes radio role, not button The migrated OMConjs uses react-aria ToggleButtonGroup with selectionMode="single", which renders role="radiogroup" with role="radio" items (confirmed via the CI failure's ARIA snapshot). Update the 'Or' locators in PersonaAIContext.spec.ts and advancedSearch.ts from getByRole('button') to getByRole('radio'). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): never pointer-click ComboBox inputs — chevron intercepts Reproduced against a real RAQB + Select.ComboBox harness in Storybook: in narrow ComboBoxes (the RAQB operator column), the absolutely positioned chevron button (z-20, 36px wide, right-aligned) covers the center of the full-width input (z-10). Playwright clicks the element center, the button "intercepts pointer events", and the click retries until timeout — which cascades into 3-minute test timeouts across CustomProperties, DataContracts and semantic-rules specs. Replace click+fill('') with fill('') alone: fill focuses the input, which opens the popup via menuTrigger="focus", and clearing the value removes the current-label filter so all options show. Verified field select, operator select, operator re-select and field change all pass in the harness, with and without simulated render churn. Remove the same hazardous clicks from AdvancedSearch.spec.ts and AdvancedSearchSuggestions.spec.ts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): repair ComboBox filtering, cascades and async search — verified against local server Debugged live against a dev server + local backend instead of CI. Five root-caused fixes, each verified by re-running the previously failing Playwright specs (DataContractsSemanticRules DisplayName ×6 + UpdatedOn ×3 and CustomProperties "for table" ×26 now pass locally): 1. combobox.tsx: pass defaultItems to AriaComboBox instead of items on the inner ListBox. With items only on the ListBox, react-aria 1.17 (the app's resolved version — core-components pins 1.16 in its own tree) loses the options' textValue, so any typed filter matches nothing, the popup closes and the input reverts. 2. OMFieldSelect: use item.path (full dotted path) as the option id — item.key is only the leaf segment for nested fields, so setField() was silently ignored and custom-property cascades never advanced. Memoize the mapped items (identity churn rebuilds the RAC collection mid-open) and control inputValue explicitly so app re-renders can't clobber the user's in-progress filter text. 3. OMSelectWidget (async): allowsEmptyCollection — while a fetch is in flight the typed text transiently filters old results to zero and RAC would close the popup for good. 4. multi-select.tsx: chain the consumer's onInputChange instead of dropping it (internal handler is applied after {...props}), and derive the visible options from the live items prop — useListData snapshots initialItems on mount, so async search results never appeared. 5. selectOption helper: press ArrowDown after fill to deterministically (re)open the popup RAC closes while processing the atomic fill; click MultiSelect inputs before filling (their popup opens from a mousedown handler and no chevron overlays them). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): replace remaining antd-era selectors in QB specs Down to 15 CI failures; the query-builder-related ones are stale antd selectors that no longer exist after the widget migration: - DataContractsSemanticRules Version tests (<, <=, >, >=) hung on .ant-input-number-input — OMNumberWidget now renders a core-components Input with data-testid="qb-number-input" (verified locally: 3/3 pass). - CuratedAssets AND/OR tests hung on .ant-switch — OMBooleanWidget renders a react-aria Switch (a label element) — and clicked conjunctions via .group--conjunctions button:has-text(...), which are radio-role toggles now. The other failures in the run (ContextCenter, DataQualityDashboard, TestCaseImportExport, ExploreQuickFilters, PersonaDeletion, Tour, the CustomProperties right-panel scroll) don't touch the query builder. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): datetime widget formats + popup scoping in selectOption Verified locally against a live server (7 CI failures → the QB-related ones reproduced and fixed): - OMDateWidget rendered type="date" for datetime custom properties: derive date/time/datetime-local from the field's configured moment format, convert stored (valueFormat, e.g. "DD-MM-YYYY HH:mm:ss") ↔ native input values with moment, and set step=1 — native time inputs reject seconds at the default 60s step. Verified: Date/DateTime/Time CP "all operators" tests pass locally. - customPropertyAdvancedSearchUtils: convert CP display values to the native ISO shape before filling; datetime values carrying seconds are written through the native value setter because Playwright's fill() rejects seconds on datetime-local inputs regardless of step. - selectOption: scope the popup to its own control via aria-controls — popovers portal to <body> and MultiSelect popups stay open by design, so a stale popup from a previous step could hijack the global [role="listbox"]:visible locator (the CuratedAssets 'Owners' failures). Retry the resolve+click loop while the builder re-renders under it, close the popup after selection so it can't pollute the next step, and tolerate the control disappearing (field selection can morph the rule row). Same scoping for the non-existing-value helper, fixing its strict mode violation when two popups were visible. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): blur-close popups, focus option before Enter, No-data assertion - selectOption: close leftover popups by BLURRING the control instead of pressing Escape — a trace + screenshot proved Escape bubbles to the surrounding antd form/modal (capture-phase handler) and dismisses the whole Add-Contract form. Verified locally: the Contains semantic test passes with blur where Escape closed the form. - Tolerate the control disappearing in the ensure-closed tail (selecting a field morphs the rule row and unmounts the original control). - runRuleGroupTestsWithNonExistingValue: with allowsEmptyCollection the popup stays open and renders a "No data" empty-state row, so assert that instead of toHaveCount(0) which can never pass. - CP utils: react-aria MultiSelect commits the FOCUSED option on Enter, so press ArrowDown first (antd committed the typed text) — enum CP values were silently never selected, producing empty filters. - TEMP diagnostic in the Not_Contains semantic test: dumps the DOM inventory (buttons/rows) right before the Add New Rule click that can't resolve in CI — the same click passes in the Contains test; local runs show the edit form open but the button unattached. Will be removed once CI pinpoints the state. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): make select-family popovers non-modal — aria-hidden leak Root cause of the "element exists but role queries never resolve" failure class (DataContracts Contains/Not_Contains 'Add New Rule', and every getByRole step after a query-builder popup interaction): react-aria modal popovers apply aria-hidden to the entire page outside the overlay (ariaHideOutside). When the popover unmounts abruptly — which the query builder does constantly, since selecting a field or operator morphs the rule row and its widgets — the restore cleanup never runs, leaving the whole app aria-hidden. The page looks normal and CSS queries work, but the accessibility tree is empty, so role-based locators (and assistive tech) see nothing. Diagnosed via an in-test DOM dump that reproduced identically in CI and locally: add-new-rule-btn present in DOM, btnHiddenAncestor=true, 86 aria-hidden elements. Combobox/select popups are semantically non-modal anyway (focus stays in the input), so pass isNonModal — react-aria then never hides the rest of the page. Also removes the temporary diagnostic. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): explicit aria-label on add-condition buttons The CuratedAssets "Complex nested groups" CI failure showed the add-condition button present in the accessibility snapshot as an unnamed button (its img + "Add Condition" text listed as children but the computed accessible name empty — name-from-contents breaks inside RAQB's action markup, consistent with the button-in-button DOM-nesting warnings), so getByRole('button', { name: 'Add Condition' }) could never resolve. Give both addRule renderers an explicit aria-label, which wins accessible name computation regardless of nesting. The JSONLogic variant was icon-only with no label at all — a genuine accessibility gap for screen readers too. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(ui-core): make remaining popovers non-modal — recurring aria-hidden leak The DataContracts semantic tests regressed intermittently with the same signature the select-popover isNonModal fix resolved: an app-level button ('Add New Rule') present in the DOM but unresolvable by role queries for minutes — the accessibility tree hidden by a leaked ariaHideOutside. The select-family popovers were fixed, but Dropdown (e.g. the Add Contract menu), the general-purpose application Popover, and the nav account card popover were still modal. Any of them unmounting abruptly (navigation while open or mid-close) skips the aria-hidden restore and leaves the page invisible to the accessibility tree — intermittent by timing, which matches these tests passing one run and failing the next. Menus and lightweight panels are non-modal per the ARIA patterns anyway. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(querybuilder): fix async dropdown updates, ESLint ring errors, and copyright years - combobox.tsx: switch from defaultItems (uncontrolled) to items (controlled) so callers using setItems() after async fetch see options update in the dropdown; previously React Aria only read defaultItems once at mount and silently ignored subsequent prop changes - OMFieldSelect.tsx: add explicit client-side contains-filter since ComboBox no longer applies a built-in filter when items are controlled - OMDateWidget.tsx: replace forbidden tw:ring-* classes with tw:outline-* equivalents and fix variant order (tw:focus: not focus:tw:) - Update copyright year to 2026 in all PR-modified files to pass licence header CI check (licence-check-and-add enforces the current year) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(querybuilder): complete antd removal from AdvancedSearchUtils Remove remaining antd imports (Checkbox, Radio, Space, Typography, MenuProps) that triggered the Antd + Less Deprecation Guard CI check. Replacements: - Checkbox/Radio → native <input type="checkbox/radio" readOnly> - Space → plain <div> with inline flex/gap style - Typography.Text (ellipsis) → <span className="tw:truncate tw:block"> - Typography.Text (secondary) → <span className="tw:text-secondary"> - MenuProps['items'] return type → local DropdownItem type * fix(test): update DataAssetPickerShell test for non-modal Popover The Popover component now uses isNonModal which removes the underlay element from react-aria-components. Update the click-outside test to use the document-level pointerdown → click event sequence that react-aria uses for non-modal dismiss instead of looking for the underlay data-testid. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(querybuilder): two real bugs from the antd→core migration OMMultiSelectWidget: saved async values invisible The selectedItems sync effect only ran when valueArray changed. When asyncFetch resolves after mount, allItems is populated but the effect never re-runs, so saved IDs cannot be resolved to label objects and the selected chips never appear. Fix: add allItems to the effect deps so it re-syncs whenever the catalogue arrives or changes. OMNumberWidget: decimal input impossible Number("1.") === 1, so the controlled input immediately rounded "1." back to "1", making it impossible to type a decimal point. Fix: keep a local display string and guard external sync with an isFocused ref so intermediate values ("1.", "1e2", etc.) are not clobbered while the user is typing. NaN-producing partials are withheld from setValue until the user completes a valid number. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix unit test * fix lint checks * fix the style * fix the checkstyle * fix(playwright): scope value combobox popup via aria-controls in fillRule [role="listbox"]:visible is a global match that races in CI: the aggregate API response arrives before the popup has rendered, causing exactMatch.count() and partialMatch.count() to both return 0. The code falls through to Enter, which selects nothing (React Aria selects the focused option — nothing is focused) and the rule's value stays empty. Fix by waiting for aria-controls on the combobox input before reading the listbox, using the same toPass({timeout:15000}) retry pattern as selectOption. This eliminates the race without requiring an explicit waitForTimeout. Fixes AdvancedSearch.spec.ts:345 "Verify Group functionality for field Chart with AND operator" and similar rule tests where Chart/slow-loading fields failed intermittently in CI. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * nit * nit * nit * fix(query-builder): stop async value combobox showing the default catalogue instead of the typed search The migrated multi-select value widget could display the unfiltered default owner/entity list while the input held a specific query, so advanced-search tests intermittently failed with "No option matching <value>" and, more importantly, a real user typing an entity outside the first page saw the wrong options and could not select their target. Two races let the eager default ('') fetch win: - The seed effect keyed on the field config, which react-awesome-query-builder rebuilds on every rule re-render. Re-running it mid-interaction did setAsyncItems([]) + loadAsync(''), wiping the options the user had narrowed to. Seed the default exactly once per mount instead (the value widget remounts when the field changes, so a new field still refreshes). - "Latest request wins" was tracked with a monotonic counter, so a late '' request had the highest id and repopulated the list with the default catalogue. Key acceptance on the search string instead: a response may only publish if the user is still searching for that exact string, so a slower or later empty request can never overwrite the typed query's results. This surfaced only under CI load/parallelism (green on an idle box); the fix is robust by construction rather than timing-dependent. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(query-builder): keep the searched value option present by accumulating async results Follow-up to the previous fix: under CI load the value combobox still snapped back to the unfiltered default catalogue while the input held a specific query (verified from the CI trace — the typed search's aggregate DID return the target option, so the server was fine; the frontend overwrote it with a later default '' fetch). Replace the "latest search wins" guard, which a genuinely-last empty request still defeats, with an additive model: accumulate every fetched option in a bounded (500-entry, LRU-evicted), id-keyed map instead of replacing the list on each fetch. A default ('') reload — whether the eager seed or a transient empty value react-aria emits on focus/blur — can now only ADD entries, never drop the option the user searched for. With the list shown unfiltered, the typed option therefore stays selectable regardless of fetch ordering. Robust by construction (the local server is a stale prebuilt bundle, so this class of race only reproduces under CI parallelism); confirmed against the CI network trace that the missing option was present in the server response. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(query-builder): fix waitForResponse pattern and retry-loop debounce reset in fillRule - Remove escapeESReservedCharacters from the aggregate waitForResponse pattern: ES escaping adds backslashes before '-' which encodeURIComponent then turns into %5C, but the actual aggregate URL contains raw hyphens — the mismatch caused the promise to never resolve for any FQN with dashes. - Remove the dropdownInput.fill() call from the toPass retry-loop else branch: each re-fill resets the 300ms asyncFetch debounce; with ~100ms retry intervals the debounce never fired and options never appeared. - Seed OMSelectWidget initial items with a placeholder for the current value so the Select.ComboBox displays something while async fetch is in-flight rather than showing blank. - Add clarifying comment on renderOperator reuse of OMFieldSelect. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * minor fixes * nit * fix lint checks * fix playwright * fix playwright * nit * fix(e2e): wait for ES to index schemas before AdvancedSearch tests run The OMSelectWidget aggregate autocomplete calls the ES aggregate endpoint which requires entities to be indexed. When the test ran immediately after beforeAll created the schemas, ES hadn't finished ingesting them, so the aggregate returned empty buckets and the dropdown never showed the expected option — causing the "Database Schema" field tests to flake on first attempt but pass on retry (by which time ES had caught up). Poll the aggregate endpoint after entity creation and block until both schemas appear in the index before the test body starts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(e2e): retry async search on every attempt in selectOption Two bugs blocked the react-aria migration E2E suite: 1. DataContractsSemanticRules: locators referenced `.ant-select` (removed with the antd migration) — dropped to just `.group--field` and `.rule--operator` so RAQB's own CSS classes are used directly. 2. selectOption async timeout: the old antd implementation waited for a loading-spinner to detach (default 60s action timeout) on every call, which incidentally polled ES until a freshly-created entity was indexed. The new react-aria version fired one `loadAsync` from the initial `fill()` and only retried the _click_, so a slow ES index returned an empty popup for the full 30 s and timed out. Fix: re-fill `optionTitle` at the start of every retry iteration (fires a fresh `onInputChange` → `loadAsync`), raise the inner `click` timeout to 3 000 ms, and raise `toPass` to 60 000 ms to match the old spinner-wait budget. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Revert "fix(e2e): retry async search on every attempt in selectOption" This reverts commit 61001a306a5e95c3735fa9e183e402ba72f2f547. * nit * fix(e2e): drop ES-escape from aggregate waitForResponse URL predicate escapeESReservedCharacters turns dashes into "\-"; encodeURIComponent then encodes that backslash as "%5C-". The actual aggregate URL contains a plain "-" (dashes are safe URL characters and are never percent-encoded by the browser), so the waitForResponse predicate never matched, causing fillRule to hang for the full 30s action timeout on every schema name that contains a dash (e.g. "pw-database-schema-<uuid>"). Fix: use encodeURIComponent(searchData) directly — no ES-escaping needed for a URL-substring match. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(e2e): remove redundant beforeAll ES indexing wait in AdvancedSearch The selectOption helper already retries for up to 30 s with toPass — each retry re-fills the combobox which triggers a fresh aggregate fetch, so the suite self-heals if ES hasn't indexed the schema yet. The beforeAll block added up to 120 s of shard overhead (2 schemas × 60 s worst-case) that timing-baseline.json doesn't capture, pushing chromium-01 past the 1500 s execution budget and timing out the shard. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(e2e): wait for ES to index charts before AdvancedSearch tests run The OMSelectWidget aggregate autocomplete queries Elasticsearch; if the chart entity is not yet indexed the aggregate endpoint returns empty buckets, setItems([]) is called, and the value-picker option never appears. This causes "Verify Group functionality for field Chart with AND operator" to fail consistently when it runs early in the shard before ES has caught up. Add a toPass poll (60s, 2s intervals) in beforeAll that waits for each chart displayName to appear in the ES chart aggregate index — mirroring the existing pattern used for databaseSchema fields. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Revert "fix(e2e): wait for ES to index charts before AdvancedSearch tests run" This reverts commit a038abb58a103caa2691e200b2811128edbdc26f. * fix(playwright): fix three CI failures in migrate-querybuilder-antd-to-core advancedSearch.ts — waitForResponse used escapeESReservedCharacters() before encodeURIComponent(), turning dashes into \- then %5C-, a pattern that never appears in the actual /api/v1/search/aggregate URL. Switched to URL.searchParams.get('value') so the comparison is against the decoded value, matching regardless of how the server percent-encodes the query param. PersonaAIContext.spec.ts — the OMConjs conjunction toggle uses ButtonGroup → AriaToggleButtonGroup → AriaToggleButton, which renders as <button> elements with aria-pressed. Changed getByRole('radio') back to getByRole('button'). The 'radio' selector never matched, causing a 60 s assertion hang on every run. IntakeForm.spec.ts — input.focus() opened the reference-picker ComboBox without the pointer-event chain, leaving it in a state where a subsequent option.click() continuously detached and re-rendered options for the test's full 3-minute (test.slow()) window. Reverted to input.click({ force: true }) which bypasses the layout-shift stability check while still dispatching the pointer events needed to activate the popup correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(playwright): revert advancedSearch.ts waitForResponse change The UI sends ES-escaped values in the aggregate URL (e.g., dashes become \- which encodeURIComponent turns into %5C-), so the original predicate encodeURIComponent(escapeESReservedCharacters(searchData)) correctly matches the actual API URL. The URL.searchParams.get() approach decoded the %5C- back to \- which never equaled the raw searchData, causing waitForResponse to hang on every fillRule call. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * test(e2e): run AdvancedSearch in its own dedicated CI lane AdvancedSearch.spec.ts has timing-sensitive waitForResponse/debounce interactions. Running it interleaved with dozens of other chromium shards creates resource contention that causes the 300 ms asyncFetch debounce to fire late, making options never appear in the listbox. - Exclude AdvancedSearch.spec.ts from the main chromium project (testIgnore) - Add a dedicated `AdvancedSearch` project that matches only that spec, with its own entity-data-setup/teardown dependencies and fullyParallel: true - Register `advanced-search` as a recognised lane in build_playwright_shards.py (1–8 shards in full mode, 20-min budget, 3 workers) so the timing-aware planner distributes describe blocks across shards normally - Add --project=AdvancedSearch to the test-list command in the CI workflow Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(query-builder): stop OMSelectWidget onOpenChange from stealing asyncFetch resolve Select.ComboBox uses menuTrigger="focus", so focusing the input (as part of Playwright fill() or any real click) fires onOpenChange(true) before onInputChange. The previous handler called loadAsync('') there, which called asyncFetch('') and set pendingResolve in the shared autocomplete closure. On CI runners under load the 300ms debounce for the '' fetch fires before fill() delivers the typed value. When the '' API response arrives it finds pendingResolve pointing to resolve_searchData — calling it with the default bucket list. The actual search API fires and responds correctly, but pendingResolve is already null, so it is discarded. Result: the listbox shows default options even though the search API call returned the right match; the Playwright toPass times out after 15 s. Fix: remove loadAsync('') from onOpenChange. The useEffect already seeds the default catalogue once on mount and caches it in defaultOptionsRef. The onOpenChange handler restores those cached defaults synchronously (fast, no asyncFetch involvement) so the popup is not empty on reopen. This eliminates all interference with the asyncFetch pendingResolve chain. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix playwright failure * fix persona ai context failure * fix glossary failure * fix unit test failure * fix(e2e): drop dead .rule--value input fill that hangs Complex nested groups `Complex nested groups` set a Description Status / Is rule (an enum value) and then did: await ruleLocator2.locator('.rule--value input').fill('production'); That line was always a no-op: the value is already `Incomplete` from the preceding selectOption, and the typed text was discarded on blur. It only resolved because antd's Select rendered an inner `input.ant-select-selection-search-input`. After the antd -> core migration the value widget is a react-aria Select, whose `.rule--value` contains a trigger `<button>` and a visually hidden `<select>` — no `<input>` at all. So `fill()` waits for a locator that can never resolve and burns the full 180s test timeout (x2 with CI retries, each capturing trace and video of a stuck page). This is what pushed the chromium-02 shard past its 1500s budget: the shard was SIGTERM'd (exit 124) with 129/131 tests passed, `Complex nested groups` never reporting and `Placeholder validation` never starting behind it in the same worker queue. Verified locally against a build of this branch served from the container: CuratedAssets.spec.ts now runs 26/26 green in 3.2m. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix advanced search css style * nit * fix flacky playwright * Added test id for collate side qb * nit * fix lint checks * fix lint failure * fix playwright failure * fix test case library related failure * fix checkstyle * Reverted core component changed * fix the lint checks * fix lint checks --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Rohit Jain <60229265+Rohit0301@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com> Co-authored-by: Anujkumar Yadav <anujf0510@gmail.com> Co-authored-by: Tim Hennekey <tim.hennekey@gmail.com> Co-authored-by: anuj-kumary <anujkumar.y@deuexsolutions.com>
…on install (open-metadata#32150) * build(ui): track dereferenced JSON schemas instead of regenerating on install `src/jsons/**` was gitignored and regenerated by `parse-schema` on every `yarn install` (via `postinstall` -> `build-check`). Three files had been force-added past that ignore rule (open-metadata#29964, open-metadata#32122). Once tracked, every CI run regenerated them, and because the committed content did not match the generator's output byte-for-byte the working tree came up dirty before any linting ran. ui-checkstyle gates on `git status --porcelain`, so it failed on main for every PR regardless of what that PR changed. Commit the generated output instead, the same way `src/generated/` TypeScript types are handled: - drop the `src/jsons/*` ignore rule and track all 279 generated files - remove `parse-schema` from `build-check`, so `yarn install` and the Maven build no longer rewrite tracked files; `yarn parse-schema` stays available for manual regeneration - exclude `src/jsons/` from Prettier, the licence-header check, and ESLint (the ESLint ignore is widened from `src/jsons/connectionSchemas/**`), and from the changed-file list in `ui-checkstyle-changed.sh`, so no formatter can reintroduce drift between the committed files and generator output Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * ci(ui): auto-update dereferenced JSON schemas alongside generated types `src/jsons/**` is now tracked, so it needs the same drift protection `src/generated/**` already has. typescript-type-generation.yml: run `yarn parse-schema` next to `json2ts-generate-all.sh`, stage `src/jsons/` with `src/generated/`, and trigger on changes to `src/jsons/**` and `parseSchemas.js`. Same behaviour as before for both cases: auto-commit on same-repo PRs, fail with instructions on fork PRs. ui-checkstyle.yml: add `src/jsons/**` to `files_ignore` so generated schemas are never passed to ESLint/Prettier/organise-imports. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(ui): fail parse-schema loudly instead of emitting partial output parseSchemas.js caught every error and only logged it, so the process exited 0 no matter how many schemas failed to generate. That was harmless while src/jsons was gitignored and rebuilt on every install, but the previous commit tracks that output — and main() clears each destination directory before regenerating it. A transient failure (an unresolvable $ref, a read error) now leaves the schema *missing*, the auto-update workflow reads that as a deletion, and on a same-repo PR the bot force-pushes a commit removing a tracked file, with no CI signal. Collect failures instead of swallowing them and set a non-zero exit code, so the workflow stops before its "Check for changes" step. Errors are still collected rather than thrown, so one bad schema does not mask the others: the run reports every failure at once. Verified by injecting an unresolvable $ref into kafkaConnection.json — exit 1, six schemas reported, and `git status` confirmed those six would otherwise have been staged as deletions. Restoring the schema returns the run to exit 0 with byte-identical output. --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>



Describe your changes:
Screen.Recording.2026-07-13.at.3.09.06.PM.mov
Fixes 4985
I worked on wrapping the ContextCenter header components (
ContextCenterHeader,ArticleDetailHeader,ArticleVersionHeader) with the newHeaderShellreusable component, because the previous pattern used a rawCard+getHeaderCardClassName()to apply embedded/AI-mode styling (gradient background), which was inconsistent with the latest design system.HeaderShell'svariant="gradient"prop now handles this automatically, aligning the background treatment across all context center page headers in embedded mode.Type of change:
High-level design:
Each header component previously had its own
<Card className={classNames(..., headerCardClassName)}>wrapper. This is replaced with<HeaderShell>which accepts structured slots (title,subtitle,badge,meta,actions,footer,breadcrumb,leading) and applies the gradient card styling viavariant={isEmbedded ? 'gradient' : 'flat'}. ThegetHeaderCardClassName()call is removed from all three components.ArticleDetailHeaderdistributes its domain/owner/editors row intometa, action buttons intoactions, and the tab strip intofooter;className="tw:pb-0! tw:pr-3"keeps tabs flush at the card bottom.Tests:
Use cases covered
Unit tests
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
Visual inspection of all three header components in normal and embedded mode.
UI screen recording / screenshots:
Not applicable.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Summary by Gitar
Cardimplementations inArticleDetailHeader,ArticleVersionHeader, andContextCenterHeaderwith the standardizedHeaderShellcomponent.WidgetActionButtonicons and colors, switching totertiarycolor for secondary actions and adding icons likelist-conversationandrequest-update.show-property-pluralto all language JSON files to support updated UI labels.This will update automatically on new commits.
Greptile Summary
This PR refactors the Context Center headers to use the shared
HeaderShelllayout. The main changes are:HeaderShell.show-property-plurallocale key across languages.Confidence Score: 5/5
This looks safe to merge.
Important Files Changed
Reviews (6): Last reviewed commit: "fixed unit test" | Re-trigger Greptile
Context used (3)