Drain authored mutations before shutdown #462

Merged
timmy merged 1 commits from timmy/461-drain-authored-mutations into main 2026-08-10 07:14:29 +00:00
Owner

Closes #461

What changed

  • drain in-flight authored actions before closing the shared Gitea transport
  • bound shutdown with a configurable five-second grace period and cancel stalled work
  • document the restart and fail-closed behavior

Verification

  • RED: shutdown completed before a live authored mutation (test_application_shutdown_drains_authored_mutation_before_transport)
  • GREEN: python3 -m pytest tests/test_gitea_transport.py -q (12 passed)
  • focused idempotency: python3 -m pytest tests/test_authored_idempotency.py -q (12 passed)
  • full suite: python3 -m pytest tests/ -q (895 passed)
Closes #461 ## What changed - drain in-flight authored actions before closing the shared Gitea transport - bound shutdown with a configurable five-second grace period and cancel stalled work - document the restart and fail-closed behavior ## Verification - RED: shutdown completed before a live authored mutation (`test_application_shutdown_drains_authored_mutation_before_transport`) - GREEN: `python3 -m pytest tests/test_gitea_transport.py -q` (12 passed) - focused idempotency: `python3 -m pytest tests/test_authored_idempotency.py -q` (12 passed) - full suite: `python3 -m pytest tests/ -q` (895 passed)
timmy added 1 commit 2026-08-10 07:13:12 +00:00
fix: drain authored actions on shutdown (#461)
All checks were successful
CI / lint (pull_request) Successful in 51s
CI / build-release (pull_request) Successful in 5s
CI / release-candidate (pull_request) Has been skipped
0dd3932d14
timmy merged commit 9904f17e3d into main 2026-08-10 07:14:29 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
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: stackchain/stackchain-dashboard#462
No description provided.