Repository navigation
feat(truapi)!: cancel a funding session in any state - #2252
Merged
Merged
Conversation
Register the overlay before the session is held, and decide under the overlays lock whether a cancel or the overlay asks the provider.
This was referenced Nov 23, 2026
filvecchiato
marked this pull request as ready for review
November 23, 2026 15:10
pgherveou
approved these changes
Nov 23, 2026
Contributor
Bundle size reportCompared with
WebAssembly modules
Changed files (1)
Commit: 4d475a8 |
Contributor
|
CI Status: 26 required jobs green, 22 passed and 4 skipped by path filter. All job results
Signing credentials: valid as of 2026-11-24 Commit |
Contributor
|
This pull request touches an app, which is not built by default. Add a label for each build you want:
Each starts as soon as it is added and follows the branch from then on. |
filvecchiato
enabled auto-merge
November 24, 2026 13:06
14 tasks done
filvecchiato
added a commit
that referenced
this pull request
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cancel_funding(intent)cancels a funding session in any state. The core decides what a cancel does from the session's state, so a host needs one call to stop an entry and no separate stop-starting or leave call.present_funding(the host takes the overlay down), drops the session; watchers seeFailed { Cancelled }EndedRequestedEndedRequested, thenEndedconfirm_funding_cancelRequested/Pending/TooLateRefusedClosing the overlay is not a cancel. Before the session starts, the host answers
present_fundingwithDismissed(or callscancel_funding, which has the same effect). After it starts, the session keeps running and the core is not told.cancel_funding_auto_startstays for going back from the quotes while the session stays open.The RFC's Cancel section and
RUNTIME.mdlist the table.iOS (#2257) and Android (#2258) switch over in follow-ups: their
cancelcallscancel_fundingdirectly, without the presenting branch.Closes #2256. Part of #2255.