Commit Graph

6789 Commits

Author SHA1 Message Date
Claude 8171414f8a Remove the legacy single-request video upload path
Multipart is now the only upload transport, so drop the legacy
`app.bsky.video.uploadVideo` request and everything that existed to
choose between the two:

- `MultipartFallbackError` is gone. A `startUpload` failure (a service
  without multipart support, or with the kill switch active) now
  propagates as the `MultipartUploadError` the API layer already built,
  and `abortThenRethrowOrResolve` rethrows the failure that forced the
  abort instead of a fallback signal - which keeps the real error class
  for retry classification and telemetry.
- `getUploadErrorMessage` matches on `MultipartUploadError` where it
  matched on `ServerError`, so video-service messages (upload disabled,
  daily limits, oversized file) still map to their user-facing copy.
  `ServerError` had no other thrower and is removed.
- With the legacy branch gone, `upload.ts` and `upload.web.ts` were
  identical, so the platform split collapses into one `upload.ts`. The
  web chunk reader already fetches the uri when `bytes` is missing, so
  nothing depended on the legacy path's buffer fetch.
- The `did` parameter only seeded the legacy endpoint URL; it is dropped
  from `uploadVideo` and `processVideo`.
- Transport reporting only existed to distinguish multipart from legacy,
  so `VideoUploadTransport`, `telemetry.uploadTransport`, the
  `video.upload.transport` span attribute, and the `transport` field on
  the uploadCompleted/uploadFailed events are removed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mn8DoxP5wQk6NbPmapWs9A
2026-08-25 01:49:12 +01:00
Claude 4bb0e1971a Remove multipart upload and 10-minute video feature gates
Ship both video upload features unconditionally:

- Multipart upload is now always attempted. The MultipartFallbackError
  path to the legacy single-request upload is unchanged, so a video
  service without multipart support still works. This makes the plain
  'legacy' upload transport unreachable, so drop it from
  VideoUploadTransport and default the telemetry value to 'multipart'.
- The 10-minute duration cap now applies to everyone.
  VIDEO_10_MINUTE_MAX_DURATION_MS is folded into VIDEO_MAX_DURATION_MS,
  and the composer's duration error message no longer branches on the
  gate.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mn8DoxP5wQk6NbPmapWs9A
