1 Changelog V1.21.79
Forgejo Actions edited this page 2026-10-14 11:51:10 +00:00

v1.21.79

Date: 2026-10-14

Fixes

  • Media worker: video originals are now streamed to a temp file instead of buffered in memory (CoreApiWorkerClient.downloadOriginalToFile via DataBufferUtils.write). Previously every video larger than 64 MB failed video_preview/extract_metadata with DataBufferLimitException: Exceeded limit on max bytes to buffer : 67108864 — the WebFlux in-memory buffer ceiling — which broke the spec 059 video backfill for most phone videos (8 failed on first production run). Found by the production backfill; ISSUE-157 (byte[] heap load) is now resolved for video paths, not just documented.
  • Media activity dialog: new video_previews lane so video_preview jobs are attributed to a "Video previews" card instead of inflating unattributed processing counts (found during the backfill: "365 processing" with no owning card). Notification bell falls back to its localized generic sentence for the new lane key (no new i18n keys needed).

Notes

  • Backend: CoreApiWorkerClient.downloadOriginalToFile (reactive body→file streaming, non-2xx → WebClientResponseException parity, same failure-message style as downloadOriginal; byte[] downloadOriginal untouched for photo paths), MediaJobHandlers.generateVideoPreview/extractVideoMetadata switched to the streaming download, ProcessingActivityLanes (+video_previews lane owning only video_preview, inserted after thumbnails) + lane/summary test updates.
  • Tests: full :apps:api:test green (2001 tests), worker suite 68/68 (previous commit run), targeted processing/upload suites green (ProcessingActivityLanesTest 4, ProcessingSummaryServiceTest 32, UploadActivityTest 24, UploadBatchCompletionServiceTest 4).
  • Version bump 1.21.78 → 1.21.79 (PR branch, gradle.properties).