Skip to content

React #185 crash loop in workspace-checkout-display when project repo has no git remote #1791

Closed

Description

@jon-cricket

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.

Repro (expected): 1

Activity

  1. added
    ui
    workspaces
    on Aug 18, 2026
  2. added theissue type on Aug 18, 2026
  3. SawyerHood commented on Aug 18, 2026

    @SawyerHood
    Collaborator

    Closing this as fixed by #1669 (and #1694), which landed on main after 0.38.0.

    What we checked

    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).

    AGENT GENERATED: by Claude Opus 5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    uiworkspaces

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions