refactor(request): delegate payment sessions to mppx#63
Open
gakonst wants to merge 1 commit into
Open
Conversation
gakonst
force-pushed
the
georgios/mppx-session-manager
branch
from
July 20, 2026 19:44
90fec77 to
5484d35
Compare
gakonst
marked this pull request as ready for review
July 20, 2026 19:44
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.
Summary
tempo.session.managerChannelStore, defaulting to the shared~/.tempo/wallet/channels.dbDepends on the client rehydration API in wevm/mppx#675 and the independent Node SQLite store in wevm/mppx#677. Until those changes are released together, the dependency is pinned to immutable pkg.pr.new commit
8b64593, which contains both runtime changes (plus the server-side follow-up from #676).Current-main red proof
Tested against exact
origin/maincommitf758ec2in a detached worktree with the identical regression test:Observed request sequence on current main:
GETonly. The legacy wallet-owned path tried to calculate/open a deposit and never sent the bootstrap request.Feature green proof
The identical test passes here with request sequence
GET -> HEAD -> GET: the initial 402 selects the managed path, MPPx bootstraps the session, and wallet-cli retries the content request.The preview was installed from the pinned lockfile into a clean dependency graph before the latest validation run;
mppx/client/noderesolved from commit8b64593.Validation:
tempo-requestbundle and native package checks: pass; bundled output retainsnode:sqlite