Skip to content

Expect retry-conditional event to WILL_SUPPLY - #672

Merged
jakub-id merged 1 commit into
mainfrom
add-retry-will-supply
Jul 21, 2026
Merged

Expect retry-conditional event to WILL_SUPPLY#672
jakub-id merged 1 commit into
mainfrom
add-retry-will-supply

Conversation

@jakub-id

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 21, 2026 12: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.

Pull request overview

Adds support for receiving the supplier retry-conditional (ISO18626 RetryPossible) message event when a borrower-side patron request is already in WILL_SUPPLY, allowing the request to move into the retry workflow rather than rejecting the status change.

Changes:

  • Extend the requester-side WILL_SUPPLY state to accept the retry-conditional event and transition to RETRY_PENDING.
  • Regenerate/update the compiled state model JSON to reflect the YAML change.
  • Add a unit test asserting the WILL_SUPPLYRETRY_PENDING transition on retry-conditional.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
misc/state-models.yaml Adds retry-conditional as an allowed event in WILL_SUPPLY (requester side), transitioning to RETRY_PENDING.
broker/patron_request/service/statemodels/state-models.json Updates the generated state model artifact to include the new event mapping.
broker/patron_request/service/action_mapping_test.go Adds a test covering the new event transition from borrower WILL_SUPPLY.

@jakub-id
jakub-id merged commit f5352de into main Jul 21, 2026
6 checks passed
@jakub-id
jakub-id deleted the add-retry-will-supply branch July 21, 2026 12:52
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.

4 participants