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

thumbor / thumbor / 37086201551
92%

Build:
DEFAULT BRANCH: master
Ran 03 Oct 2026 01:30AM 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

03 Oct 2026 01:28AM UTC coverage: 91.746% (+0.1%) from 91.599%
37086201551

push

github

marcelometal
fix(frame): keep nine-patch padding within the image limits

The frame filter grows the canvas by the padding it reads from the nine-patch
image without looking at MAX_WIDTH, MAX_HEIGHT or MAX_PIXELS, so with
MAX_WIDTH=16 a 16 pixel wide source framed by a nine-patch with 5 pixels of
horizontal padding came back 21 pixels wide. handle_padding now checks each
side the padding grows against those limits before allocating the new canvas
and answers 400 with the reason "Frame padding exceeds configured image
limits", leaving the engine image untouched. 0 turns any of the three checks
off, and so does None for MAX_PIXELS, the same way PILEngine ignores a zero
MAX_PIXELS.

Thumbor clamps oversized sources and requested sizes to MAX_WIDTH and
MAX_HEIGHT, but padding cannot shrink without distorting the frame, so the
guard rejects instead: a request whose output already sits at a limit now
fails when its frame pads that side, where it used to return an image past
the limit. Outputs thumbor already lets past a limit, such as an unclamped
proportional side or an upscale beyond MAX_PIXELS, keep passing unless the
frame pads the side that is over, or pads at all for MAX_PIXELS. MAX_PIXELS is
documented for images read by thumbor, and this applies it to the padded
canvas too. The change used to live in #1735 and moved here because it does
not depend on the Rust rewrite.

13 of 13 new or added lines in 1 file covered. (100.0%)

4446 of 4846 relevant lines covered (91.75%)

4.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.13 - 37086201551.1 03 Oct 2026 01:30AM UTC 104
91.75
GitHub Action Run
2 run-3.14 - 37086201551.2 03 Oct 2026 01:30AM UTC 104
91.75
GitHub Action Run
3 run-3.10 - 37086201551.3 03 Oct 2026 01:30AM UTC 104
91.75
GitHub Action Run
4 run-3.12 - 37086201551.4 03 Oct 2026 01:30AM UTC 104
91.75
GitHub Action Run
5 run-3.11 - 37086201551.5 03 Oct 2026 01:30AM UTC 104
91.75
GitHub Action Run
Source Files on build 37086201551
  • Tree
  • List 104
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37086201551
  • da9242e9 on github
  • Prev Build on master (#37085437793)
  • Next Build on master (#37087094196)
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