Skip to content

Allow slow update downloads#910

Merged
wesm merged 1 commit into
mainfrom
magical-attention
Jun 28, 2026
Merged

Allow slow update downloads#910
wesm merged 1 commit into
mainfrom
magical-attention

Conversation

@wesm

@wesm wesm commented Jun 27, 2026

Copy link
Copy Markdown
Member

roborev update used a 30 second http.Client timeout for both metadata checks and archive downloads. Go applies that timeout to the whole request, including streaming the response body, so slow but healthy release downloads could fail midway with context deadline exceeded.

This keeps update metadata discovery bounded while avoiding a whole-request client timeout for archive body reads. Installs still use a longer deadline so stuck downloads do not run indefinitely.

Closes #895

roborev update used a 30 second http.Client timeout for both metadata checks and archive downloads. Go applies that timeout to the entire request, including streaming the response body, so slow but healthy release downloads could fail midway with context deadline exceeded.

Keep metadata discovery bounded with explicit contexts and response-header timeouts, but avoid a whole-request client timeout for archive body reads. Install still has a much longer deadline so stuck downloads do not run forever.

Fixes #895

Generated with Codex
Co-authored-by: Codex <codex@openai.com>
@roborev-ci

roborev-ci Bot commented Jun 27, 2026

Copy link
Copy Markdown

roborev: Combined Review (c20b913)

No issues found.


Panel: ci_default_security | Synthesis: codex | Members: codex_default (codex/default, done, 1m31s), codex_security (codex/security, done, 23s) | Total: 1m54s

@wesm wesm merged commit 824e1d5 into main Jun 28, 2026
12 checks passed
@wesm wesm deleted the magical-attention branch June 28, 2026 00:08
Technophobe01 added a commit to Technophobe01/roborev that referenced this pull request Jun 28, 2026
…ker-image

* upstream/main:
  Allow slow update downloads (kenn-io#910)
  Document [analyze.<type>] config for fieldless review types (kenn-io#909)
  Add lookahead review type for time-series bias (kenn-io#904)
  Support per-analysis agent config (kenn-io#902)
  Update flake.nix for v0.60.0 (kenn-io#900)
  Document 0.60.0 release (kenn-io#901)
  Reject dirty submodule edits during refine (kenn-io#896)
  Revamp onboarding: quickstart command, automation-first docs (kenn-io#899)
  Add Codex config passthrough for -c overrides (kenn-io#897)
  Prefer managed roborev shims in hook installs (kenn-io#898)
  Update flake.nix for v0.59.2 (kenn-io#893)
  Document 0.59.2 release (kenn-io#894)
  Open Homebrew tap updates through PRs (kenn-io#885)
  Parse Copilot JSON review output (kenn-io#892)
  Stabilize analyze agent invocation (kenn-io#889)
  Require explicit workflow backup agents (kenn-io#887)
  Include analyze jobs in fix discovery (kenn-io#890)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Update times out after 30 seconds

1 participant