Skip to content

fix(test): resolve flaky CSRF integration test#20

Merged
ozymandiashh merged 1 commit intomainfrom
fix/flaky-csrf-test
Mar 22, 2026
Merged

fix(test): resolve flaky CSRF integration test#20
ozymandiashh merged 1 commit intomainfrom
fix/flaky-csrf-test

Conversation

@ozymandiashh
Copy link
Copy Markdown
Owner

Fixes ConnectionResetError on macOS 3.9 when server rejects bad CSRF token and resets connection. Returns HTTP error code directly instead of retrying with same bad token.

When server rejects with 403 and resets connection, return the HTTP
error code directly instead of retrying (retry sends same bad token).

Co-Authored-By: Claude <noreply@anthropic.com>
@ozymandiashh ozymandiashh merged commit 545137f into main Mar 22, 2026
15 checks passed
@ozymandiashh ozymandiashh deleted the fix/flaky-csrf-test branch March 22, 2026 15:02
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