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
Github plugin fails to load PRs when issues are disabled for repo #1267
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
Add a bb project whose GitHub repository has Issues disabled.
Enable the GitHub plugin.
Run bb github sync.
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
Fix GitHub PR sync for repos without issues (get-bb#1282)
Fix GitHub PR sync for repos without issues (get-bb#1282)