Commit Graph
5 Commits
Author SHA1 Message Date
Thomas DurieuxandClaude Opus 5.5 1b20ffc2f0 fix: do not log a visitor who stops a cached download as a 500
The shared cache sends blobs with pipeline(stream, res). When the client
goes away, pipeline rejects with ERR_STREAM_PREMATURE_CLOSE. The
response is destroyed but req.aborted is false (the POST body was read),
so isResponseCancellation did not match and handleError logged a
code-less Error with httpStatus 500.

Watch the response and the source before piping. If the response closed
unfinished before the source failed, rethrow as response_cancelled, which
handleError already skips. A source that errors or closes without ending
still surfaces as a fault.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:05:51 +00:00
Thomas Durieux a4f441f097 fix: record cached reader failures before pipeline teardown 2026-11-15 13:39:17 +00:00
Thomas Durieux 074a9af315 fix: fence shared transformations and cancel abandoned cache work 2026-11-02 13:58:25 +00:00
Thomas Durieux 4b8635bd53 fix: preserve shared cache response semantics and recover from contention 2026-11-02 13:03:07 +00:00
Thomas Durieux dd668c1f4b perf: share verified blobs and expose bounded cache metrics 2026-11-02 12:14:54 +00:00