Repository navigation
Backport to 2.0: #32736 #32699 #33115 #32741 - #33211
Conversation
…h failures (#32736) * Fixes #32672: show error placeholder on Topic page for sustained fetch failures * chore(playwright): auto-refresh impact-map.generated.json [skip ci] --------- Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com> Co-authored-by: Karan Hotchandani <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Rohit Jain <[email protected]>
…ick-filter change (#32699) * fix(ui): reset Impact Analysis pagination to page 1 on search/quick-filter change * test(ui): add Playwright pagination-reset tests for Impact Analysis (#32632) Add two E2E tests to Pagination.spec.ts that guard the fix introduced in change): - "should reset Impact Analysis table pagination to page 1 on search change" - "should reset Impact Analysis table pagination to page 1 on quick filter change" Both tests create 16 downstream TableClass entities (exceeding PAGE_SIZE_BASE=15) so two pages are reachable via ?pageSize=15 in the URL. Each test navigates to page 2, then triggers the filter/search, and asserts the page-indicator resets to "1 of X". Also adds skipUrlParamCheck option to testCompletePaginationWithSearch utility for callers where search state lives in component state rather than the URL. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * lint fix * chore(playwright): auto-refresh impact-map.generated.json [skip ci] --------- Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com> Co-authored-by: Rohit0301 <[email protected]> Co-authored-by: Claude Sonnet 4.6 <[email protected]> Co-authored-by: Rohit Jain <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Chirag Madlani <[email protected]>
…state (#33115) * fix(ui): reset TierCard selectedTier on close to prevent stale radio state Two bugs caused the tier radio button to show stale state: - Bug A: cancelling a tier change left the cancelled tier selected on reopen - Bug B: after a successful save, the old tier was shown on reopen because handleOpenChange closed over a stale currentTier before React propagated the updated prop Fix: extract handleOpenChange to reset selectedTier to currentTier on every close, and add a useEffect([currentTier]) guard that re-syncs when the prop updates while the popover is closed (covers the save-stale race). Adds unit tests (TierWidget.test.tsx) and a Playwright E2E spec (TierWidget.spec.ts) covering both scenarios. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * chore(playwright): auto-refresh impact-map.generated.json [skip ci] * minor fix * chore(ui): fix formatting in TierWidget spec and test files Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * fix(ui): track TierCard open state internally to guard currentTier re-sync The useEffect that re-syncs selectedTier on currentTier change was guarding with !popoverProps?.open, but uncontrolled usages (no popoverProps) have open === undefined (always falsy), so the reset fired mid-edit, silently discarding the user's in-progress selection. Fix: add isOpen state updated in handleOpenChange so the guard works for both controlled and uncontrolled usages. Also adds isOpen to the useEffect dependency array to satisfy react-hooks/exhaustive-deps. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * chore(ui): move TableClass init into beforeAll and clarify onOpenChange override Co-Authored-By: Claude Sonnet 4.6 <[email protected]> --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
… when a column is named 'id' (#32741) * Fixes #32677: preserve user data in table-type custom property editor when a column is named 'id' * Remove backend reserved-column validation; keep FE __row_id__ guard only The frontend row-id key rename (id -> __row_id__ in EditTableTypePropertyModal) already fixes the data loss on its own, and __row_id__ is never persisted. The backend reserved-name check added the wrong guarantee at the wrong layer: it rejected `id` -- a legitimate, previously-valid column name -- at the API, and hard-coded a frontend grid sentinel into backend validation. - Revert TypeRepository.validateTableTypeConfig reserved-name rejection and its RESERVED_TABLE_COLUMN_NAMES constant. - Remove the three TypeResourceIT tests (and now-unused imports/fixtures) that only exercised that backend validation. - Scope the AddCustomProperty form guard to the frontend's own sentinel `__row_id__` (drop `id`), so the form no longer bans a valid column name. * chore(playwright): auto-refresh impact-map.generated.json [skip ci] * chore(playwright): auto-refresh impact-map.generated.json [skip ci] * i18n: translate reserved-column-name into all non-English locales yarn i18n stamped the English string verbatim into every locale for message.reserved-column-name; replace those placeholders with real translations (19 non-en locales), preserving the {{name}} interpolation. --------- Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Karan Hotchandani <[email protected]>
❌ 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 impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated 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 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 |
✅ Playwright Results — workflow succeededValidated commit ✅ 946 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 51m 18s ⏱️ Max setup 3m 3s · max shard execution 16m 28s · max shard-job elapsed before upload 20m 36s · reporting 6s 🌐 210.07 requests/attempt · 2.70 app boots/UI scenario · 30.06% common-shard skew Optimization targets still in progress:
🟡 1 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 |
…sent in 2.0) support/fixtures/base.ts was introduced in main after the 2.0 branch cut. Swap the import to @playwright/test so Playwright can resolve the module during test discovery on this branch. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Code Review ✅ Approved 1 resolved / 1 findingsBackport of four UI bug fixes to the 2.0 release branch: error placeholder on Topic page fetch failures, Impact Analysis pagination reset on filter change, stale TierCard radio state, and column-name collision in custom property editor. Consider extracting the ✅ 1 resolved✅ Quality: ROW_ID_KEY duplicated as a literal in reserved-name guard
OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|



Backport
Cherry-picks four bug fixes from
maininto the2.0release branch.Cherry-pick notes
All four commits applied cleanly. One auto-resolved conflict in
.github/playwright/impact-map.generated.json(generated file — took the incoming version).