Skip to content

fix(composer): find references through the repository github account - #1402

Merged
nixuuu merged 1 commit into
devfrom
fix/github-pr-suggestions
Nov 28, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/github-pr-suggestions

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 28, 2026

Copy link
Copy Markdown
Member

A workspace with a GitHub App installation could show pull requests in the PR panel while the new-thread composer found nothing for the same repository. The composer only consulted project-granted MCP accounts.

The gateway now searches the GitHub account selected for the workspace remote. A number such as #1386 looks up the issue or pull request directly, including closed and merged items. The picker also supports text, links and recent open items. GitHub results share the existing reference format, and sending the message checks current access to the workspace repository. A GitHub MCP connector may still provide its own results. When both return the same PR, the picker shows the repository account's result once.

Verification

  • All 17 focused tests passed across the GitHub App, linked-computer mentions and provider suites. They cover delivery to the worker, removal of installation access, repository boundaries and duplicate results.
  • Gateway and integration-test typechecks passed, along with edited-file lint and formatting.
  • On the new-thread page in Chromium, typing #1386 and choosing the PR inserted the expected chip at 1440 × 900 and 390 × 844 with fixture responses at the HTTP boundary.
  • Live GraphQL queries by number and title both found the merged itsoltech/canopy#1386.
  • Repository-wide verification runs in CI.

Copy audit

The empty state previously directed users only to Settings → Connectors. It now points to both GitHub repository access and connector access. Read failures and unavailable references give a next action. Reviewed the changed English copy against §8 and verified wrapping at both browser widths.

Fixes: #1176

@nixuuu
nixuuu enabled auto-merge (squash) November 28, 2026 07:55
@nixuuu
nixuuu merged commit 655d11b into dev Nov 28, 2026
24 checks passed
@nixuuu
nixuuu deleted the fix/github-pr-suggestions branch November 28, 2026 08:00
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