Skip to content

Enable retries for integration tests - #2143

Merged
edmorley merged 1 commit into
mainfrom
edmorley/enable-retries-integration-tests
Sep 7, 2026
Merged

edmorley merged 1 commit into
mainfrom
edmorley/enable-retries-integration-tests

Conversation

@edmorley

@edmorley edmorley commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Enable rspec-retry retries for the Hatchet integration tests, so that transient errors (such as network blips when deploying test apps or installing packages) don't fail the whole CI run.

The retry count and sleep interval are set via rspec-retry's config options in spec_helper.rb, with retries enabled only when running in CI.

The HATCHET_APP_LIMIT and HATCHET_EXPENSIVE_MODE settings are also moved from the CI workflow into spec_helper.rb, so they apply to local test runs too (with HATCHET_APP_LIMIT scaled down for local use).

GUS-W-24117502.

@edmorley edmorley self-assigned this Sep 7, 2026
Enable `rspec-retry` retries for the Hatchet integration tests, so that
transient errors (such as network blips when deploying test apps or
installing packages) don't fail the whole CI run.

The retry count and sleep interval are set via `rspec-retry`'s config
options in `spec_helper.rb`, with retries enabled only when running in
CI.

The `HATCHET_APP_LIMIT` and `HATCHET_EXPENSIVE_MODE` settings are also
moved from the CI workflow into `spec_helper.rb`, so they apply to local
test runs too (with `HATCHET_APP_LIMIT` scaled down for local use).

GUS-W-24117502.
@edmorley
edmorley force-pushed the edmorley/enable-retries-integration-tests branch from 8df52dd to e90c3fb Compare September 7, 2026 14:39
@edmorley
edmorley marked this pull request as ready for review September 7, 2026 14:42
@edmorley
edmorley requested a review from a team as a code owner September 7, 2026 14:42
@edmorley
edmorley enabled auto-merge (squash) September 7, 2026 14:42
@edmorley
edmorley merged commit 5cbff54 into main Sep 7, 2026
10 checks passed
@edmorley
edmorley deleted the edmorley/enable-retries-integration-tests branch September 7, 2026 15:35
@heroku-linguist heroku-linguist Bot mentioned this pull request Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants