You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
React #185 crash loop in workspace-checkout-display when project repo has no git remote #1791
Version: bb-app 0.38.0 (npm global, Linux x64, Ubuntu 24.04, Node 26.7.0), server paired via bb connect, accessed through the macOS desktop app and getbb.app web.
What happened: Opened a thread in a project whose repo is git init-ed but has no remotes. The UI crashed with "bb hit an error and stopped" — Minified React error #185 (maximum update depth exceeded), stack pointing at workspace-checkout-display-Dzo452hY.js with a long recursive tail in the renderer.
Likely trigger:bb thread show for the same thread prints: Pull request: unavailable — gh pr view failed: no git remotes found. Hypothesis: the checkout/PR display re-renders in a loop when the PR state is unavailable because the repo has no remote.
Closing this as fixed by #1669 (and #1694), which landed on main after 0.38.0.
What we checked
Reproduction attempts on both current main and packaged [email protected] with a git init repo that has no remotes: local-path thread, managed worktree thread, direct URL load, sidebar navigation, 390px mobile viewport, host daemon blocked (remote environment), and 12 repeated loads under 6× CPU throttling. No React Surface active pull request status #185 in any run.
The unavailable PR payload ({"outcome":"unavailable","message":"gh pr view failed: no git remotes found"}) is byte-stable across refetches, so it cannot drive a re-render loop.
apps/app/src/lib/workspace-checkout-display.ts is a pure formatter with no state or effects. The chunk workspace-checkout-display-Dzo452hY.js in the 0.38.0 bundle is the whole thread-detail chunk (Vite names it after one entry module), so the file name does not point at that component.
Please retest on the next release or a nightly that includes #1669. If the crash persists, reopen with the full source-mapped stack (or the first non-React frame).
Activity
SawyerHood commentedon Aug 18, 2026
Closing this as fixed by #1669 (and #1694), which landed on
mainafter 0.38.0.What we checked
mainand packaged[email protected]with agit initrepo that has no remotes: local-path thread, managed worktree thread, direct URL load, sidebar navigation, 390px mobile viewport, host daemon blocked (remote environment), and 12 repeated loads under 6× CPU throttling. No React Surface active pull request status #185 in any run.unavailablePR payload ({"outcome":"unavailable","message":"gh pr view failed: no git remotes found"}) is byte-stable across refetches, so it cannot drive a re-render loop.apps/app/src/lib/workspace-checkout-display.tsis a pure formatter with no state or effects. The chunkworkspace-checkout-display-Dzo452hY.jsin the 0.38.0 bundle is the whole thread-detail chunk (Vite names it after one entry module), so the file name does not point at that component.PromptBoxInternal. fix(app): prevent composer history update loops #1669 fixed a React Surface active pull request status #185 loop on thread open in that component with a matching production stack shape; its trigger is timing-dependent, which matches "opened a thread, crashed" without a deterministic repro. Fix the render loop when a New plugin example seeds the root composer #1694 is a second post-0.38.0 Surface active pull request status #185 fix.Next step
Please retest on the next release or a nightly that includes #1669. If the crash persists, reopen with the full source-mapped stack (or the first non-React frame).