Skip to content

Conversation

@obostjancic
Copy link
Member

No description provided.

@obostjancic obostjancic requested a review from matejminar July 10, 2025 11:34
@vercel
Copy link

vercel bot commented Jul 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2025 0:03am
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2025 0:03am

Copy link

@cursor cursor bot left a 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

sentry-docs/redirects.js

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/',
},

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎

@codecov
Copy link

codecov bot commented Jul 10, 2025

Bundle Report

Changes will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 9.81MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 11.9MB -9 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 878.27kB -0.0%
static/chunks/1831-*.js -3 bytes 421.22kB -0.0%
static/AAXZVndEz3hWiyeA-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/AAXZVndEz3hWiyeA-*.js (New) 684 bytes 684 bytes 100.0% 🚀
static/PA_EGTlkmGbxwdpP8t47L/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/PA_EGTlkmGbxwdpP8t47L/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.67MB -0.0%
../instrumentation.js -3 bytes 997.28kB -0.0%
9523.js -3 bytes 973.22kB -0.0%

@obostjancic obostjancic merged commit 9afd3b9 into master Jul 10, 2025
15 checks passed
@obostjancic obostjancic deleted the ogi/fix/ai-redirect branch July 10, 2025 12:47
@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants