Skip to content

Fix flaky DAG calendar tab e2e tests#62692

Closed
potiuk wants to merge 1 commit intoapache:mainfrom
potiuk:fix-calendar-e2e-tests
Closed

Fix flaky DAG calendar tab e2e tests#62692
potiuk wants to merge 1 commit intoapache:mainfrom
potiuk:fix-calendar-e2e-tests

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Mar 2, 2026

Add retry logic to the createRun helper in the DAG calendar tab e2e tests.

The PATCH request that sets a DAG run's state can fail silently when the
DagBag hasn't loaded the DAG yet. The helper now retries the PATCH up to
5 times with 1-second delays, confirming the state is set before proceeding.
This prevents downstream assertions from failing due to runs stuck in
"queued" state.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Opus 4.6

Generated-by: Claude Opus 4.6 following the guidelines

The createRun helper now retries the PATCH request that sets the DAG
run state, waiting for the DagBag to load the DAG before confirming.
Previously the PATCH could silently fail, leaving runs in a queued
state and causing downstream assertions to fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Mar 2, 2026
@potiuk
Copy link
Member Author

potiuk commented Mar 2, 2026

Not working :(

@potiuk potiuk closed this Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant