Repository navigation
Commit 777d927
test(retry-props): property test for the budget-exhaustion path
The existing AsyncRetry property tests build budgets with
`min_retries_per_sec=1000.0` — floor of 60_000 retries permitted
unconditionally — so the budget-exhaustion path is never exercised by
Hypothesis. Add a focused property test on RetryBudget directly that
configures `min_retries_per_sec=0.0` and asserts: exactly ceiling
permits succeed, then the next one fails.
Pairs with the math.ceil fix in commit 1 of this branch — the same
ceiling formula is now the regression guard for both production and tests.
Closes audit Nit finding (test_retry_props.py:60) from
planning/audit/2026-06-07-deep-audit.md.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent fd60067 commit 777d927
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
0 commit comments