2026-08-25 01:48:24 +01:00
Samuel Newman cf2684b0d1 Send an integer exp for video upload service auth tokens (#11529)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-24 17:34:16 -07:00
Samuel Newman 95f5360012 Fix iOS message input height after sending (#11533) 2026-08-24 17:28:56 -07:00
DS Boyce 6b35d3de1c Revert "Send beta user state with AppView requests (#11474)" (#11510) 2026-08-24 11:40:15 -07:00
DS Boyce 6f46927c28 Overfetch trending topics before filtering (#11477) 2026-08-24 11:39:46 -07:00
Spence Pope 6009e61ae9 [APP-2922] Fix cached starter pack navigation (#11531) 2026-08-24 09:34:45 -04:00
pfrazee 97a85bb73d Nightly source-language update 2026-08-24 02:34:37 +00:00
Spence Pope 5e01a6c7ee Explain trending topics in options menu (#11521) 2026-08-23 20:23:38 -04:00
pfrazee 9047df5413 Nightly source-language update 2026-08-22 02:28:32 +00:00
RetroSunstar f48fab872e Adds a small padding for labeller avatars in group chat 'Add people' selector (#11422) 2026-08-21 15:12:14 -05:00
Samuel Newman 06cb80a4c3 [AA] Set maxAge: Infinity on age assurance cache (#11526) 2026-08-21 10:32:15 -07:00
Oleksii Bulenok 63f0d4d311 Fix hairline divider not visible (#11518) 2026-08-21 11:57:21 +02:00
Tomasz Zawadzki a892057e29 Fix "Tried to synchronously call a Remote Function" crash (#11517)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-20 17:56:50 +02:00
Spence Pope 6406a2ef4d translations (#11511) 2026-08-19 19:55:50 -04:00
Samuel Newman c19fec3f48 Invert password reveal eye icon (#11365)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-19 07:37:01 -07:00
Samuel Newman 11c80a1fbd Fix profile handle resolution errors (#11503) 2026-08-19 07:34:45 -07:00
Tomasz Zawadzki 0e04159335 Unblock React Compiler for PostFeed (#11451)
Co-authored-by: Oleksii Bulenok <oleksii.bulenok@swmansion.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-19 06:28:53 -07:00
Samuel Newman 04ca3f9829 Only persist successful queries (#11484) 2026-08-19 06:27:41 -07:00
Samuel Newman 51381d41b0 Clear the cached initial URL after handling a deep link (#11500)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-19 06:26:58 -07:00
pfrazee c4172cef99 Nightly source-language update 2026-08-19 02:30:40 +00:00
DS Boyce cc3622b583 Send beta user state with AppView requests (#11474) 2026-08-18 09:50:15 -07:00
Oleksii Bulenok 45aa1a67b0 Expo 57 (#11334)
Co-authored-by: Tomek Zawadzki <tomekzawadzki98@gmail.com>
Co-authored-by: vineyardbovines <spencerfpope@gmail.com>
2026-08-18 10:46:11 -04:00
Spence Pope 7f59d8fcfb APP-2859 Add web list performance telemetry (#11486) 2026-08-18 09:26:50 -04:00
Spence Pope df3cea1c78 APP-2884: Avoid base64 reads for web videos (#11493) 2026-08-18 09:26:26 -04:00
Oleksii Bulenok e87ec032cd Truncate gif alt text to 2000 symbols (#11488) 2026-08-18 11:29:23 +02:00
pfrazee 3b7284a86b Nightly source-language update 2026-08-18 02:29:23 +00:00
DS Boyce 01486d27e0 Add pagination to feed search (#11475) 2026-08-17 09:55:45 -07:00
pfrazee 4562ca8e38 Nightly source-language update 2026-08-17 02:32:20 +00:00
Spence Pope 0ba971b1f6 APP-2774: Add algorithmic visibility setting (#11417) 2026-08-16 17:13:17 -04:00
pfrazee 34b6f1d323 Nightly source-language update 2026-08-15 02:27:20 +00:00
DS Boyce 221c4d9c5b Fix size of post numbers with emoji-only posts (#11471) 2026-08-14 12:58:55 -07:00
Oleksii Bulenok 2d93273956 Fix metro failing to resolve @ipld/dag-cbor in dev mode (#11467) 2026-08-14 14:37:11 +02:00
Samuel Newman 70195d7059 Drop accidental eslint dependency (#11460) 2026-08-14 00:21:52 -07:00
pfrazee afb3cdc26f Nightly source-language update 2026-08-14 03:00:15 +00:00
Samuel Newman bb33eb91cb [SDK] Use finalised package (#11398) 2026-08-13 12:26:23 -07:00
Samuel Newman b89167f07c [SDK] Address stack review feedback (#11389)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:23 -07:00
Samuel Newman 3677c98873 [SDK] Validate and brand the persisted account did (#11387)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:22 -07:00
Samuel Newman 9fe0084874 [SDK] Remove @atproto/api (#11386)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:22 -07:00
Samuel Newman 54da80dfb0 [SDK] Delete the bridge agent and rework the session bundle onto lex clients (#11385)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:22 -07:00
Samuel Newman 59d2bf09d7 [SDK] Swap moderation to @bsky.app/sdk and move labeler config to Client statics (#11383) 2026-08-13 12:26:21 -07:00
Samuel Newman dc31e7fd12 [SDK] Migrate agent sugar to @bsky.app/sdk actions (#11382) 2026-08-13 12:26:21 -07:00
Samuel Newman a4f2811f39 [SDK] Add refreshSession and migrate the session-pinned infra (#11381)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:20 -07:00
Samuel Newman 0c93d1e416 [SDK] Migrate the post pipeline and blob uploads (#11380)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:20 -07:00
Samuel Newman 75e4180800 [SDK] Migrate the repo writes cluster (#11379)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:20 -07:00
Samuel Newman ca226f589d [SDK] Migrate the gate records to raw repo calls on the pds client (#11378)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:19 -07:00
Samuel Newman 3568cdc42d [SDK] Migrate getAllListMembers to the appview client (#11377)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:19 -07:00
Samuel Newman f6a22c4f05 [SDK] Adopt @bsky.app/sdk and migrate RichText (#11369) 2026-08-13 12:26:18 -07:00
Samuel Newman d991118215 [SDK] Route moderation reports through the appview client (#11368)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:18 -07:00
Samuel Newman 34d1c75756 [SDK] Migrate the account surface to the pds and service clients (#11367)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 12:26:17 -07:00