Repository navigation
Expand OSS visual regression coverage in light and dark modes - #36640
Conversation
commented
Oct 30, 2026
🔴 Playwright Results — workflow failedValidated commit ✅ 2261 passed · ❌ 87 failed · 🟡 3 flaky · ⏭️ 3 skipped · 🧰 0 lifecycle flaky ❌ Action needed: test(s) failed on every attempt against this PR’s validated commit — see Genuine Failures below. These are test failures, not CI budget or infrastructure issues. 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) 50m 24s ⏱️ Max setup 11m 35s · max shard execution 17m 2s · max shard-job elapsed before upload 30m 7s · reporting 11s 🌐 3.05 requests/attempt · 1.29 app boots/UI scenario · 0.00% common-shard skew
Optimization targets still in progress:
Genuine Failures (failed on all attempts)❌
|
commented
Nov 4, 2026
🔄 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 |
commented
Nov 4, 2026
|
| Count | Rule |
|---|---|
| 4 | react-hooks/exhaustive-deps |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/Glossary/GlossaryDetails/GlossaryDetails.component.tsx:210:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'getEntityFeedCount', 'glossary.childrenCount', 'glossary.id', 'glossary.owners', 'glossary.reviewers', 'glossary.t |
| 🟡 | src/components/Glossary/GlossaryDetails/GlossaryDetails.component.tsx:223:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'fetchActivityCount' and 'fetchTaskCounts'. Either include them or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryDetails/GlossaryDetails.component.tsx:227:5 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 'tabs'. Either include it or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryDetails/GlossaryDetails.component.tsx:227:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked. |
Fix locally (fast - only checks files changed in this branch):
make ui-checkstyle-changed| "@types/use-analytics": "^0.0.3", | ||
| "@typescript-eslint/eslint-plugin": "^8.72.1", | ||
| "@typescript-eslint/parser": "^8.72.1", | ||
| "@untitledui/file-icons": "^0.0.9", |
There was a problem hiding this comment.
The app's direct @untitledui/file-icons devDependency was redundant: @openmetadata/ui-core-components already owns it as a dependency. Removed the duplicate; the lockfile is unchanged. A frozen-lockfile installation and the production build pass. Checked the PR and repository for sibling occurrences: 0 additional duplicates required changes; the core library's declaration is the correct owner.
Committed in b862a0d.
| // that the run cannot be useful. Healthy runs never approach this limit. | ||
| maxFailures: 50, | ||
| // Keep every visual difference in the report; other lanes retain fail-fast limits. | ||
| maxFailures: process.env.PW_SHARD_LANE === 'visual' ? 0 : 50, |
There was a problem hiding this comment.
This means any failure will stop the run immediately, is that expected?
There was a problem hiding this comment.
Restored maxFailures: 50 for the visual lane and other lanes in the shared configuration, matching main. Removed the visual-only exception and its explanatory comment. Testing stops once the failure limit is reached.
Verified the loaded configuration for visual, chromium, RDF, and an unset lane: all use 50. Import organization, ESLint, Prettier and git diff --check pass. The separate SSO configuration retains its existing limit of 10; no additional sibling changes were needed.
Committed in 180e558.
commented
Nov 5, 2026
|
commented
Nov 5, 2026
Code Review ✅ Approved 3 closed / 3 findings🟡 Medium risk · Adding row-header semantics and updating glossary tab counts changes rendered navigation and counts; regressions could misidentify rows or show stale totals. Expands OSS Playwright visual regression coverage from 22 light-only screenshots to 2,259 tests across 34 specs, with light and dark theme captures and deterministic HTTP fixtures. Resolved this session: visual-lane shard efficiency and fail-fast limit are now recorded, unmodeled reads on known collections fail as fixture errors rather than returning empty 200s, and the five new visual specs now ship committed baseline images. No open findings. ✅ 3 closed✅ Quality: Visual-lane shard efficiency, 8-shard cap and fail-fast limit are unrecorded
✅ Edge Case: Unmodeled reads on known collections return empty 200s, not fixture errors
✅ Bug: Five new visual specs ship without any committed baseline images
VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |



