Skip to content

Add hard cancel to CONDITION_PENDING - #777

Merged
jakub-id merged 4 commits into
mainfrom
cancel-condition-pending
Sep 23, 2026
Merged

jakub-id merged 4 commits into
mainfrom
cancel-condition-pending

Conversation

@jakub-id

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 22, 2026 18:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Restore the nil-ServiceInfo regression test case in action_test.go.

Review effort: Lite
Findings: None

What changed in this PR

Adds a hard cancel-request action for CONDITION_PENDING, with updated documentation and test coverage.

Changes:

  • Adds the cancellation action and transition.
  • Documents cancellation behavior.
  • Expands action mapping and execution tests.
File Summary
misc/​state-models.yaml Adds hard cancellation from CONDITION_PENDING.
broker/​README.md Documents cancellation semantics.
broker/​patron_request/​service/​action_test.go Tests cancellation across states and service types; retain a separate nil-ServiceInfo regression case.
broker/​patron_request/​service/​action_mapping_test.go Updates expected action mappings.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@jakub-id
jakub-id merged commit 1526910 into main Sep 23, 2026
8 of 10 checks passed
@jakub-id
jakub-id deleted the cancel-condition-pending branch September 23, 2026 21:56
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.

2 participants