mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
* fix(core): replay a Docker request after a lost response only when it is safe to repeat The transport retry replayed every control-plane request except exec calls and an exclusion list (restart, network connect/disconnect, network create, unnamed container create), so other mutating calls were still replayed after a lost response: commit made a second image, pause, unpause and kill got a 409 for a state that had already changed, and rename hit a name conflict. The policy is now an allowlist: GET, HEAD, DELETE (a replay answers 404, which callers tolerate) and PUT archive uploads as before, and POST only for start, stop, wait, image pull, volume create and a named container create. Every other POST gets one attempt, including any call added later. * fix(core): replay a volume create only when it names the volume An unnamed volume create replayed after a lost response makes a second volume and orphans the first; a named one returns the existing volume.