Skip to content

[codex] Remove wallet request timeout - #54

Merged
sirdeggen merged 6 commits into
masterfrom
codex/wallet-prompt-liveness
Jul 9, 2026
Merged

[codex] Remove wallet request timeout#54
sirdeggen merged 6 commits into
masterfrom
codex/wallet-prompt-liveness

Conversation

@ty-everett

Copy link
Copy Markdown
Collaborator

Summary

  • removes the Electron HTTP bridge's 30-second renderer response timeout
  • lets permission-gated wallet requests wait until the renderer returns a wallet result or explicit bridge/session error

Why

A visible wallet prompt is a legitimate pending state. Apps should not receive synthetic timeout failures while the user is still deciding.

Validation

  • npm ci
  • npm test
  • npm run build
  • npm audit --audit-level=low
  • git diff --check

@ty-everett
ty-everett marked this pull request as ready for review June 22, 2026 23:36
@Klar

Klar commented Jun 23, 2026

Copy link
Copy Markdown

#50

Comment thread electron/httpServer.ts Outdated
Comment thread electron/httpServer.ts Outdated
sirdeggen added 3 commits July 9, 2026 10:53
Keep permission-gated wallet requests open while the session is healthy,
but settle pendingRequests when the HTTP client disconnects, the renderer
crashes/reloads, the window closes, or the HTTP server shuts down.
@sirdeggen sirdeggen self-assigned this Jul 9, 2026
sirdeggen added 2 commits July 9, 2026 11:01
Track in-flight HTTP bridge sessions by originator, notify the renderer on
client disconnect, and deny/remove matching permission queue entries so
modals do not remain after the caller is gone.
Resolve conflicts by keeping vault lock gating from master, the HTTP
bridge disconnect/lifecycle cleanup from this branch, and package version 2.6.1.
@sirdeggen
sirdeggen dismissed their stale review July 9, 2026 16:04

Fixed implemented

@sirdeggen
sirdeggen merged commit e4401ce into master Jul 9, 2026
6 checks passed
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.

3 participants