chore(event formatter): use formatter for copy to markdown#119834
chore(event formatter): use formatter for copy to markdown#119834shayna-ch wants to merge 9 commits into
Conversation
|
🚨 Warning: This pull request contains Frontend and Backend changes! It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently. Have questions? Please ask in the |
985c852 to
5dafe74
Compare
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 0e30e19. Configure here.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7a5ecc6. Configure here.
| llmMarkdown += `\n\n${autofixFormatted}`; | ||
| } | ||
| return llmMarkdown; | ||
| } |
There was a problem hiding this comment.
Server path drops autofix content
Medium Severity
When event.formatted is present, issueAndEventToMarkdown returns early and only appends autofixFormatted, ignoring autofixData. If server-formatted autofix is missing while cached autofix state still has root cause or solution content, that Seer analysis is omitted from the copied markdown.
Reviewed by Cursor Bugbot for commit 7a5ecc6. Configure here.


to be merged after #119545
Wires the issue-details "Copy to Markdown" action to the shared formatter. The event-details and autofix queries now request
?llmFormat=markdown, and when the API returns a formatted payload the copy output is built from that server-rendered markdown (issue ID / project / date header + the formatted event body, plus the autofix markdown when present). When formatted is absent, it falls back to the existing client-side markdown builder.No behavioral change on merge. behind the
issues.standardized-markdown-for-llmoption. Rollout will happen gradually via feature flag.