Skip to content

fix(test): AssetHealth.spec.ts - #30681

Merged
chirag-madlani merged 1 commit into
mainfrom
fix/test-asset-health
Jul 30, 2026
Merged

chirag-madlani merged 1 commit into
mainfrom
fix/test-asset-health

Conversation

@chirag-madlani

@chirag-madlani chirag-madlani commented Jul 30, 2026 •

Copy link
Copy Markdown
Collaborator

fix asset health

Describe your changes:

Fixes #

I worked on ... because ...

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

High-level design:

N/A — small change.

Tests:

Use cases covered

Unit tests

Backend integration tests

Ingestion integration tests

Playwright (UI) tests

Manual testing performed

UI screen recording / screenshots:

Not applicable.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.
  • For UI changes: I attached a screen recording and/or screenshots above.
  • I have added tests (unit / integration / Playwright as applicable) and listed them above.

Greptile Summary

Updates the Asset Health Playwright test fixture to use the unconfigured global_market sample table instead of fact_sale.

Confidence Score: 5/5

The PR appears safe to merge.

The replacement sample table exists and satisfies the unconfigured asset state required by each affected Asset Health widget test.

Important Files Changed

Filename Overview
openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/AssetHealthWidget.spec.ts Replaces the empty-table fixture with an existing sample table that has no test suite or data contract, matching the CTA assertions.

Reviews (1): Last reviewed commit: "fix(test): AssetHealth.spec.ts" | Re-trigger Greptile

Copilot AI review requested due to automatic review settings July 30, 2026 07:38
@chirag-madlani
chirag-madlani requested a review from a team as a code owner July 30, 2026 07:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

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.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs UI UI specific issues labels Jul 30, 2026
@gitar-bot

gitar-bot Bot commented Jul 30, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Fixes AssetHealth.spec.ts test suite stability. No issues found.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar | Powered by Gitar — free for open source

@chirag-madlani
chirag-madlani enabled auto-merge July 30, 2026 08:21
@chirag-madlani
chirag-madlani added this pull request to the merge queue Jul 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit 69b325047de2c1c0068834d6c18fd716b1a03370 in Playwright run 30523879688, attempt 1.

✅ 52 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 3 skipped · 🧰 0 lifecycle flaky

Performance

Blocking 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) 40m 7s

⏱️ Max setup 1m 32s · max shard execution 6m 11s · max shard-job elapsed before upload 9m 15s · reporting 4s

🌐 137.54 requests/attempt · 1.37 app boots/UI scenario · 0.00% common-shard skew

Optimization targets still in progress:

  • Application boot ratio was 1.37 per UI scenario (74 boots / 54 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
✅ Shard chromium-01 52 0 0 3 0 0

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 30, 2026
chirag-madlani added a commit that referenced this pull request Jul 30, 2026
Hotfix — PR #30681's chromium-07 shard was TERM'd at exactly
PW_EXECUTION_SECONDS=1260 (21 min), blocking the merge queue. The
planner budgets shards to a 20 min target and LPT can pack right up
against that ceiling; a 21m inner timeout has only 60s of drift room
before it kills a shard whose tests are still running fine.

- Inner (`timeout ... 21m` around `npx playwright test`) → 25m: 5m
  headroom above the 20m planner target, enough to absorb LPT
  imprecision plus per-test retries without cliff-edge failures.
- Outer (`timeout-minutes: 30`) → 35m: keeps setup + tests + teardown
  under the job clock. The earlier chromium-09 diagnosis showed slow
  shards hitting the 30m job timeout even when playwright itself
  finished under the inner wrapper — same class of false-negative.

We're not "hiding" slow shards — plan-playwright's LPT bin-packing
still targets 20m, and the shadow-gate + timing history still catch
drift. This just stops the wrapper from firing before the planner's
own signal does.
@chirag-madlani
chirag-madlani added this pull request to the merge queue Jul 30, 2026
Merged via the queue into main with commit 99a48d3 Jul 30, 2026
65 of 67 checks passed
@chirag-madlani
chirag-madlani deleted the fix/test-asset-health branch July 30, 2026 10:25

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants