Repository navigation
fix(e2e): give Teams hard-delete test its measured nightly budget - #33452
Conversation
Nightly run 35144854437 (1.12.14 -> main) failed Teams.spec 'Permanently deleting a team without soft deleting should work properly' with 'Test timeout of 60000ms exceeded' on all three attempts, in both the mysql and postgresql lanes. The serial describe then skipped the remaining 17 tests in the file. The test is not stuck. It measures 19.5s in the timing baseline and 20.5s on the release lane (run 35167892244, 1.11.13 -> 1.13), but the main lane runs 2.5-6x slower end to end: 'Teams Page Flow' 63s -> 2.6m and 'Create a new public team' 13s -> 1.5m in the same shard. At that inflation a 20s test lands at 60-100s and dies on the 60s default, burning the clock on the team link locator while the Organization listing is still loading. This test lost its budget in the blanket test.slow() removal (#32360), which measured it under the 40s retention threshold. Same failure signature and same fix as #33412 for 'Create a new public team'. Co-Authored-By: Claude Opus 5 (1M context) <[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! |
Code Review ✅ ApprovedRestores the 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 |
✅ Playwright Results — workflow succeededValidated commit ✅ 67 passed · ❌ 0 failed · 🟡 0 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) 1h 27m 47s ⏱️ Max setup 3m 29s · max shard execution 8m 46s · max shard-job elapsed before upload 12m 33s · reporting 3s 🌐 177.30 requests/attempt · 2.01 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 |
Describe your changes
Nightly run 35144854437 (
1.12.14 ➡ main) failedTeams.spec.ts›Permanently deleting a team without soft deleting should work properlywithTest timeout of 60000ms exceededon all three attempts, in both the mysql and postgresql lanes. The describe ismode: 'serial', so the remaining 17 tests in the file were skipped.Root cause — budget, not a product bug
.github/playwright/timing-baseline.json1.11.13 ➡ 1.13)1.12.14 ➡ main)The test is never stuck — the
mainlane simply runs 2.5–6x slower end to end. In the same shard:Teams Page Flow63s → 2.6m,Create a new public team13s → 1.5m. At that inflation a 20s test lands at 60–100s and dies on the 60s default, burning the clock on the team-link locator while the Organization listing is still loading.The test lost its budget in the blanket
test.slow()removal (#32360), which measured it under the 40s retention threshold. Same failure signature and same fix as #33412 forCreate a new public team.Type of change
Checklist
fix(e2e): ...Tests
Test-only change (6 added lines, one file: a comment and
test.slow()).yarn lint:playwright→ 0 errors (219 pre-existing warnings, unchanged)npx prettier --check playwright/e2e/Pages/Teams.spec.ts→ cleanReal verification is the next nightly
mainlane.🤖 Generated with Claude Code
The PR appears safe to merge because the timeout adjustment is narrowly scoped and follows established Playwright patterns in the same suite.
Summary
This PR restores an expanded Playwright timeout for the Teams hard-delete scenario so nightly environments can complete the measured flow without exhausting the default 60-second budget.
test.slow()only to the affected test, increasing its budget to 180 seconds.Reviews (1) · Last reviewed commit: "fix(e2e): give Teams hard-delete test it..."