Skip to content

feat(upload): Support deferred upload lengths#5658

Merged
elramen merged 8 commits intomasterfrom
playstation
Feb 27, 2026
Merged

feat(upload): Support deferred upload lengths#5658
elramen merged 8 commits intomasterfrom
playstation

Conversation

@elramen
Copy link
Member

@elramen elramen commented Feb 24, 2026

Allow trusted sources (i.e. downstream managed relays) to defer the length of attachments sent to the upload endpoint. This is needed to later allow uploading attachments from the playstation endpoint (via the upload endpoint), since the size of playstation multipart attachments are not known at send-time.

@elramen elramen requested a review from jjbayer February 24, 2026 16:07
@elramen elramen requested a review from a team as a code owner February 24, 2026 16:07
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.

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.

Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

Mostly nits, but the missing relay_id on ForwardRequest could be an actual problem (see comment).

elramen and others added 2 commits February 27, 2026 16:38
@elramen elramen added this pull request to the merge queue Feb 27, 2026
Merged via the queue into master with commit 699d1c0 Feb 27, 2026
29 checks passed
@elramen elramen deleted the playstation branch February 27, 2026 16:22
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