Describe your changes:
Refs open-metadata/openmetadata-collate#7505. Workflow prerequisite #36820 is merged.
Passing verification: Full Playwright run 41871462993 PASSED on
eec28b67e1422d02e068f580c9cbf606b157db69. All 2,259 visual tests passed without retries. Full suite: 7,338 passed, 2 passed on retry, 4 existing skips, 0 failures. Snapshot updating was disabled.Latest branch update: merged
main(ad8ce1188938c65dd52d86c9bd35a5e9004c5887) in8ae2a7df94e99667a169b683f84ce7fce8be6ebdand resolved the glossary permission-test conflict. Retained main's denied-term listing assertion together with exact-resource GET 403, forbidden-route and permission-placeholder checks. Frozen-lockfile installation, full Playwright lint (0 errors; 200 existing warnings), Playwright type checking, imports/formatting, regenerated impact-map consistency and PR-diff whitespace checks pass. Focused discovery finds both permission tests; local E2E execution was not run for this OSS conflict-only merge. The shared failure limit remains 50 and entity-data setup is retained. The passing full-suite result above validates the earliereec28b67e1422d02e068f580c9cbf606b157db69; checks for the merged commit are running.Expand OSS visual regression from 22 light-only screenshots to 2,259 tests across 34 specs, with AI light/dark coverage and Classic/public-authentication light coverage. The committed catalog contains 2,701 Linux PNGs, 184.8 MiB: 1,390 light and 1,311 dark. All configured snapshot paths exist; the full-catalog Linux comparison passed in the run linked above.
The broader source audit has 444 surface/state candidates: 206 covered, 74 partial, 164 needing reconciliation. These include pages, forms, tabs, dialogs and shared controls; they are not counts of distinct pages or components. The remaining audit work is listed below.
Type of change:
High-level design:
Tests:
Merge verification at
fa6b1a777fb8RelationshipTypeTable.test.tsx: 2 passed.isLoadingprop described above.Unit tests
e59f43d0f66: 43 fixture-schema checks, 128 strict HTTP-fixture browser checks and 179 browser-helper checks passed. Checks cover unknown reads, explicit named indices, catalog aliases and response contracts.git diff --check origin/mainpass.isLoadingprop atCustomPropertiesDetailPage.tsx:135; that page and the table definition are unchanged from main.Backend integration tests
Not applicable: this PR authors no Java, backend API, schema, migration or generated-model changes. Main was merged at
b9223a76322to include its exported event schema types required by downstream compatibility builds; the latest compatibility result is recorded below.Ingestion integration tests
Not applicable: no ingestion changes.
Playwright (UI) tests
8fb5b440679: 10 ordinary local comparisons passed, zero failures, covering the glossary Data Observability tab in light and dark five times each, without snapshot updates. Two initial diagnostic generations also passed. Frontend: current production build on native previewlocalhost:3109, with the Java server's base-path substitution applied to ignored build output. Backend: existing local stack atlocalhost:8585; shared containers were not restarted. These macOS diagnostics do not replace committed Linux images.a44f5040b48: 2,248 passed, 11 failed, zero flaky, across all 2,259 cases. Seven failures have stale Classic header images, three have stale fixture-content images, and one exposed the horizontal-tab capture timing fixed above. This is not a clean final comparison.e59f43d0f66: 2,259 passed, zero failures/retries/flaky results, with all case IDs reconciled. Its reviewed captures supply the current catalog. Generation is not comparison evidence.Manual testing performed
UI comparisons
Production previews: main source
e32170cdf3c17aaf34303693a259ebab179758f0, branchb929e4d107bb3654c1645639130f194ee2e6cb93, macOS, identical isolated fixtures. Accessibility checks found domain row headers increased from 0 to 1 and relationship row headers from 0 to 12.The glossary count comparison resolves task reads before activity reads. Main keeps the badge at 4; the branch updates it to 5. The pre-fix component is byte-identical to main; after-fix source is
ecbd89155a0, production previews on macOS with identical isolated fixtures.UI screen recording:
N/A — test coverage and accessibility corrections; before/after light/dark comparisons are attached above.
Run 41823905896 follow-up
69ef00ca6b77ad17f26ad782abe71a01c31e20c6; main sync and canonical scope/tab fixes retained in1de59f6cc2a35dce9d02ded270d6ea053655ee0d./domains/stylesread is modeled with the generated DTO in797ea0fcd6e4aaed1f259d9150fe814672c1a7d9; the pipeline widget now waits for its populated row in9b1bbb6137c(6/6 repeated ordinary light/dark comparisons).b7b67d2431a), with 18/18 repeated ordinary comparisons plus a 6/6 rerun of the catalog’s failed IDs. Screenshot comparison thresholds are unchanged. The broad local diagnostic execution completed 2,259 cases: 2,253 initially passed; its six old geometry failures were corrected and reran successfully.10c55a5d1c21e32af352f0832cd0587800b7d606; no paths added or retired. The capture branch only changed Playwright configuration/reporting, and workflows are unchanged.10c55a5d1c21e32af352f0832cd0587800b7d606reconciled all 7,344 planned cases: 7,332 passed, 6 failed, 2 flaky and 4 skipped. Visual: 2,257 passed, 2 timed out, zero image mismatches. All 53 cases across the six originally affected nonvisual specs passed on their first attempt.ce5120eac7e7330fe56862edf0623ad02ad594f8andeec28b67e1422d02e068f580c9cbf606b157db69fix the additional findings: test denied glossary/term deep links with exact-resource HTTP 403 and forbidden-page assertions; allow cached profile navigation without a duplicate read; match the precise escaped certification query; assert description-cell text without assuming Markdown paragraph markup. Only the exhaustive datatype-menu test usestest.slow(); every option and zero-difference comparison is retained. Deterministic local certification/profile reproductions failed before and passed after; six repeated ordinary datatype-menu comparisons passed. Three current-frontend HTTP-fixture checks also passed: escaped certification search and both denied-resource redirects. Imports, ESLint (0 errors), Prettier, license headers, Playwright type-check and whitespace checks passed.eec28b67e1422d02e068f580c9cbf606b157db69, with snapshot updating disabled. Exactly 7,344/7,344 planned cases reconciled: 7,338 passed, 2 flaky passes, 4 existing skips, 0 failures; 21 setup/teardown executions also passed. All 2,259 visual cases passed on their first attempts, including all 856 visual failure IDs from the reported run. All 53 cases across the six originally affected nonvisual specs and all eight issues from the first verification passed without retries. No worker errors or missing planned cases.Flow/SchemaTable.spec.ts— “Copy column link button should copy the column URL to clipboard” (initial clipboard read was empty);Features/Workflows/ChangeRequestReviewLifecycle.spec.ts— “edits the workflow does not gate publish at once” (initial ungated-description save response wait timed out). Both passed on retry. The four skips are the unchanged RDF authoring/governance and data-insight application cases.Review follow-up — November 5
b862a0d57401047ce0d4904edb5746b50af4d99bremoves the app's redundant@untitledui/file-iconsdevDependency; the core component library owns this dependency. The lockfile is unchanged. Frozen-lockfile installation and the production build passed for that follow-up.180e55810a2dfeab69346e557675a79ce48da35erestores the sharedmaxFailures: 50, matching main, including the visual lane. The visual-only exception and its explanatory comment are removed. The separate SSO configuration retains its existing limit of 10.c9ee5136340e42704ae38953e5025fa0fb9e32a9removes the redundant visual-projectfullyParallel: truedeclaration and its comment. Parallel execution inherits the existing global setting. Loaded before/after configurations are equivalent for all 23 default projects; import organization, ESLint, Prettier and whitespace checks pass.maxFailuresremains 50.812ac2af9498345c973f91869b38ee94f8d411d7restoresdependencies: ['setup', 'entity-data-setup']for the visual project, matching main, and removes the obsolete comment about skipping entity seeding. Verified both dependency projects exist and every other setting is unchanged across the 23 default projects. Import organization, ESLint, Prettier and whitespace checks passed.git diff --checkpassed. Self-review againstREVIEW.mdfound no unanswered finding; no additional sibling changes were needed.eec28b67e1422d02e068f580c9cbf606b157db69. The subsequent follow-ups remove the redundant dependency declaration and restore the original failure limit; test selection, assertions, snapshots and retries are unchanged by these follow-ups.Remaining work:
Checklist:
eec28b67e1422d02e068f580c9cbf606b157db69.REVIEW.mdand decision/documentation check, reviewed ateec28b67e1422d02e068f580c9cbf606b157db69, with follow-ups reviewed atb862a0d57401047ce0d4904edb5746b50af4d99b,180e55810a2dfeab69346e557675a79ce48da35e,c9ee5136340e42704ae38953e5025fa0fb9e32a9,812ac2af9498345c973f91869b38ee94f8d411d7and8ae2a7df94e99667a169b683f84ce7fce8be6ebd; no unanswered finding in the changed behavior. Additional broader-suite retries are recorded above.Collate counterpart: https://github.com/open-metadata/openmetadata-collate/pull/8305 — adds Collate-specific light/dark visual coverage and local Playwright results.