Skip to content

test(webhooks): fit retry-recover within the 300s gate timeout#230

Merged
brandonrc merged 1 commit into
mainfrom
fix/webhook-retry-fit-timeout
Jun 21, 2026
Merged

test(webhooks): fit retry-recover within the 300s gate timeout#230
brandonrc merged 1 commit into
mainfrom
fix/webhook-retry-fit-timeout

Conversation

@brandonrc

Copy link
Copy Markdown
Contributor

Follow-up to #229. The retry-recover rewrite fixed the real flake (deltas=0s from sibling-suite contamination, via entity_id isolation) but set EXPECT_ATTEMPTS=3, which needs ~330s (30+60+120 backoff + ticks + jitter) and overran the run-suite TEST_TIMEOUT=300s → exit 124. Default to observing 1 retry interval (reject attempt 1, recover on attempt 2): proves retry+recover with real backoff spacing, fits 300s deterministically. Isolation fix retained; full ladder available via EXPECT_ATTEMPTS=3.

…fits the 300s gate timeout

The #229 rewrite correctly fixed the deltas=0s contamination (entity_id
isolation) but set EXPECT_ATTEMPTS=3, which waits for backoff 30+60+120s + 30s
ticks + jitter (~330s) and overruns the run-suite per-test TEST_TIMEOUT=300s
(exit 124). Default EXPECT_ATTEMPTS to 1: reject attempt 1, recover on attempt 2,
validate the first real backoff interval (~30s) and the recover path — fits well
inside 300s and stays deterministic. Full 3-interval ladder still available via
EXPECT_ATTEMPTS=3 + larger timeouts. Keeps the entity_id isolation fix intact.
@brandonrc brandonrc merged commit 4a40c1c into main Jun 21, 2026
@brandonrc brandonrc deleted the fix/webhook-retry-fit-timeout branch June 21, 2026 07:12
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.

1 participant