mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-28 07:09:50 +00:00
hanzoai/ci took the same fix further and both corrections apply here. A 429 or a 5xx is the gateway or the throttle answering about ITSELF, not KMS answering about the secret — treated as final, either one fails a release for a reason that would be gone a second later. Only a real verdict (2xx, or a 4xx that is not 429) ends the loop now. The wait grows 0/5/15/45 rather than three flat threes, because the socket drop this exists for comes in bursts and a fixed retry lands inside the same one. The `|| code=000` placement carries a comment now. It belongs on the assignment, never inside the substitution: `-w` already prints 000 when curl fails, so a second one makes the variable "000000" — which matches no case, and silently turns an outage into a refusal that never retries. That is the bug ci found in its copy; this copy never had it, and the note is what keeps it that way.