Repository navigation
feat(truapi)!: funding provider trait, reports and settlement - #1317
Draft
filvecchiato wants to merge 22 commits into
Draft
filvecchiato wants to merge 22 commits into
filvecchiato wants to merge 22 commits into
Conversation
# Conflicts: # rust/crates/truapi-codegen/tests/golden/wire_table.rs # rust/crates/truapi/src/host_core.rs # rust/crates/truapi/src/native.rs # rust/crates/truapi/src/native/platform.rs # rust/crates/truapi/src/native/runtime.rs # rust/crates/truapi/src/runtime/tests.rs
# Conflicts: # rust/crates/truapi-codegen/tests/golden/wire_table.rs # rust/crates/truapi/RUNTIME.md # rust/crates/truapi/src/host_core.rs # rust/crates/truapi/src/lib.rs # rust/crates/truapi/src/native.rs # rust/crates/truapi/src/native/callbacks.rs # rust/crates/truapi/src/native/platform.rs # rust/crates/truapi/src/native/runtime.rs # rust/crates/truapi/src/platform.rs # rust/crates/truapi/src/runtime/services.rs
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. |
Contributor
Bundle size reportCompared with
WebAssembly modules
Changed files (10)
Commit: 8c6a37f |
Contributor
|
CI Status: not green, 2 items need attention.
All job results
Signing credentials: failure as of 2026-10-08, a release may fail Commit |
filvecchiato
added this pull request to stack #1320
October 7, 2026 19:03
This was referenced Oct 7, 2026
# Conflicts: # rust/crates/truapi-codegen/tests/golden/wire_table.rs # rust/crates/truapi/src/lib.rs
# Conflicts: # rust/crates/truapi-codegen/tests/golden/wire_table.rs # rust/crates/truapi/RUNTIME.md
# Conflicts: # rust/crates/truapi-codegen/tests/golden/wire_table.rs # rust/crates/truapi/src/lib.rs
# Conflicts: # rust/crates/truapi-codegen/tests/golden/wire_table.rs
3 tasks done
This was
linked to
issues
Oct 9, 2026
This branch has not been deployed
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.
Part of #1145. Stacked on #1315, with #1314 (payments) merged in, so until #1314 lands its changes show here too.
FundingProvidertrait for the provider's worker (wire id 24):serveSubscribereplays the sessions in flight, then streams new assignments and cancel requests.reportstores each update on the session. Only the assigned provider can report, updates only move forward, and a top-up or payment id used by another of the provider's sessions is refused withDuplicateId.presentFrameshows one of the provider's screens in a host frame.select_funding_providerhands a session to the provider the user chose. The core holds that provider's worker while the session is open.Deliveredfrom what the named top-ups claimed (Crediting, up to 3, thenDelivered).Releasedonce the named payment completes (Collecting).api.rslists every trait id, with 23 reserved for the open expanded-card work.