mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 00:41:32 +02:00
The byteStreamStub lazy val applied withDeadlineAfter once, baking in an absolute deadline that was reused for the store's whole (session-long) lifetime. remoteTimeoutInSec after the first blob transfer, every later ByteStream read/write was rejected with DEADLINE_EXCEEDED, so the remote cache could neither upload nor download blobs >chunkSizeBytes for the rest of the sbt server's life. Derive a fresh stub with the deadline per RPC so each call gets its own relative timeout. Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>