Skip to content

Retry BigQuery dataset creation in test setup#663

Merged
jmqd merged 1 commit intomainfrom
jm/retries-flaky-test-setup
Apr 10, 2026
Merged

Retry BigQuery dataset creation in test setup#663
jmqd merged 1 commit intomainfrom
jm/retries-flaky-test-setup

Conversation

@jmqd
Copy link
Copy Markdown
Contributor

@jmqd jmqd commented Apr 10, 2026

Transient DNS failures in CI cause all BigQuery integration tests to fail. Wrap create_dataset() with retry_with_backoff (4 retries, 1-4s backoff) for network and 5xx errors only.

In #658, I observed flaky test behavior due to DNS name resolution in this code path: https://github.com/supabase/etl/actions/runs/24228148380/job/70733680152

Transient DNS failures in CI cause all BigQuery integration tests to
fail. Wrap create_dataset() with retry_with_backoff (4 retries, 1-4s
exponential backoff) for network and 5xx errors only.
@jmqd jmqd marked this pull request as ready for review April 10, 2026 07:10
@jmqd jmqd requested a review from a team as a code owner April 10, 2026 07:10
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 78.378% (-0.002%) from 78.38% — jm/retries-flaky-test-setup into main

@jmqd jmqd merged commit 9cc3cb1 into main Apr 10, 2026
13 checks passed
@jmqd jmqd deleted the jm/retries-flaky-test-setup branch April 10, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants