Repository navigation
fix(test): AssetHealth.spec.ts - #30681
Conversation
fix asset health
❌ 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 |
Code Review ✅ ApprovedFixes AssetHealth.spec.ts test suite stability. No issues found. OptionsDisplay: 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 |
✅ Playwright Results — workflow succeededValidated commit ✅ 52 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 3 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) 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:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
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.
fix asset health
Describe your changes:
Fixes #
I worked on ... because ...
Type of change:
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:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Greptile Summary
Updates the Asset Health Playwright test fixture to use the unconfigured
global_marketsample table instead offact_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
Reviews (1): Last reviewed commit: "fix(test): AssetHealth.spec.ts" | Re-trigger Greptile