Skip to content

fix(auth): preserve token refreshes across caller cancellation #249

fix(auth): preserve token refreshes across caller cancellation

fix(auth): preserve token refreshes across caller cancellation #249

Triggered via pull request October 12, 2026 13:38
Status Failure
Total duration 15m 47s
Artifacts –

mutants.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Mutants gate
Process completed with exit code 1.
Mutants gate
Surviving mutants in the PR diff. Add tests that catch them (see the PR comment).
Missed mutant: packages/stack-auth/src/auto_refresh/tests/soak.rs#L21
replace << with >> in Random::below
Missed mutant: packages/stack-auth/src/auto_refresh/tests/soak.rs#L21
replace ^= with |= in Random::below
Missed mutant: packages/stack-auth/src/auto_refresh/tests/soak.rs#L19
replace << with >> in Random::below
Missed mutant: packages/stack-auth/src/auto_refresh/tests/soak.rs#L19
replace ^= with |= in Random::below
Missed mutant: packages/stack-auth/src/auto_refresh/tests/cancellation.rs#L154
replace == with != in cancelled_at
Missed mutant: packages/stack-auth/src/auto_refresh/tests/cancellation.rs#L90
replace * with + in <impl Refresher for RotatingRefresher>::refresh
Missed mutant: packages/stack-auth/src/auto_refresh/tests/cancellation.rs#L63
replace match guard self.0.initial_auth with true in <impl Refresher for RotatingRefresher>::try_credential
Missed mutant: packages/stack-auth/src/auto_refresh.rs#L526
replace < with <= in RefreshState<R, S>::refresh_non_blocking
Missed mutant: packages/stack-auth/src/auto_refresh.rs#L526
replace < with == in RefreshState<R, S>::refresh_non_blocking