Skip to content

fix(github): Find related conversations by a pull request's link too - #4386

Merged
BYK merged 1 commit into
feat/github-issue-assignee-itemsfrom
fix/related-conversations-by-link
Nov 25, 2026
Merged

BYK merged 1 commit into
feat/github-issue-assignee-itemsfrom
fix/related-conversations-by-link

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #4340.

github_getPullRequest finds related_conversations by the pull request's subject (github:pull_request + GitHub's id). A card attached from a pasted link can lack GitHub's id, so its Annotation's subject is the core link kind with the link. Those Conversations dropped out of related_conversations, even when the repository name did not change.

Plugin conversations.search now also takes the object's url. Core matches it, case-insensitively, against the stored link and the key, in addition to the subject. github_getPullRequest passes the pull request's html_url.

via @BYK.

--

View Session [Sentry]

A card from a pasted link can lack GitHub's id, so its Annotation has
only the link as its subject. Plugin conversation search now takes the
object's link as well.
@sentry-junior
sentry-junior Bot requested a review from BYK November 25, 2026 22:22
@vercel

vercel Bot commented Nov 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 25, 2026 10:22pm UTC

Request Review

@github-actions github-actions Bot added the risk: high PR risk score: high label Nov 25, 2026
@BYK
BYK merged commit 39547ca into feat/github-issue-assignee-items Nov 25, 2026
8 checks passed
@BYK
BYK deleted the fix/related-conversations-by-link branch November 25, 2026 22:31
sentry-junior Bot added a commit that referenced this pull request Nov 25, 2026
The base merged the link search test from #4386 after #4351 made the saved
Annotation strict, so its `label` no longer typechecks.

Co-Authored-By: BYK <[email protected]>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — ac626b17 Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant