Repository navigation
fix(ci): retry transient Deno download failures - #2752
Conversation
Castiron custom code✅ No new custom-code files detected. 45 mixed files remain; 0 existing customizations changed. Compared 45 existing customizations unchanged
5 more in the full report. A changed generated baseline means this report cannot reliably identify which handwritten lines changed. Inspect the custom-code diffDownload the exact patch produced by this run (requires repository access): gh run download 35124516350 --repo openai/openai-node \
--name castiron-custom-code-35124516350-1 --dir /tmp/castiron-custom-code-35124516350-1
git apply --stat /tmp/castiron-custom-code-35124516350-1/custom-code.patch
cat /tmp/castiron-custom-code-35124516350-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin eda4d0cd54271ac9fc05a3e44dfe7fd1c16d2d77 522178c5d77e71798f02df7f16ebc87e6a996e01
python3 scripts/castiron/custom_code_report.py report \
--base eda4d0cd54271ac9fc05a3e44dfe7fd1c16d2d77 \
--head 522178c5d77e71798f02df7f16ebc87e6a996e01 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-522178c5d77e
cat /tmp/castiron-custom-code-522178c5d77e/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7d59ba9e45
ℹ️ 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".
markstuart-oai
left a comment
There was a problem hiding this comment.
Reviewed 7d59ba9e4591f69cc0126a26ef0eecd19a30d423. The retry placement and retained integrity/cleanup path are sound, but the new absolute download deadline needs adjustment before approval.
This installer also runs during local bootstrap. The pinned Linux x64 archive is 50,430,922 bytes: a healthy 128 KiB/s transfer needs about 385 seconds, so --max-time 300 aborts every attempt and retries discard the progress. Remove the absolute transfer limit or use an inactivity limit so slow, progressing downloads can finish. Keep the connection timeout and retry count, and cover the progressing-download case alongside reset recovery.
Validation on Linux with curl 8.5.0: the exact command recovers from TLS resets and replaces a truncated output file; permanent resets stop after four attempts; HTTPS-to-HTTP redirects remain rejected. A separate local HTTPS comparison, with only the 300-second limit scaled to one second, completes on the base command and fails with code 28 after four attempts on the new command. The curl 7.71.0 minimum and retry semantics were checked against official documentation and tagged source; that older binary and native macOS/Windows were not executed.
The pinned Steady install, offline launch, integrity, cache-lifetime/concurrent-publication, and cleanup checks passed after reusing a local dependency cache with the same frozen lock and import mapping (the initial JSR metadata fetch failed). Frozen dependency installation, lint, shell syntax, and diff checks passed. Exact-head CI 35122536232 also passed.
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Reviewed the exact head. The retry budget is bounded, curl resets the -o file between failed attempts, and HTTPS-only redirects, SHA-256 verification, temporary-directory cleanup, and atomic publication remain intact. I also checked the documented curl floor and the surrounding cache/publication lifecycle. Locally, bash -n scripts/steady/install, node scripts/steady/test.cjs on Node 24, pnpm install --frozen-lockfile, pnpm lint, and git diff --check passed. Exact-head CI, CodeQL/security review, Castiron, and OkTest 236/236 are green. No blocking findings.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7b694ebc48
ℹ️ 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".
Automated Release PR --- ## [7.17.0](v7.16.0...v7.17.0) (2026-09-16) ### Features * **api:** add compaction progress events ([#2749](#2749)) ([425502d](425502d)) ### Bug Fixes * **ci:** retry transient Deno download failures ([#2752](#2752)) ([e39037b](e39037b)) * preserve chat runner abort reasons ([#2607](#2607)) ([eda4d0c](eda4d0c)) * **realtime:** preserve native WebSocket error causes ([#2715](#2715)) ([58fa72a](58fa72a)) * **responses:** reject function-based API keys in WebSocket constructors ([#2586](#2586)) ([eea7618](eea7618)) * **runners:** reject unfinished turns in streaming runTools ([#2716](#2716)) ([937ed67](937ed67)) * **streaming:** emit terminal SSE events missing a trailing blank line ([#2726](#2726)) ([94d6418](94d6418)) * **zod:** omit impossible optional branch in strict schemas ([#2751](#2751)) ([2b4c2c7](2b4c2c7)) ### Chores * update lint tooling and tailor anti-slop for the SDK ([#2753](#2753)) ([21a03c2](21a03c2)) ### Documentation * **examples:** preserve split UTF-8 in raw stream consumer ([#2714](#2714)) ([f44152a](f44152a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>
A transient TLS reset while downloading the pinned Deno runtime failed the build and blocked release publication. Retry failed downloads without aborting slow transfers that are still making progress.
The installer uses a small download helper with three retries, a 15-second connection timeout, a 15-second stall timeout, and a 60-second retry window. The window limits retry eligibility rather than an active transfer's duration. HTTPS-only redirects, SHA-256 verification, temporary-file cleanup, and atomic publication remain intact. Document the required curl version and the download policy.
Add a deterministic local HTTPS suite using real curl and temporary synthetic certificates. It covers TLS reset recovery, replacing truncated output, permanent TLS and HTTP failures, checksum rejection, HTTPS-to-HTTP redirect rejection, stall recovery, and sustained progress beyond a scaled retry window. Every case exercises the installer and checks publication and staging cleanup. Run it in the existing CI runtime matrix and the Steady test entrypoint, retaining the original five-minute build timeout.
Validation:
git diff --checkpassed.