pingqiuandClaude Opus 5.5 64c9d07c1d fix(storage): bound only the HEAD step of a remote that bounds it; reuse the checked preparation
The 2 s HEAD bound wrapped the holder's whole commit call, including the
preparation that grows with the chunk count (manifests, root and segments).
A remote that reports BoundsHeadStep now gets the caller's context plus a
step budget and applies it around each attempt's HEAD read and conditional
write; other remotes keep the whole call bounded. The layout remote reuses
the passed check's prepared request for every attempt of its session, so no
manifest is read and no root rebuilt after the check. The foreign-reference
selection looks at the first two owners only. The provider's wrapper
forwards BoundsHeadStep.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:05:58 -08:00
Languages
Go 84.7%
Rust 7.7%
Shell 2.7%
templ 1.5%
Java 1%
Other 2.1%