Skip to content

bridgev2/matrix: allow canceling a single step - #560

Merged
radon-at-beeper merged 3 commits into
mainfrom
rr-mfa-back
Aug 28, 2026
Merged

bridgev2/matrix: allow canceling a single step#560
radon-at-beeper merged 3 commits into
mainfrom
rr-mfa-back

Conversation

@radon-at-beeper

Copy link
Copy Markdown
Contributor

No description provided.

@radon-at-beeper
radon-at-beeper marked this pull request as ready for review August 27, 2026 18:19
@radon-at-beeper
radon-at-beeper requested a review from tulir August 27, 2026 18:19
wait step returns an error saying it was cancelled. the next step is
returned by the cancel call, not by the wait step. as part of that,
change the CancelUserInput to a generic CancelStep so it's used for
any type of step that supports cancellation, rather than the Wait
being responsible for checking the context passed to it.

@tulir tulir left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks correct, we should probably write unit tests for the provisioning login state machine at some point

@radon-at-beeper
radon-at-beeper merged commit ea20089 into main Aug 28, 2026
10 checks passed
@radon-at-beeper
radon-at-beeper deleted the rr-mfa-back branch August 28, 2026 16:54
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