Skip to content

fix: pr-bug-scan findings from #1481 - #1566

Merged
nwparker merged 1 commit into
mainfrom
bot/pr-bug-scan-1481-1778211082
May 8, 2026
Merged

nwparker merged 1 commit into
mainfrom
bot/pr-bug-scan-1481-1778211082

Conversation

@buf0-bot

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

Copy link
Copy Markdown
Contributor

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

Fixer summary: Split session screen's clearTerminalCache cleanup into a mount-only effect; included client identity in home-screen wireUp dep key via a WeakMap-derived clientKey so forceReconnect re-attaches subs.
Typecheck: skipped

Findings addressed

  • ✅ [medium] mobile/app/h/[hostId]/session/[worktreeId].tsx:436 — clearTerminalCache fires on every client identity change
  • ✅ [medium] mobile/app/index.tsx — useEffect deps array uses inline expression — runs every render

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

Split session screen's clearTerminalCache cleanup into a mount-only effect; included client identity in home-screen wireUp dep key via a WeakMap-derived clientKey so forceReconnect re-attaches subs.

Findings addressed:
- mobile/app/h/[hostId]/session/[worktreeId].tsx:436 — clearTerminalCache fires on every client identity change
- mobile/app/index.tsx — useEffect deps array uses inline expression — runs every render

Rebased onto current main.
@buf0-bot
buf0-bot Bot force-pushed the bot/pr-bug-scan-1481-1778211082 branch from 4c7f3a3 to 471aebc Compare May 8, 2026 06:10
@nwparker
nwparker merged commit 32b88bc into main May 8, 2026
3 checks passed
@nwparker
nwparker deleted the bot/pr-bug-scan-1481-1778211082 branch May 8, 2026 06:11
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Split session screen's clearTerminalCache cleanup into a mount-only effect; included client identity in home-screen wireUp dep key via a WeakMap-derived clientKey so forceReconnect re-attaches subs.

Findings addressed:
- mobile/app/h/[hostId]/session/[worktreeId].tsx:436 — clearTerminalCache fires on every client identity change
- mobile/app/index.tsx — useEffect deps array uses inline expression — runs every render

Rebased onto current main.

Co-authored-by: orca-bot <[email protected]>
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