Skip to content

Github plugin fails to load PRs when issues are disabled for repo #1267

Closed

Description

@andreasmcdermott

Environment

  • bb-app: 0.36.0
  • GitHub plugin: 0.2.0
  • macOS

Problem

The GitHub plugin syncs zero pull requests for a repository that has GitHub Issues disabled, even though the repository has open PRs.

Authentication is valid: gh auth status succeeds, the account has repository access, and gh pr list returns the expected PRs.

Reproduction

  1. Add a bb project whose GitHub repository has Issues disabled.
  2. Enable the GitHub plugin.
  3. Run bb github sync.
  4. Observe: Synced 0 item(s) across 1 repo(s).

Plugin logs contain:

sync failed ... gh issue list ... repository has disabled issues

Expected

PRs should still sync when Issues are disabled.

Suspected cause

The plugin fetches issue and PR lists in a single Promise.all. The failed gh issue list rejects the entire repository sync and discards the successful PR results. Issue and PR syncing should fail independently, or disabled Issues should be treated as an empty list.

Activity

  1. self-assigned this
    on Aug 10, 2026
  2. added a commit that references this issue on Aug 10, 2026
    f973054
  3. added a commit that references this issue on Aug 14, 2026
    9269f2f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions