Flaky: auth app_passwords a_cold_valid_password_gets_through_a_concurrent_flood (429 under full-suite load) #1157

Open
opened 2026-11-15 09:23:16 +00:00 by kayg · 0 comments
Owner

cargo test -j4 --workspace --locked --no-fail-fast on dev-01 (2026-11-15, head ac5669771 of #1011, which doesn't touch crates/auth) failed once:

test a_cold_valid_password_gets_through_a_concurrent_flood ... FAILED
crates/auth/tests/app_passwords.rs:1122:5  left: 429  right: 200

It did not reproduce: re-run alone ×10 on that head, 10/10 pass, and ×10 on dev ee50429e7, 10/10 pass. It passed in the same full-workspace run at 8c6807e18. So it's a flake under full-suite load (other test binaries running in parallel on a shared host), probably a timing-based rate limit in the test. Under the flaky rule it doesn't block; this issue tracks a stability fix (for example, make the test's limiter clock or budget deterministic instead of wall-clock).

`cargo test -j4 --workspace --locked --no-fail-fast` on dev-01 (2026-11-15, head `ac5669771` of #1011, which doesn't touch `crates/auth`) failed once: ``` test a_cold_valid_password_gets_through_a_concurrent_flood ... FAILED crates/auth/tests/app_passwords.rs:1122:5 left: 429 right: 200 ``` It did not reproduce: re-run alone ×10 on that head, 10/10 pass, and ×10 on dev `ee50429e7`, 10/10 pass. It passed in the same full-workspace run at `8c6807e18`. So it's a flake under full-suite load (other test binaries running in parallel on a shared host), probably a timing-based rate limit in the test. Under the flaky rule it doesn't block; this issue tracks a stability fix (for example, make the test's limiter clock or budget deterministic instead of wall-clock).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#1157
No description provided.