• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

scorphus / thumbor / 31427369955
89%

Build:
DEFAULT BRANCH: master
Ran 10 Aug 2026 08:08PM UTC
Jobs 5
Files 104
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Aug 2026 08:05PM UTC coverage: 89.167% (+0.2%) from 88.924%
31427369955

push

github

scorphus
feat: separate result storage entries by accepted image formats

The new thumbor.auto_image_format module computes a cache-key
discriminator from the configured AUTO_* options and the formats the
request accepts. The file result storage names its namespace with it,
so two clients accepting different formats never share a cached result.

An AUTO_WEBP-only configuration keeps the legacy auto_webp and default
namespaces, and legacy entries are still migrated there. Configurations
with AUTO_AVIF, AUTO_JPG, AUTO_HEIF, AUTO_PNG or AUTO_PNG_TO_JPG get an
isolated namespace and no migration, because their legacy default
namespace can hold a different format for the same URL. Subclasses that
override is_auto_webp keep controlling the legacy namespace choice.

Result storage is skipped entirely, reads and writes, when one of those
formats is active and no trustworthy cache key can be computed before
the engine exists: when a handler overrides accepts_mime_type, and when
the request object lacks the parsed accepts_* attributes. Serving
without the cache is slower but never serves a wrong format.

Co-authored-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>

63 of 64 new or added lines in 3 files covered. (98.44%)

57 existing lines in 2 files now uncovered.

4099 of 4597 relevant lines covered (89.17%)

4.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
83.81
5.4% thumbor/result_storages/file_storage.py

Coverage Regressions

Lines Coverage ∆ File
48
91.61
0.67% thumbor/handlers/__init__.py
9
95.81
-4.19% thumbor/context.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.11 - 31427369955.1 10 Aug 2026 08:08PM UTC 104
89.17
GitHub Action Run
2 run-3.12 - 31427369955.2 10 Aug 2026 08:08PM UTC 104
89.17
GitHub Action Run
3 run-3.10 - 31427369955.3 10 Aug 2026 08:08PM UTC 104
89.17
GitHub Action Run
4 run-3.14 - 31427369955.4 10 Aug 2026 08:08PM UTC 104
89.17
GitHub Action Run
5 run-3.13 - 31427369955.5 10 Aug 2026 08:08PM UTC 104
89.17
GitHub Action Run
Source Files on build 31427369955
  • Tree
  • List 104
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31427369955
  • 140c4c39 on github
  • Prev Build on master (#27127774653)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc