Skip to content

test(gui): add _on_send_failed guard-release test (tincan-tenvy)#59

Merged
quad341 merged 1 commit into
mainfrom
test/double-submit-send-failed
Jun 6, 2026
Merged

test(gui): add _on_send_failed guard-release test (tincan-tenvy)#59
quad341 merged 1 commit into
mainfrom
test/double-submit-send-failed

Conversation

@quad341
Copy link
Copy Markdown
Owner

@quad341 quad341 commented Jun 6, 2026

Summary

  • Adds §4 TestGuardReleasedAfterFailed to test_double_submit_guard.py
  • Verifies that _on_send_failed + event flush allows same (phone, text) to re-send
  • Completes lifecycle coverage: guard blocked while in-flight, released on both send_accepted and send_failed

The existing §1–§3 tests (already in origin/main) covered the in-flight block and accepted-path release. This PR adds the missing failed-path release case per tincan-tenvy.

7/7 tests pass. Ruff clean.

Closes tincan-tenvy

🤖 Generated with Claude Code

…uard (tincan-tenvy)

§4: after _on_send_failed + event flush, same (phone, text) may re-send.
Completes coverage of _pending_sends lifecycle: blocked while in-flight,
released on both send_accepted and send_failed paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@quad341 quad341 merged commit a2a7960 into main Jun 6, 2026
1 check passed
@quad341 quad341 deleted the test/double-submit-send-failed branch June 6, 2026 03:47
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