Conversation
…d instrumentation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
sfanahata
reviewed
Mar 9, 2026
Comment on lines
153
to
+159
| <Alert>{platformInfo}</Alert> | ||
| {isTracingAutomatedInstrumentation && ( | ||
| <Alert> | ||
| This page lists only platforms with automated tracing instrumentation. Some | ||
| platforms may be omitted due to technical limitations. | ||
| </Alert> | ||
| )} |
Contributor
There was a problem hiding this comment.
Suggested change
| <Alert>{platformInfo}</Alert> | |
| {isTracingAutomatedInstrumentation && ( | |
| <Alert> | |
| This page lists only platforms with automated tracing instrumentation. Some | |
| platforms may be omitted due to technical limitations. | |
| </Alert> | |
| )} | |
| <Alert> | |
| {platformInfo} | |
| {isTracingAutomatedInstrumentation && ( | |
| <> | |
| <br /> | |
| <br /> | |
| This page lists only platforms with automated tracing instrumentation. Some | |
| platforms may be omitted due to technical limitations. | |
| </> | |
| )} | |
| </Alert> |
Maybe make this one alert so there's not alert fatigue? Or, if you want to keep them separate, let's change the color of the second:
{isTracingAutomatedInstrumentation && (
<Alert level="warning">
This page lists only platforms with automated tracing instrumentation. Some
platforms may be omitted due to technical limitations.
</Alert>
)}```
Collaborator
Author
There was a problem hiding this comment.
Yep let's change the color.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Trailing slash causes alert to not display
- The alert condition now normalizes a single trailing slash from
pathnamebefore comparison so both canonical and slash-suffixed URLs display the warning.
- The alert condition now normalizes a single trailing slash from
Or push these changes by commenting:
@cursor push f98671e7e4
Preview (f98671e7e4)
diff --git a/app/platform-redirect/page.tsx b/app/platform-redirect/page.tsx
--- a/app/platform-redirect/page.tsx
+++ b/app/platform-redirect/page.tsx
@@ -31,7 +31,7 @@
const pathname = sanitizeNext(next);
const isTracingAutomatedInstrumentation =
- pathname === '/tracing/instrumentation/automatic-instrumentation';
+ pathname.replace(/\/$/, '') === '/tracing/instrumentation/automatic-instrumentation';
const rootNode = await getDocsRootNode();
const defaultTitle = 'Platform Specific Content';
let description = '';This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
Collaborator
Author
Normalize one trailing slash before comparing the redirect path for the\nautomated instrumentation notice. This preserves current routing behavior\nwhile ensuring the warning alert appears for equivalent URLs that end\nwith a slash. Co-Authored-By: Claude <noreply@anthropic.com> Applied via @cursor push command
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.

DESCRIBE YOUR PR
Closes DOCS-AAM
Actual link: https://docs.sentry.io/platform-redirect/?next=%2Ftracing%2Finstrumentation%2Fautomatic-instrumentation
My change:
IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes: