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

supabase / storage / 45621862651
89%

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2026 01:18PM UTC
Jobs 2
Files 401
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

25 Nov 2026 01:16PM UTC coverage: 88.632% (+0.06%) from 88.572%
45621862651

push

github

web-flow
fix: revalidate transformed images using representation etags (#1745)

## What kind of change does this PR introduce?

Bug fix

## What is the current behavior?

Every transformed image calls imgproxy even when the client already has
the image cached.
Responses use the source object ETag so different transformations can
share the same ETag.

## What is the new behavior?

Give each transformed representation an ETag based on the source,
transformations, limits and accepted formats. When a client revalidates
with a matching ETag, return 304 Not Modified without calling imgproxy.
Otherwise, render the image as before.

## Additional Context

- **Weak ETags & `If-Match`:** representation ETags are weak
(`W/"..."`), `If-Match` uses RFC 9110 §13.1.1 strong comparison and only
passes for a bare `*`. Other values (e.g. `"<etag>"`, `W/"<etag>"`, `*,
"x"`) now return `412 PreconditionFailed` instead of `200`.
- **`If-Modified-Since`:** Not evaluated on image render routes;
browsers and gateways revalidate with `If-None-Match` once an `ETag` is
present and a modification date alone does not distinguish
`transformation/Accept/IMGPROXY_ETAG_BUSTER` variants.

---------

Signed-off-by: Ferhat Elmas <elmas.ferhat@gmail.com>

10173 of 12060 branches covered (84.35%)

Branch coverage included in aggregate %.

87 of 88 new or added lines in 4 files covered. (98.86%)

17513 of 19177 relevant lines covered (91.32%)

1287.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.56
src/internal/http/conditional.ts
Jobs
ID Job ID Ran Files Coverage
1 rest-pg18 - 45621862651.1 25 Nov 2026 01:23PM UTC 374
68.82
GitHub Action Run
2 unit - 45621862651.2 25 Nov 2026 01:17PM UTC 392
72.33
GitHub Action Run
Source Files on build 45621862651
  • Tree
  • List 401
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45621862651
  • 96690aab on github
  • Prev Build on master (#45597589442)
  • Next Build on master (#45626853181)
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