-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update middleware.ts integrations #13888
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
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Bundle ReportChanges will increase total bundle size by 2.77kB (0.01%) ⬆️. 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:
view changes for bundle: sentry-docs-edge-server-array-pushAssets Changed:
|
Hey @masinette could you provide some context here? Why are we moving these redirects around in the file? Thanks! |
@coolguyzone it looks like I added them to wrong section originally. This is a correction |
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 Path Error Causes 404
The redirect for /organization/integrations/elba/
was incorrectly modified to /organization/integrations/elba-alpha/
when moved from DEVELOPER_DOCS_REDIRECTS
to USER_DOCS_REDIRECTS
. This change was unintended, as the PR aimed to only move redirects, not alter their paths. Consequently, existing links to the original /organization/integrations/elba/
URL will now result in 404 errors.
src/middleware.ts#L222-L225
Lines 222 to 225 in 703cee1
{ | |
from: '/organization/integrations/elba-alpha/', | |
to: '/organization/integrations/compliance/elba-alpha/', | |
}, |
Bug: Removed Redirects Cause User Errors
The commit removes several functional redirects from DEVELOPER_DOCS_REDIRECTS
without replacement, which will cause 404 errors for users. The affected paths include /feature-flags/options-backed-features/
, /sdk/metrics/
, /backend/feature-flags/options-backed-features/
, and /api-server/application-domains/feature-flags/options-backed-features/
.
src/middleware.ts#L3650-L3668
Lines 3650 to 3668 in 703cee1
}, | |
{ | |
from: '/options/', | |
to: '/backend/options/', | |
}, | |
{ | |
from: '/sdk/features/data-handling/', | |
to: '/sdk/expected-features/data-handling/', | |
}, | |
{ | |
from: '/sdk/craft-quick-start/', | |
to: '/sdk/processes/releases/', | |
}, | |
{ | |
from: '/sdk/check-ins/', | |
to: '/sdk/telemetry/check-ins/', | |
}, | |
{ | |
from: '/sdk/profiles/', |
src/middleware.ts#L3860-L3868
Lines 3860 to 3868 in 703cee1
}, | |
{ | |
from: '/backend/options/', | |
to: '/backend/application-domains/options/', | |
}, | |
{ | |
from: '/api-server/application-domains/options/', | |
to: '/develop/application-domains/options/', | |
}, |
Was this report helpful? Give feedback by reacting with 👍 or 👎
DESCRIBE YOUR PR
Tell us what you're changing and why. If your PR resolves an issue, please link it so it closes automatically.
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:
LEGAL BOILERPLATE
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
EXTRA RESOURCES