feat(issues): Link commit activities to pull requests#119373
Draft
scttcper wants to merge 5 commits into
Draft
Conversation
Resolved-in-release activities only linked to the release even when Sentry knew which commit caused the resolution. Prefer the associated pull request in both activity feeds and fall back to the exact commit when there is no PR. Activities without the new backend data keep the existing display. Co-Authored-By: GPT-5 <noreply@openai.com>
Referenced commit activities already include the associated pull request, but the activity feed only showed the commit. Keep the commit context and add the pull request link when it is available in both activity feed variants. Co-Authored-By: GPT-5 <noreply@openai.com>
Keep the pull request links limited to the new issue activity feed behind issue-activity-feed-v2. Restore the legacy renderer and remove its new test coverage. Co-Authored-By: GPT-5 <noreply@openai.com>
The semver and non-semver suffixes add noise next to the release link in the new activity feed. Keep the release context and drop the classification text. Co-Authored-By: GPT-5 <noreply@openai.com>
Keep the activity tests focused on the links we render instead of asserting removed text stays absent. Co-Authored-By: GPT-5 <noreply@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit-backed issue activities already have pull request data, but the new issue activity feed mostly stops at the release or commit.
Behind issue-activity-feed-v2, this prefers the pull request for resolved-in-release activities and adds the pull request alongside referenced commits. The legacy activity feed is unchanged.
Depends on #119372. Screenshots will follow once the dependent API payload is available in a runnable environment.