Skip to content
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

app.bsky: permit 100mb video uploads #3602

Merged
merged 4 commits into from
Mar 3, 2025
Merged

app.bsky: permit 100mb video uploads #3602

merged 4 commits into from
Mar 3, 2025

Conversation

devinivy
Copy link
Collaborator

@devinivy devinivy commented Mar 3, 2025

This increases the video upload size limit from 50mb to 100mb in the app.bsky.embed.video lexicon.

Technically there is a minor compatibility issue at play here. The PDS validates blob sizes at write time, so a PDS with an old version of this lexicon may be incompatible with a client assuming it can upload a 100mb video. This is not expected to pose a major compatibility issue, partly because a. the PDS already de facto limits upload sizes it may accept, b. the user may choose to upload a smaller video (clients generally don't increase original video sizes), and c. PDS distributions are generally updated within a timely manner these days. Lowering the size limit, on the other hand, would be much more disruptive.

Copy link
Collaborator

@bnewbold bnewbold left a comment

Choose a reason for hiding this comment

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

Technically "breaking" under lexicon evolution rules, but definitely 👍 to this specific situation.

I think blob sizes are one of the worst parts of Lexicon evolution rules. Maybe we should make it explicitly ok/expected to increase them over time? Or some kind of "soft limit" / "hard limit"? We don't need to design that right now though.

@@ -10,7 +10,7 @@
"video": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should put a description here noting what the maxSize used to be, and that it was increased.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good call, all set 👍

@devinivy devinivy merged commit 6bcbb6d into main Mar 3, 2025
10 checks passed
@devinivy devinivy deleted the divy/100mb-video branch March 3, 2025 23:25
@github-actions github-actions bot mentioned this pull request Mar 3, 2025
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.

3 participants