From 0a5c22b57e179a60d49cca93871a070f1c816cf0 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 20 Apr 2026 21:26:34 -0700 Subject: [PATCH] chore(upload): log offset/bytes-read context on chunk ReadFrom errors (#9169) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore(upload): add offset/bytes-read context to chunk ReadFrom errors Wrap io.ErrUnexpectedEOF (and siblings) from bytesBuffer.ReadFrom so the log shows "read chunk at offset N (got M bytes): ..." instead of a bare "unexpected EOF". The context distinguishes a client disconnect before any data arrived (offset=0, got=0) from a mid-stream truncation (offset>0, got