fix(deploy): widen gate-script OSS readback retry to 30x20s (~600s) - #577
Conversation
Production evidence (2026-08-01T20:31:07+08, gate invocation 55808db5): a 117MiB multipart shadow object became HEAD-able exactly 168s after publication began — one second past the fifteenth 12s retry. The uploader-side budget (600s, #575) already covers this; the gate script's own readback did not. Refs #556
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe shadow gate now retries OSS downloads up to 30 times with 20-second backoffs. It preserves deadline enforcement and final failure behavior. The documented production publication race reflects the updated retry window. ChangesOSS download retry handling
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6fbae8aa0b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Change contract
Gate-script OSS triplet readback retries 30×20s (~600s) instead of 15×12s (~168s), deadline-bounded as before. Disclosure: the currently staged candidate's control copy was patched on-host with this exact change to unblock the in-flight gate.
Evidence
2026-08-01T20:31:07+08 (gate invocation 55808db5, candidate 67b1903e): a 117MiB multipart shadow object became HEAD-able at exactly 168s after publication began — one second past the fifteenth 12s retry. The uploader-side budget (600s, #575) already covers this publication lag; the gate script's own readback did not.
Out of scope
Dependency / merge order
None; the next release built after this merge makes the host patch official.
Focused validation
test-polymarket-raw-ops-control-plane.shPASS; bash -n cleanRollout / rollback impact
Gate readback timing only. Rollback = revert.
Issue relationship
Refs #556
Summary by CodeRabbit