Skip to content

PhoenixKit 2.32.1: Failed file processing no longer fills the temp folder

PhoenixKit 2.32.1 stops failed media processing from filling the server’s temp folder.

File processing, image size generation and annotated thumbnails removed their temporary files only when everything succeeded. A file that cannot be rendered, such as an SVG on a server whose ImageMagick cannot read SVG, left a phoenix_kit_* copy of its original behind on every attempt, and each request for the missing size tried again. One site collected over a thousand such copies in two days.

Temporary files are now removed whatever the outcome, and serving from a private bucket cleans up the same way.

Full release notes: PhoenixKit 2.32.1

2.32.1 · 19 September 2026

Fixed

  • Failed file processing no longer fills the temp dir. ProcessFileJob, VariantGenerator and the annotated thumbnail removed their temp files only when everything succeeded, so a file that cannot be rendered (an SVG on a host whose ImageMagick has no SVG delegate) left a phoenix_kit_* copy of its original behind on every attempt — and each request for the missing variant re-queues the job. One host collected over a thousand in two days. The temp files now go whatever the outcome; the private-bucket proxy cleans up the same way.

PhoenixKit 2.32.1. Install or update: {:phoenix_kit, "~> 2.32"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.