chore(API): Remove unused AM2 compatibility check endpoint#104288
chore(API): Remove unused AM2 compatibility check endpoint#104288
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 |
There was a problem hiding this comment.
Bug: Unrelated endpoint accidentally removed from generated TypeScript types
The /reporting-api-experiment/ URL is being removed from knownSentryApiUrls.generated.ts, but the corresponding endpoint (BrowserReportingCollectorEndpoint) still exists in src/sentry/api/urls.py at line 3763. This removal appears unrelated to the AM2 compatibility check endpoint being removed. Since this is a generated file used for TypeScript type definitions, removing this URL could cause type errors for any code referencing this endpoint through the typed API utilities.
static/app/utils/api/knownSentryApiUrls.generated.ts#L737-L738
sentry/static/app/utils/api/knownSentryApiUrls.generated.ts
Lines 737 to 738 in 5ee3eb9
5ee3eb9 to
bd56800
Compare
Remove unused endpoint to check AM2 compatibility to support the cellularization project.
Must be merged after the the front end usage is removed https://github.com/getsentry/sentry/pull/104287/files