Repository navigation
Conversation
❌ 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 — workflow failedValidated commit ✅ 0 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky Pipeline and setup failures (6)
Performance⚪ Performance metrics unavailable; see the CI and reporting failures above.
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
|
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! |
…nted These four arrived skipped in #25428 (`12d85f310f`), the same commit that created the file, and have never executed once in five months. They are not regressions and not flakes — they are a specification for behaviour the backend does not have. Each carried its own reason inline from birth: "Requires backend to return nested terms as flat results when filtered". That is accurate. The glossary term listing sends `directChildrenOf` and `entityStatus` on the same request (`glossaryAPI.ts` `getFirstLevelGlossaryTermsPaginated`), and the backend ANDs them (`GlossaryTermResource` `.addQueryParam("directChildrenOf", …).addQueryParam("entityStatus", …)`), so a nested term is eliminated by the hierarchy filter before its status is ever considered. No status value can surface a grandchild as a flat result. Confirmed by running them: on a real 1.13 stack all four fail at ~17.5s (the locator timeout — the term genuinely never renders), while every sibling test that asserts only root-level terms passes. `glossaryAPI.ts` and `GlossaryTermResource` are byte-identical across 1.13, main and 2.0, so the outcome is the same everywhere. Removed rather than left skipped: five bare `test.skip`s surface on every nightly triage list as if they were failures, and cost review attention each time someone asks why the glossary suite is red. If flat subtree filtering is built, these are better rewritten against the real API than resurrected from a five-month-old skip. No fixtures are orphaned — `basicChild`, `multiChild`, `deepTerms` and the rest are still used by the surviving tests. Prettier and eslint clean. Co-Authored-By: Claude <noreply@anthropic.com> (cherry picked from commit 4a7aa34) (cherry picked from commit de76127)
Both were skipped for causes that have since been fixed: - `Glossary › Term should stay approved when changes made by reviewer` — blocked on the async approval workflow reverting a PATCHed entityStatus. #29931 fixed exactly that machinery (approve/reject condition scheme, duplicate edges, stuck resolves) and 2.0 carries it. Measured on a main stack — which is byte-identical to 2.0 for this test — it passes 3/3 at 1.0m, 58.6s, 58.3s. - `GlossaryStatusFilter › change filter while expanded updates visible root terms` — born skipped in #25428 claiming "re-filtering expanded state isn't fully implemented"; that shipped and the marker was never revisited. Passes at 2.8s. Both target tests are byte-identical between main and 2.0 (Glossary.spec.ts differs only at line 535, an unrelated assets empty-state assertion), so the main measurements carry over. Co-Authored-By: Claude <noreply@anthropic.com>
a3f94c0 to
811eab9
Compare
❌ UI Checkstyle Failed❌ Antd + Less Deprecation GuardA new Affected filesat Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) Fix locally (fast - only checks files changed in this branch): make ui-checkstyle-changed |
| @@ -521,8 +473,7 @@ test.describe('Glossary Status Filter - Nested Terms', () => { | |||
| }); | |||
|
|
|||
| // Skip: Requires re-filtering expanded state which isn't fully implemented | |||
There was a problem hiding this comment.
💡 Quality: Stale skip-reason comments remain above re-enabled tests
Both re-enabled tests still carry their old skip-justification comments, which now contradict the code. GlossaryStatusFilterNestedTerms.spec.ts:475 reads "Skip: Requires re-filtering expanded state which isn't fully implemented" and Glossary.spec.ts:1971 reads "Need to fix the workflow from BE end, as it constantly failing in the AUT's", yet both tests are now active. These misleading comments should be removed alongside the test.skip/eslint-disable directives they accompanied.
Was this helpful? React with 👍 / 👎
|
Correction to my previous comment: BulkImport is not outstanding on 2.0. @Rohit0301 landed the #30458 cherry-pick independently in |
Code Review 👍 Approved with suggestions 0 resolved / 1 findingsCleans up the 2.0 test skip list by backporting BulkImport fixes, removing un-runnable glossary tests, and re-enabling passing ones. Consider removing the stale skip-reason comments above the re-enabled tests. 💡 Quality: Stale skip-reason comments remain above re-enabled tests📄 openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Glossary/GlossaryStatusFilterNestedTerms.spec.ts:475 📄 openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Glossary.spec.ts:1971 Both re-enabled tests still carry their old skip-justification comments, which now contradict the code. 🤖 Prompt for agentsOptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar | Powered by Gitar — free for open source |
Glossary skip-list cleanup for
2.0, matching #30843 (main) and #30839 (1.13).The rule applied
A test is deleted only if it was skipped in the very commit that introduced it — it has never run and never protected anything. Anything that was once green stays, even if it is red today, because that redness records a regression rather than a test that never worked.
Every verdict below is a measurement on a real local stack, not inspection.
Removed — 4 tests, skipped at inception, never executed
GlossaryStatusFilterNestedTerms:filter by child status,filter by middle level status,filter by leaf level status,deeply nested term (5 levels).All four arrived skipped in #25428 (
12d85f310f, 2026-03-05) — the commit that created the file — each carrying "Requires backend to return nested terms as flat results when filtered". Five months, zero executions. The six later commits to this file never touched the skips.They cannot pass, by construction.
getFirstLevelGlossaryTermsPaginatedsends the hierarchy and status filters on one request:and
GlossaryTermResourceANDs them:directChildrenOfmeans "first level/immediate children", so a nested term is eliminated before its status is considered. Measured: all four fail at ~17.5–17.9s (locator timeout — the term never renders) on both a 1.13 stack and a main stack, while every sibling asserting only root-level terms passes.glossaryAPI.tsandGlossaryTermResource.javaare byte-identical across 1.13, main and 2.0.Re-enabled — 2 tests that pass today
Glossary › Term should stay approved when changes made by reviewerentityStatusGlossaryStatusFilter › change filter while expanded updates visible root terms#29931 fixed the approval machinery in July (approve/reject condition scheme, duplicate edges, stuck resolves) — exactly the cause behind the first test. Re-run three times to guard against its known load-dependent race; green every time.
The second was born skipped like the four removed ones, but for a different reason, and unlike them it is green. It is re-enabled rather than deleted precisely because deleting a passing test loses coverage. It only appeared on the nightly skip list at all because the file is
test.describe.configure({ mode: 'serial' })— whenfilter by child statusfails, Playwright reports every later test in the file as skipped without running it. With those four gone the cascade cannot occur.Deliberately left skipped
The five
DataMarketplacenavigation tests. They were born active and green in #26255 and ran for ten days before #27377 removed the/data-marketplace/*sub-routes and skipped them with "re-enable when the standalone marketplace shell is reintroduced". They fail at 1.0m today on both main and 1.13, but under the rule above they are not deletion candidates — they record a withdrawn capability. The marketplace page itself is alive (11 components on every branch) and 8 sibling tests covering rendering, data-product/domain creation, search empty state and the admin-vs-consumer permission split all still pass, so the spec files stay.CustomizeWidgets › KPI WidgetandActivityFeed › Mention notificationalso pass on main (30.3s / 9.4s) but are out of scope here and remain skipped.Verification
basicChild,multiChild,deepTerms,multiChildrenParentall still used by surviving tests.eslint-disable playwright/no-skipped-testdirectives removed with their skips, otherwise they become unused-directive errors.prettier --checkclean;eslint0 errors.🤖 Generated with Claude Code
2.0-specific note on verification: the measurements above were taken on
1.13andmainstacks. All target specs are byte-identical betweenmainand2.0(Glossary.spec.tsdiffers only at line 535, an unrelated assets empty-state assertion) and #29931 is present on 2.0, so the results carry over. This PR CI run is the confirmation on 2.0 itself.