You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No linked issue yet. This addresses the 2.1 release-testing feedback on Custom Properties (Notion: "Custom Properties UI", Data Governance).
I fixed the issues testers reported across the classic settings page, the AI-mode settings panel and the entity Custom Properties tab, because the feature is marked "Do Not Ship" until they're resolved.
Type of change:
Bug fix
High-level design:
Settings (AI + classic)
One fetch per entity type.CustomPropertiesPanel now owns the type: it fetches once and passes it down. Previously three requests were made per selection: the landing card, the panel, then the detail page. The landing page only reports the FQN, and the detail page reports deletes back up through onEntityTypeChange. Classic's add drawer takes typeDetail from the page instead of fetching it again.
The URL hash drives the add/edit view.#custom-properties/<type>/add-property and …/edit-property/<name> now open the form directly. They are gated on the same canCreate / canEditAll flags as the buttons; the panel fetches the Type permission with the type and passes it to the detail page. A link the user cannot act on, or one to a missing property, falls back to the list and corrects the hash. After a save, the panel refetches once and ignores the response if the user has moved on.
Form checks (shared CustomPropertyFormFields, so both modes get them):
names that already exist are rejected, ignoring case;
Format is required for date, dateTime and time (the backend already rejects these without one);
the type picker says "SQL Query".
List and delete:
the hidden +N config values show in a tooltip;
classic's delete dialog now shows the display name with a destructive "Delete" button;
both modes warn that the property's values will be removed from assets.
Copy: the Personas subtitle is fixed. Entity-type labels are all plural, and the AI add button reads "Create" and stays disabled until the form is valid.
Entity tab
Time picker (core): a new onIncompleteChange prop. The Date & Time editor blocks Save on a half-typed time instead of saving it as midnight.
Date picker (core): the popover is a flex column, so the calendar scrolls and the Cancel/Apply row always stays visible.
Enum: a single-select enum now uses a single-select combo box.
Integer: whole numbers only, within ±Number.MAX_SAFE_INTEGER. The error shows inline and the dialog stays open.
Time Interval: manual entry accepts any non-negative epoch ms, not just 13 digits.
Table: a table with no rows removes the key from extension. The fix is in the shared builder, so it covers every editor.
Overview widget: the name gets the full row width. The type badge was replaced by the icon tile, which has a tooltip, and the name has one too. "Not set" now reads "No value yet", matching the tab.
Markdown: I removed the "Markdown supported" hint. The editor is the shared rich-text editor, which stores HTML like every description field.
Not in this PR
Stale-data save is not addressed. Saving on a page whose entity changed elsewhere still fails with the raw server error, because each page builds its patch from its own copy (84 onUpdate callers). A message-mapping fix was tried and dropped.
Error toasts still don't auto-dismiss; that is global toast behaviour.
Case-insensitive name uniqueness is enforced in the UI only. TypeRepository still compares names case-sensitively. Recorded in ADR:2026-11-02-custom-property-names-are-unique-per-entity-type-ignoring-case-in-the-ui.
Collate counterpart: the AI chat entity card never requested extension, so its Custom Properties tab was empty. That fix is on Collate branch karanh37/cp-chat-widget-extension, with no PR yet.
Tests:
Use cases covered
AI settings:
choosing an entity type fetches it once;
add and edit links open their forms;
an edit link to a missing property falls back to the list;
an add link without Create, or an edit link without EditAll, falls back to the list;
adding a property refetches the type once.
Add form rejects PRIORITY when priority exists, and requires Format for a Date property.
Date & Time editor blocks Save on a half-typed time.
Integer editor rejects 1.5, 9007199254740993 and -42 is accepted.
Time Interval accepts 946684800000.
An empty table value is dropped from extension.
Unit tests
I added unit tests for the new/changed logic.
App Jest: 571 tests in 41 suites pass, covering:
tabs/custom-properties
Settings/CustomProperty
pages/CustomPropertiesPageV1
common/CustomPropertyTable
Explore/.../CustomPropertiesSection
Profile/customProperties
CustomProperty.utils.test.ts
After the self-review fixes I re-ran the custom-properties, CustomPropertiesWidget and Settings/CustomProperty suites: 258/258 pass.
Core (vitest): time-picker and date-picker, 16/16 pass.
I didn't measure coverage percentages.
These ran against this branch's core build (moduleNameMapper pointing at the worktree dist/). The shared node_modules otherwise resolves an older core build that lacks ConfirmPopover and onIncompleteChange.
Backend integration tests
Not applicable (no backend changes).
Ingestion integration tests
Not applicable (no ingestion changes).
Playwright (UI) tests
Not run yet. I'll run the impacted specs before marking this ready.
Updated:
e2e/Pages/CustomProperties.spec.ts ("SQL Query")
constant/glossaryImportExport.ts ("SQL Query")
utils/customProperty.ts ("No value yet")
Manual testing performed
Not yet. Still to check in the browser:
the date picker inside the property edit modal at 1440x900;
the AI settings deep links;
the Overview widget at 1440px.
UI screen recording:
Not applicable. These are fixes from release testing, not a feature.
Settings (AI + classic): fetch the entity type once, open add/edit forms
from deep links, reject duplicate names ignoring case, require a format for
date/time types, show +N config values in a tooltip, make the delete
confirmation destructive with the display name and a values-removed
warning, fix the Personas subtitle, SQL Query label and plural entity type
labels.
Entity tab: block saving an incomplete time, keep the date picker footer
visible, single-select enum picker, integer range/whole-number validation,
accept any epoch ms for time intervals, drop empty table values, give the
widget name room, consistent empty state, readable stale-patch error.
This PR cannot be merged until the following are addressed on its linked issue:
No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.
Maintainers can bypass this check by adding the skip-pr-checks label.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved async race conditions can overwrite the current entity state or navigate back to a previously selected type, while incorrect ComboBox props prevent enum selection changes from being saved.
Addresses Custom Properties release-testing feedback across classic settings, AI-mode settings, and entity editors, with shared component fixes and localized messaging.
Changes:
Centralizes entity-type fetching and makes add/edit views follow URL hashes.
Strengthens property validation and improves enum, date/time, integer, and table editing.
Updates deletion warnings, tooltips, empty states, and regression tests.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The enum editor uses incorrect ComboBox selection props, so existing values are not initialized and selecting or clearing an option does not update what Save submits.
The new +N tooltip wrapper is keyboard-focusable, but core Tooltip gives its generated button tw:outline-hidden; this class adds no replacement focus indicator. Tabbing to the hidden-values control therefore gives no visible indication of focus. Add a focus-visible outline, as the widget tooltip triggers do.
Ignore deletion results for entities no longer selected
If a Table property deletion finishes after the user switches to Dashboards, this unguarded setter replaces the active type with the old Table response. The hash still names Dashboards, so the panel falls back to the landing page without refetching. Apply the update only when its FQN matches the active selection, and cover switching types during a pending delete with a regression test.
If a Tables deletion finishes after hash navigation has loaded Topics, this parent setter replaces Topics with the stale Tables response. The type/hash mismatch then renders the landing page, and selecting Topics again does not reload it because resolvedFqnRef still equals topic. Guard the update against the active FQN, as handleSaved does, and add a regression test that navigates while a delete is pending.
This PR touched specs or UI source that changed the source→spec routing map. I regenerated .github/playwright/impact-map.generated.json and pushed the diff to this branch.
- source entries: 1024 → 1028
- 4 added, 0 removed, 37 changed spec-list
New source→spec entries:
openmetadata-ui/src/main/resources/ui/src/components/Database/SchemaTable/ColumnCustomPropertyCell.tsx
openmetadata-ui/src/main/resources/ui/src/components/common/Form/JSONSchema/JsonSchemaWidgets/LdapRoleMappingWidget/LdapRoleMappingWidget.tsx
openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/components/AccessTokenRow.tsx
openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/access-control/AccessControlRulesTable.tsx
Entries whose spec list changed:
openmetadata-ui/src/main/resources/ui/playwright/e2e/fixtures/pages.ts
openmetadata-ui/src/main/resources/ui/playwright/support/entity/Entity.interface.ts
openmetadata-ui/src/main/resources/ui/playwright/support/entity/TableClass.ts
openmetadata-ui/src/main/resources/ui/playwright/support/fixtures/isolatedUser.ts
openmetadata-ui/src/main/resources/ui/playwright/utils/aiProfile.ts
openmetadata-ui/src/main/resources/ui/playwright/utils/apiResponse.ts
openmetadata-ui/src/main/resources/ui/playwright/utils/common.ts
openmetadata-ui/src/main/resources/ui/playwright/utils/customProperty.ts
openmetadata-ui/src/main/resources/ui/playwright/utils/dragDrop.ts
openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts
… and 27 more
What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing getByTestId strings. Hand-authored routing in impact-map.json always wins on conflict.
What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit:
python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit # or a separate commit
🟡 Medium risk · Custom-property editor and persistence changes could alter asset metadata, including dropping empty table values from extension.
Fixes Custom Properties UI feedback from 2.1 release testing across classic settings, the AI settings panel, and the entity Custom Properties tab, including single fetch per entity type, permission-gated add/edit hash deep links, case-insensitive name checks, and Format validation for date/time properties. Both resolved findings were addressed by recording the case-insensitive name rule and the hash-link permission gating in decision records. No open issues remain.
✅ 2 closed✅ Quality: Case-insensitive property name uniqueness has no decision record
📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/custom-properties/CustomPropertyFormFields.tsx:163-169📄 openmetadata-ui/src/main/resources/ui/src/components/Settings/CustomProperty/AddCustomProperty/AddCustomProperty.tsx:95-98📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/custom-properties/CustomPropertiesAddPage.tsx:51-54
The PR adds a rule that a new custom property name is rejected when it matches an existing name ignoring case (CustomPropertyFormFields.tsxvalidate, wired from AddCustomProperty and CustomPropertiesAddPage). The description says this is "enforced in the UI only" and that "TypeRepository still compares names case-sensitively", so the UI and the backend now follow different naming rules. Nothing in docs/decisions/ states this rule, and the repo squash-merges, so the explanation will be lost. Add a record that says something like: "Custom property names must be unique per entity type ignoring case; the UI enforces this, and the backend (TypeRepository) compares case-sensitively until it is aligned."
✅ Quality: Hash deep links skipping the permission check have no record
📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/custom-properties/CustomPropertiesPanel.tsx:111-125 CustomPropertiesPanel now builds the view from the hash, so #custom-properties/<type>/add-property and /edit-property/<name> open the add and edit forms directly. These links bypass the canCreate/canEditAll gating that controls the buttons in CustomPropertiesDetailPage. The description says this is deliberate: the deep links "skip the Create/EditAll permission check, and the server still enforces it with a 403 toast". That ordering and authorization rule exists nowhere in the tree. Add a record that says something like: "Custom-property add/edit hash links open the form without a client-side permission check; authorization is enforced only by the server, which returns 403." Alternatively, gate the add and edit subViews on the fetched permission.
⚠️ UI Checkstyle passed — lint findings in changed files
🔍 ESLint findings in this PR's files — 0 error(s), 2 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), 2 warning(s) across 1 changed file(s).
…ation tests with the current UI (#37008)
The delete confirmation names a custom property by its display name since
#36808, and the edit step upper-cases that display name, so match the name
case-insensitively. The AI-mode Navigation card opens the AI sidebar editor
since #36862, so the unsaved-changes tests toggle ai-sidebar-switch-explore.
Main (#36808) labels the type "SQL Query" and names the property in the
delete confirmation by its display name inside a warning sentence.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…arch specs to browser tests; run only affected browser tests (#36198)
* test(ui): add Vitest browser-mode UI integration tests and migrate Pagination.spec.ts
* test(ui): unmount before resetting MSW handlers; keep coverage on failure
vitest-browser-react unmounts in the next test's beforeEach, so the global
afterEach reset handlers and the URL under a still-mounted page, which then
refetched and got wrong-shaped responses (unhandled paging/permission errors).
Also write lcov when a test fails so one flake can't drop Sonar coverage.
* ci(ui): POC workflow for Vitest browser tests with coverage comment and stability runs
Runs the browser suite with istanbul coverage and posts a Jest-style coverage
and JUnit comment, plus five shuffled no-retry runs whose failures are
summarized in a second comment. Drops the duplicate patch file.
* test(ui): mock approval-workflow endpoints main added; keep CI timings on failure
main now calls /metadata/types/workflows/approvalEnforcedEntityTypes and
/changeRequests from entity pages, which the strict unmocked-API check caught.
The workflow now records wall time and uploads screenshots even when tests fail.
* test(ui): entity-page harness for browser tests and the migratedTo marker
Adds a Data Steward persona built from the seeded policies (server-accurate
ViewAll/EditAll expansion and notAllow), an entity server that applies the
page's JSON patches, a search fixture keyed by index alias, and the first
migrated flow: owners add/replace/clear on the table page. Drops the
AntDConfigProvider main removed. migratedTo.browser/javaIT tags Playwright
tests whose coverage moved, with the replacement in an annotation.
* test(ui): migrate EntityDataSteward table tests to browser mode
* test(ui): run the EntityDataSteward browser tests for all 15 entity types
* test(playwright): mark EntityDataSteward tests migrated to browser mode
* test(ui): split EntityDataSteward browser tests into one file per entity type
Vitest runs a file in one worker, so the 195 cases ran serially (6m18s
locally). The flows now live in entityDataSteward.contract.tsx and each
entity type has a thin file, so workers run types in parallel (4m25s on
3 workers). The Playwright marker points at the new files.
* test(ui): mark Playwright tests covered by Java ITs with migratedTo.javaIT
* test(ui): drop AntDConfigProvider from the browser-test harness
main removed it with the antd Form/Select/Input migration (#35509); the app
no longer mounts it.
* test(ui): speed up browser tests: short steward schema, shared page per worker
The Data Steward flows edit only the first column, yet the Table page
rendered 50 of 120 columns on every re-render (~2x per test). Serving 15
columns and reusing each worker's page across files (isolate: false, so the
app loads once per worker instead of once per file) takes the entity matrix
from 4m25s to 2m01s locally; the whole suite passes shuffled with it.
* test(ui): migrate EntityDataConsumer flows to browser tests
Shares the entity configs and steps with the Data Steward contract
(entityMatrix.ts) and adds a DATA_CONSUMER persona whose noOwner()/isOwner()
rules are evaluated against the entity's owners, as the server does.
* test(playwright): mark EntityDataConsumer tests migrated to browser tests
* fix(ui): cancel Searchbar's pending debounced search on unmount
Closing a picker within typingInterval of typing still fired the search for
a list that was gone (a wasted request and a state update after unmount).
The browser tests surfaced it as a stray /search/query in the next test.
* test(ui): name the index and query of an unmocked API call
A stray search is then traceable to the picker that sent it.
* fix(ui): cancel Searchbar's pending search on unmount only
The previous cleanup also ran whenever the debounce was recreated, i.e.
whenever the parent passed a new onSearch, so a search typed during such a
re-render was silently dropped (pagination search tests caught it on CI).
Keep the latest debounce in a ref and cancel it from an unmount-only effect.
* test(ui): give the instrumented coverage run a 30 s test timeout
Istanbul slows every test; SchemaTable's Next/Previous test passed in all
five uninstrumented runs but crossed 15 s under coverage. The strict 15 s
limit stays for test:ui:run, which the stability runs use.
* ci(ui): cache Playwright Chromium and skip its apt deps in browser-test setup
A stability run timed out at 30 min after its runner spent ~10 min on
playwright install --with-deps fetching fonts from a slow apt mirror. The
runner image already has headless Chromium's libraries; cache the browser
per Playwright version.
* test(ui): migrate ServiceEntity flows to browser tests
* test(playwright): mark ServiceEntity tests migrated to browser tests and Java ITs
* test(ui): retry announcement card actions closed by a late refetch
* ci(ui): shard the browser-test coverage and stability runs across 3 runners
One runner took ~10 min for the 510-test suite. Coverage shards write blob
reports that a report job merges (vitest --merge-reports --coverage) into the
single summary and JUnit file the PR comment uses; each shuffled stability
run is split the same way and the report sums its shards.
* ci(ui): install the ANTLR CLI from a cached pinned jar in browser-test setup
make install_antlr_cli tries apt first, which took 9-10 min on several
runners (each shard paid it). Use the Makefile's pinned 4.9.2 jar and
checksum, cached, and put it on PATH.
* test(ui): migrate Entity header, announcement and delete flows to browser tests
* test(ui): allow 30 s per browser test for a page's cold first load
TableVersionColumns failed once in 15 shuffled shard runs: its page took
over 15 s to render on its first load in that worker (isolate:false loads
a page's module graph once per worker). Coverage runs get 45 s.
* test(ui): confirm each tag and data-product pick before saving
A picker re-renders its options when its search lands. pickTag waited for
any earlier query with the same term, so a repeat toggle could click while
this search re-rendered the tree, and the page saved without the tag
(ServiceEntity.PipelineService tags). The data product picker never waited
for its search, so a removal click could be lost the same way
(EntityAdmin.Worksheet domain flow).
Each pick now waits for the search sent after its own keystrokes, then
clicks the option until the DOM shows the wanted state (tree data-selected,
menu aria-checked) before Update; the data product save also waits for its
PATCH.
Also shares the tag/glossary pickers, a column read and search endpoint on
the column fixture, data model columns backed by the entity (row PUTs and
panel PATCHes reach the same columns), and a second child per fixture, for
the column panel tests.
* test(ui): migrate Entity column detail panel and child-table flows to browser tests
* test(ui): migrate Entity Table tab flows to browser tests
* test(playwright): mark Entity tests migrated to browser tests and Java ITs
* test(ui): wait for the team owner search so it cannot land in the next test
The team picker's debounced search could fire after the owner flow ended
and reach the next test in the same worker as an unmocked call
("GET /search/query?index=team&q=PW Team 2" failing PipelineTasks and
SchemaTable under --sequence.shuffle). Wait for it like the user picker.
* test(ui): wait for the glossary picker's search and pick tags and terms by intent
The glossary picker read a term's selected state before its own search had
re-rendered the tree, so on a slow (coverage) run it could 'confirm' a state
that was already true and save nothing: PW_Term_1 stayed after its removal.
Wait until the search has filtered the tree, and let the add/update/remove
helpers pass the wanted state instead of inferring it from the DOM. The tag
picker's search wait gets a 10 s ceiling instead of expect.poll's 1 s.
* test(ui): re-click a picker trigger until the picker opens
A column panel re-rendering under the click dropped it, so the glossary
picker never opened (EntityColumnPanel.Pipeline, once in 15 shard runs).
Click until the picker's search box shows, as the Playwright helpers do.
The owner search wait gets the same 10 s ceiling as the others.
* ci(ui): retry yarn install in browser-test setup
A shard failed before running a test because the registry answered 502.
* test(ui): open the description editor through openPicker; give re-clicks a grace period
The DashboardDataModel column panel's description editor never opened once
on CI: the click was lost to a re-render. saveDescription now takes the
trigger and clicks it until the editor shows. openPicker waits 3 s before
re-clicking, so a picker that is merely slow to open is not closed again,
and polls the DOM instead of catching a failed expect.element (a caught
browser assertion still fails the test).
* test(ui): give expect.poll and expect.element a 10 s default in browser tests
A StorageService tag test failed once in 15 shard runs 2.5 s in: the
1 s default poll checked the server before the page's tag PATCH landed on a
busy runner. A condition that never comes true still fails.
* test(ui): migrate CustomProperties flows to browser tests
* test(playwright): mark CustomProperties tests migrated to browser tests
* test(ui): migrate AdvancedSearch query builder flows to browser tests
* test(playwright): mark AdvancedSearch tests migrated to browser tests
* test(ui): let a newly added advanced search rule settle before filling it
Under a shuffled run the second group's rule sometimes kept the default
Owners field while its select showed the picked one. Wait for the new rule
to show its default field, and refill a rule whose field reverted.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): fix browser test races seen under coverage
Count Explore searches from before the quick filter pick, render Explore
once per custom property search test, and give a cold first load of the
settings and Explore pages 90 s under istanbul.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): run the browser suite on 5 shards, 3 shuffled stability runs
The suite grew to ~1,060 tests with CustomProperties and AdvancedSearch;
three shards ran past 10 minutes each. Five shards keep each job short,
and three shuffled runs (15 jobs) keep the total near 20 jobs per push.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(playwright): mark specs covered by the new Java ITs
Search RBAC (asset, column, explore and type counts), API collection
owner inheritance, rename consolidation for data products, tags and
glossary terms, approve/reject after a glossary term move, task
resolution on every entity type and the 16-type custom property
contract now carry migratedTo.javaIT markers.
Delete tests split to BaseEntityIT#delete_async_soft_delete, which
exercises the async endpoint the UI calls, then restores; Database
gains a marker and Database Schema switches to it. Table and Database
Service stay the real-server delete flows.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* fix(ui): show the held field when a query builder Field box is left unpicked
Typing a field name filters the selected field out of the Field combobox.
Left without a pick (blur or Escape), React Aria commits the selection it
can no longer find as null, and OMFieldSelect ignored null, so the box kept
the typed text: it showed "Name" while the rule still filtered on Owners and
the search went out on Owners. A browser test that misses the option click
under load hit exactly this (the advanced search "two conditions as a group"
flake). Reset the box to the selected field's label on that commit.
The browser helpers now leave the box after picking, so it shows what the
rule holds rather than the typed filter, and pick again if a click missed.
That replaces the earlier settle-wait and fillRule retry, whose premise (a
new rule resetting its field) did not hold up: instrumented runs showed the
pick never reached the rule.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): scale suite-level time limits under coverage
A describe-level { timeout } overrides the CLI --testTimeout, so the 45 s
coverage limit never reached suites that set their own (60-150 s), while
istanbul made their cold first page load several times slower:
CustomPropertyCards' first test took 63 s on a coverage shard (5-8 s
uninstrumented). suiteTimeout(ms) doubles those limits under --coverage.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* fix(ui-core): keep a staged TreeSelect pick across an equal value
An entity refetch rebuilds the tags array the glossary and tag pickers
receive; TreeSelect resynced on value identity and discarded the staged
draft, so Apply saved nothing. Resync on the selected ids instead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): drop the browser-test stability runs
The shuffled no-retry runs showed the suite stable; the workflow now runs
the browser tests once, with coverage, on UI and core-component changes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): drop the browser-test stability runs
The shuffled no-retry runs showed the suite stable; the workflow now runs
the sharded browser tests once, with merged coverage, on UI and
core-component changes (and on changes to its setup action).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(playwright): keep migrated pagination tests, marked @migrated-browser
The 35 Pagination E2E tests covered by browser tests keep running, tagged
with their replacement, until the browser tests are validated and
PaginationIT walks cursors for every listed entity type. Records the
layering rule as a decision.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): keep browser-test failure handling when the comment cannot post
Skips the coverage comment on fork PRs and lets it fail without failing
the job; formats three browser-test files.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): reset browser-test state even when a request never settles
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* style(ui): organise imports and format migrated specs and browser tests
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): run only the browser tests a pull request affects
The full run on main records which source files each browser test file
executes (coverage counters, src/test/browser/impact.ts) and keeps the map
in the Actions cache. A pull request selects the test files that executed
its changed code, plus the tests reaching changed helpers, direct imports
of executed files, and changed en-us.json keys. A missing map, or a change
to test setup, configs, dependencies or core components, runs everything.
The static import graph cannot do this alone: lazy imports tie ~1,000
modules into one cycle (openmetadata-collate#7947).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): record the impact map on every full browser-test run
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): keep each shard's impact records when merging the map
Shards name their record file after the process id, which repeats across
runners; merged into one folder they overwrote each other (104 of 130 test
files mapped).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* docs(ui): drop an internal ticket reference from the browser-test selection notes
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): re-click the column panel's Data Quality tab if a re-render drops it
CI screenshot showed the panel still on Overview after the click.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): scale every cold-load wait for coverage runs
A coverage run roughly doubles a cold page load, but fixed 60-90 s element
and test limits did not scale with it; the impact-analysis test timed out
with the lineage tab still loading. scaled(ms) applies the same factor as
suiteTimeout.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* docs(agents): say which UI test layer a check belongs in
A path-scoped rule for browser tests and Playwright specs: pick the layer
(Jest, browser test, Java IT, Playwright journey), write a browser test
with the shared fixtures, and tag a moved Playwright test instead of
deleting it. The Playwright rule and test-enforcement skill point to it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): run the full browser suite in the merge queue; report changed-code coverage
The merge queue now runs every browser test file (when the queued change
touches the UI), so a selection miss cannot reach main, and its passing
run publishes the impact map as an artifact pull requests download (queue
caches are not readable from pull requests). Push-to-main runs go.
The PR comment reports what ran and why, the result, and how many of the
changed lines the tests that ran executed, instead of an overall coverage
percentage that only reflects whichever tests were selected.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* chore(ui): ignore browser-test report outputs
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): mock main's new app-shell calls; follow its standard page sizes
Main added GET /domains/styles and /ontologyConcepts/boundTo calls to
every entity page, and moved list pages to 15/25/50 (#35288); the
browser tests now answer both calls and read PAGE_SIZE_BASE.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): import PAGE_SIZE_BASE in the pagination contract
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* style(ui): format two browser tests' imports
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* style(ui): format two tagged Playwright specs
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): let renderApp take a distribution's router and providers
Collate mounts its own router (Collate routes, then AuthenticatedAppRouter)
and adds a provider; with these options its renderApp reuses the same
provider stack instead of repeating it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): match the Explore panel's renamed Custom properties tab
Main renamed the right panel tab from "Custom property" to "Custom
properties"; the custom-property value tests clicked the old name.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* chore(playwright): auto-refresh impact-map.generated.json
* test(ui): follow main's custom-property settings changes
Main (#36808) labels the type "SQL Query" and names the property in the
delete confirmation by its display name inside a warning sentence.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* chore(playwright): auto-refresh impact-map.generated.json
* ci(ui): run browser tests on ubuntu-24.04 with read-only permissions
ubuntu-latest moved to 26.04, which Playwright 1.57 cannot install
Chromium on; main's Playwright workflows pin 24.04 too. Main's PR
workflow security check requires read-only permissions on pull-request
jobs, so the results go to the job summary instead of a PR comment.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): pull requests only restore browser-test caches; refresh the impact map
Main's CI check forbids cache saves from pull-request jobs; the setup
action restores Chromium and the ANTLR CLI and saves them only outside
pull requests.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* style(ui): format MetricSearch.spec.ts
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): serve a topic's schema fields through the columns API
Main pages topic schema fields from /topics/name/{fqn}/columns and saves
field edits with PUT /columns/name/{fqn} (#37862); the topic page tests
now serve the fields that way, held inside the topic like a data model's
columns.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): treat core components as a library for browser-test selection
A core-components change no longer runs every browser test. It runs core's
own tests and build in a new core components job; until now no CI ran
core's Vitest suite at all. Six tag tests had rotted unnoticed: main made a
badge's tooltip trigger a non-focusable span (no nested buttons), and the
tests still expected a button.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): pagination search checks the rows it shows; drop unused Sonar path
Search hits now come back in a different order from the list, and the
contract asserts the visible rows after search, Next and reload, so a page
that sends the right request but keeps showing old rows fails. Sonar never
receives browser coverage yet, so its lcov path is dropped. The agent rule
names only helpers that exist on this branch.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* docs(agents): name the browser-test helpers this branch adds
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): wait for network idle, not fixed sleeps, in the pagination contract
settle() slept 300 ms. The contract now waits until MSW has nothing in
flight and no new request for a short quiet window, which is what a
request count needs to be final; render waits poll for the row.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): share the network-idle wait as src/test/browser/network.ts
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): wait for network idle instead of fixed sleeps in setup and advanced search
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(ui): address review on the browser-test setup
- Data Models and Stored Procedures: their browser tests are pinned failing
by a product bug (#38295), so their Playwright tests stay untagged;
double fetch filed as #38296. Migration doc counts and rows updated.
- Decision record is Proposed until the team signs off.
- No Sonar claims (it does not read browser coverage yet); no unused JUnit.
- The workflow also runs on setup-action changes; the setup action caches
Chromium and the ANTLR CLI.
- setup.ts resets the app-wide zustand stores between tests.
- networkIdle counts /api requests only and notes its quiet-window limit.
- Screenshot comparison runs on Linux only (its baseline's platform).
- Contract: two-page assumption checked, empty-record guard, isListPage
shared, search mock scope documented; msw resolutions dropped.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Address review on browser-test migration and selection
- SearchBar: one debounced search per typingInterval reading the latest
onSearch, so a rerender then unmount leaves no old timer running.
- TreeSelect: resync on the selected nodes' content (id, label, data), so a
renamed selection updates while an equal rebuilt value keeps the draft.
- Selection: a changed screenshot baseline runs its test, global styles run
everything, and a deleted source file still selects its tests.
- Workflow: manual runs always run in full; a run that selects nothing
still updates the PR comment with why.
- Tests: no as-unknown-as casts (typed EntityLike children, generic column
fixtures); setup.ts store reset and the Bots fixture now type-check.
- pickOption keeps its confirm-then-repick, documented as the one sanctioned
re-attempt, and the rule now says when that is allowed.
- Decision record for the selection policy.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* style(ui): fix import formatting in entityMatrix.ts
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(ui): run the full browser suite in the queue for core changes; fail when selection fails
A core-only pull request still runs core's own tests, but the merge queue
now runs every browser test for it, so a core change that breaks the app
cannot reach main. If test selection fails, the report check fails instead
of being skipped (a skipped required check passes).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
safe to testAdd this label to run secure Github workflows on PRsUIUI specific issues
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes:
No linked issue yet. This addresses the 2.1 release-testing feedback on Custom Properties (Notion: "Custom Properties UI", Data Governance).
I fixed the issues testers reported across the classic settings page, the AI-mode settings panel and the entity Custom Properties tab, because the feature is marked "Do Not Ship" until they're resolved.
Type of change:
High-level design:
Settings (AI + classic)
CustomPropertiesPanelnow owns the type: it fetches once and passes it down. Previously three requests were made per selection: the landing card, the panel, then the detail page. The landing page only reports the FQN, and the detail page reports deletes back up throughonEntityTypeChange. Classic's add drawer takestypeDetailfrom the page instead of fetching it again.#custom-properties/<type>/add-propertyand…/edit-property/<name>now open the form directly. They are gated on the samecanCreate/canEditAllflags as the buttons; the panel fetches the Type permission with the type and passes it to the detail page. A link the user cannot act on, or one to a missing property, falls back to the list and corrects the hash. After a save, the panel refetches once and ignores the response if the user has moved on.CustomPropertyFormFields, so both modes get them):+Nconfig values show in a tooltip;Entity tab
onIncompleteChangeprop. The Date & Time editor blocks Save on a half-typed time instead of saving it as midnight.Number.MAX_SAFE_INTEGER. The error shows inline and the dialog stays open.extension. The fix is in the shared builder, so it covers every editor.Not in this PR
onUpdatecallers). A message-mapping fix was tried and dropped.TypeRepositorystill compares names case-sensitively. Recorded in ADR:2026-11-02-custom-property-names-are-unique-per-entity-type-ignoring-case-in-the-ui.extension, so its Custom Properties tab was empty. That fix is on Collate branchkaranh37/cp-chat-widget-extension, with no PR yet.Tests:
Use cases covered
PRIORITYwhenpriorityexists, and requires Format for a Date property.+Nlists the hidden config values. Classic's delete confirm reads "Delete".1.5,9007199254740993and-42is accepted.946684800000.extension.Unit tests
tabs/custom-propertiesSettings/CustomPropertypages/CustomPropertiesPageV1common/CustomPropertyTableExplore/.../CustomPropertiesSectionProfile/customPropertiesCustomProperty.utils.test.tsCustomPropertiesWidgetandSettings/CustomPropertysuites: 258/258 pass.time-pickeranddate-picker, 16/16 pass.moduleNameMapperpointing at the worktreedist/). The sharednode_modulesotherwise resolves an older core build that lacksConfirmPopoverandonIncompleteChange.Backend integration tests
Ingestion integration tests
Playwright (UI) tests
e2e/Pages/CustomProperties.spec.ts("SQL Query")constant/glossaryImportExport.ts("SQL Query")utils/customProperty.ts("No value yet")Manual testing performed
Not yet. Still to check in the browser:
UI screen recording:
Not applicable. These are fixes from release testing, not a feature.
Checklist:
Fixes <issue-number>: <short explanation>— no issue yet.Fixes #<issue-number>above — no issue yet.REVIEW.md(thepr-checklistskill runs it) and fixed every 🔴 finding, or answered it on the line below.7e4bdc821e4, with fixes ind7a325ec116.handleSavedresponse, and a focus ring on the widget tooltip triggers.CustomPropertiesAddPagetest: the shared form validation is covered inAddCustomProperty.test.tsx.Bug fix
🤖 Generated with Claude Code