Skip to content

fix: pr-bug-scan findings from #1409#1422

Open
buf0-bot[bot] wants to merge 1 commit intomainfrom
bot/pr-bug-scan-1409-1777952753
Open

fix: pr-bug-scan findings from #1409#1422
buf0-bot[bot] wants to merge 1 commit intomainfrom
bot/pr-bug-scan-1409-1777952753

Conversation

@buf0-bot
Copy link
Copy Markdown
Contributor

@buf0-bot buf0-bot Bot commented May 5, 2026

Automated fix-PR from pr-bug-scan for parent #1409.

Fixer summary: Fixed pty-connection passphrase wait gate: added 'disconnected' as terminal status (only after seeing a non-disconnected state) so cancel resolves; added waitTeardowns registry so dispose() actively unsubscribes + resolves in-flight waits to prevent zustand listener/IIFE leaks.
Typecheck: skipped

Findings addressed

  • [high] src/renderer/src/components/terminal-pane/pty-connection.ts — wait promise hangs forever if user cancels passphrase dialog
  • [medium] src/renderer/src/components/terminal-pane/pty-connection.ts — store subscriber leaks when pane disposes during wait

This PR was generated by the pr-bug-scan automation and reviewed by an agent reviewer. Human approval required before merge.

Fixed pty-connection passphrase wait gate: added 'disconnected' as terminal status (only after seeing a non-disconnected state) so cancel resolves; added waitTeardowns registry so dispose() actively u
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.

0 participants