Skip to content

Fix session close retry on dynamic routes#487

Open
decofe wants to merge 2 commits into
wevm:mainfrom
decofe:kazanins/session-close-dynamic-retry
Open

Fix session close retry on dynamic routes#487
decofe wants to merge 2 commits into
wevm:mainfrom
decofe:kazanins/session-close-dynamic-retry

Conversation

@decofe
Copy link
Copy Markdown
Contributor

@decofe decofe commented May 30, 2026

Summary

  • retry HTTP session close once when the stale close credential is rejected with a fresh 402 challenge
  • sign the retry close credential against the newly advertised session challenge
  • keep the existing WebSocket close flow unchanged

Validation

  • corepack pnpm -C /home/agent/branches/wevm/mppx build
  • corepack pnpm -C /home/agent/branches/wevm/mppx exec tsgo -b --pretty false
  • targeted vp test src/tempo/client/SessionManager.test.ts was blocked by missing container runtime for the Tempo test server in this sandbox

Prompted by: @kazanins

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 30, 2026

Open in StackBlitz

npm i https://pkg.pr.new/mppx@487

commit: 8a6ad66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant