Skip to content

feat(upload): Remove feature flag for endpoint - #6171

Merged
jjbayer merged 2 commits into
masterfrom
feat/upload-ga
Jul 6, 2026
Merged

jjbayer merged 2 commits into
masterfrom
feat/upload-ga

Conversation

@jjbayer

@jjbayer jjbayer commented Jul 3, 2026

Copy link
Copy Markdown
Member

Enable the upload endpoint for everyone. In case of an incident we can still disable it through the relay.endpoint-fetch-config.enabled killswitch.

ref: INGEST-982

@linear-code

linear-code Bot commented Jul 3, 2026

Copy link
Copy Markdown

INGEST-982

@jjbayer
jjbayer marked this pull request as ready for review July 3, 2026 09:50
@jjbayer
jjbayer requested a review from a team as a code owner July 3, 2026 09:50

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ 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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c9b94d1. Configure here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nobody cares

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nobody cares

@jjbayer
jjbayer added this pull request to the merge queue Jul 6, 2026
Merged via the queue into master with commit dc03a15 Jul 6, 2026
35 checks passed
@jjbayer
jjbayer deleted the feat/upload-ga branch July 6, 2026 13:06
jpnurmi added a commit to getsentry/sentry-docs that referenced this pull request Nov 27, 2026
Relay removed `projects:relay-upload-endpoint` in getsentry/relay#6171.
jpnurmi added a commit to getsentry/sentry-docs that referenced this pull request Nov 27, 2026
## 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/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants