-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix(agents-insights): redirect from LLM #14318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Redirect Chain Drops Path Parameters
The new redirect rule creates an inefficient redirect chain and loses path parameters. URLs matching /product/insights/llm-monitoring/:path* first redirect to /product/insights/ai/:path*, then immediately to /product/insights/agents/. The second redirect drops the :path* segment, causing specific subpages to incorrectly land on the generic /product/insights/agents/ page. The new redirect's destination should preserve the path (e.g., /product/insights/agents/:path*).
redirects.js#L969-L976
Lines 969 to 976 in ffa70b6
| { | |
| source: '/product/insights/llm-monitoring/:path*', | |
| destination: '/product/insights/ai/:path*', | |
| }, | |
| { | |
| source: '/product/insights/ai/:path*', | |
| destination: '/product/insights/agents/', | |
| }, |
Was this report helpful? Give feedback by reacting with 👍 or 👎
Bundle ReportChanges will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-client-array-pushAssets Changed:
view changes for bundle: sentry-docs-server-cjsAssets Changed:
|
No description provided.