Repository navigation
feat(upload): Remove feature flag for endpoint - #6171
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c9b94d1. Configure here.
| /// Enable the experimental Trace Attachment pipeline in Relay. | ||
| #[serde(rename = "projects:trace-attachment-processing")] | ||
| TraceAttachmentProcessing, | ||
| /// Enable the upload endpoint for attachments. |
There was a problem hiding this comment.
Missing graduated upload flag
Medium Severity
Removing UploadEndpoint without following the usual graduation pattern leaves downstream relays without projects:relay-upload-endpoint. Upgraded relays drop that string as an unknown feature during deserialization, and ProjectConfig::sanitize no longer injects it, so older hops that still call require_feature can reject uploads even when Sentry still sends the flag.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit c9b94d1. Configure here.
There was a problem hiding this comment.
It's a fair point, but I verified that users of the feature flag do not run external relays.
| /// Enable the experimental Trace Attachment pipeline in Relay. | ||
| #[serde(rename = "projects:trace-attachment-processing")] | ||
| TraceAttachmentProcessing, | ||
| /// Enable the upload endpoint for attachments. |
Relay removed `projects:relay-upload-endpoint` in getsentry/relay#6171.
## DESCRIBE YOUR PR Relay removed `projects:relay-upload-endpoint` in getsentry/relay#6171. ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the due date. You can update this information later by editing the PR description. - [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD - [ ] Other deadline: YYYY-MM-DD - [x] No deadline: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've supplied a deadline. Thanks in advance for your help! ## PRE-MERGE CHECKLIST _Make sure you've checked the following before merging your changes:_ - [x] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> 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 - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)


Enable the upload endpoint for everyone. In case of an incident we can still disable it through the
relay.endpoint-fetch-config.enabledkillswitch.ref: INGEST-982