You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
triggerTestSuitePipelineAndWaitForSuccess (openmetadata-ui/src/main/resources/ui/playwright/utils/incidentManager.ts) polls /pipelineStatus?limit=1 and accepts whatever the latest status record is. It has no notion of which run it triggered.
Airflow queues a DAG asynchronously, so shortly after the trigger the previous run's success record is still the latest one. The helper returns immediately and the caller goes on to assert against stale results.
The first call in beforeAll is safe (no prior status record exists, so the poll actually waits). Every re-run call site is exposed.
previous DAG run 178b5ca8… → success; test-case result written 10:14:45.056 (Failed) → incident New
10:16:42
incident → Ack
10:16:49
incident → Resolved, incidentId becomes null
10:17:00
POST /ingestionPipelines/trigger/… → response body state: queued, queued_at 10:17:00.04
10:17:02
oneGET /pipelineStatus?limit=1 returns runId 178b5ca8…, success, timestamp 10:14:43 — the old run. Poll exits.
~10:17:08
assertion runs; API still reports testCaseResult.timestamp = 10:14:45.056 and incidentStatus = Resolved
The whole "re-run" step took ~8s — no DAG run completes that fast.
Failure
expect(locator('[data-testid="pw_test_case_…-status"]')).toContainText('New')
Received string: "Resolved"
at utils/incidentManager.ts:47 (acknowledgeTask)
via e2e/Features/IncidentManager.spec.ts:881
Because the describe is mode: 'serial', the failure also skipped the 5 following tests in the file.
Expected
The helper should wait for the run it triggered — capture the run recorded before triggering and poll until a record with a different runId (or a later timestamp) reaches success.
Notes
Reproduces on Airflow-backed CI; an Argo-backed local stack does not hit the window.
The same helper carries two fixed 5s "deployment settling time" sleeps that can be folded into a bounded retry of the trigger request.
Activity
ci(playwright): run Data Quality + Observability specs on DQ/observab…
test(playwright): batch seven queued flaky-spec stabilizations into o…
ShaileshParmar11 commentedon Aug 18, 2026
Its already done
ShaileshParmar11 commentedon Aug 18, 2026
#30699