Skip to content

impl/cancel-bus - #446

Merged
ckakgun merged 1 commit into
mainfrom
impl/cancel-bus
Aug 7, 2026
Merged

impl/cancel-bus#446
ckakgun merged 1 commit into
mainfrom
impl/cancel-bus

Conversation

@ckakgun

@ckakgun ckakgun commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

feat: enhance execution cancellation logic and add retry mechanism

  • Introduced execution_cancel_listener to manage execution cancellation events.
  • Updated ActiveExecutionRegistry to track command attempts and drop permanently failing commands after a set number of retries.
  • Modified request_persisted_execution_cancel to ensure cancellation broadcasts occur even if the database update fails.
  • Added tests to verify that cancelled executions are excluded from processing and that command attempts reset upon success.

This improves the resilience of the execution cancellation process and prevents blocking due to persistent failures.

- Introduced `execution_cancel_listener` to manage execution cancellation events.
- Updated `ActiveExecutionRegistry` to track command attempts and drop permanently failing commands after a set number of retries.
- Modified `request_persisted_execution_cancel` to ensure cancellation broadcasts occur even if the database update fails.
- Added tests to verify that cancelled executions are excluded from processing and that command attempts reset upon success.

This improves the resilience of the execution cancellation process and prevents blocking due to persistent failures.
@ckakgun
ckakgun enabled auto-merge August 7, 2026 22:58
@ckakgun
ckakgun merged commit 2f4ce6f into main Aug 7, 2026
2 checks passed
@ckakgun
ckakgun deleted the impl/cancel-bus branch August 7, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant