Skip to content

docs(engine): download limits apply per attempt and per process - #7867

Merged
jrusso1020 merged 1 commit into
mainfrom
docs-download-limits-notes-1115
Nov 15, 2026
Merged

jrusso1020 merged 1 commit into
mainfrom
docs-download-limits-notes-1115

Conversation

@michaelwang11394

Copy link
Copy Markdown
Contributor

What

Corrects the "Remote media downloads" section of the engine docs:

  • The time limit applies to each download attempt. A stalled or too-slow attempt that is retried starts a new 30 minutes, while an attempt stopped by the time limit is not retried.
  • The free-space check counts the declared sizes of downloads running in the same process. Separate render processes on one host see each other's writes only when they measure free space again, every 4 MiB received.
  • On a shared host that evicts workloads below a free-disk threshold, set HYPERFRAMES_DOWNLOAD_MIN_FREE_BYTES above that threshold.

Why

Review notes on #7827. The previous wording read as a total time limit and a host-wide disk check.

Related work

Refs #7827.

How

Docs only. No code changes.

Test plan

  • Unit tests added/updated (docs only)
  • Manual testing performed
  • Documentation updated (if applicable)
  • Comments follow CONTRIBUTING.md "Comments"

@mintlify

mintlify Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
hyperframes 🟢 Ready View Preview Nov 15, 2026, 9:21 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@jrusso1020 jrusso1020 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked each sentence against packages/engine/src/utils/urlDownloader.ts on main:

  • The time limit is per attempt. runDownloadAttempt arms its own deadline timer, and a past-deadline failure is classified as non-retryable. Stall and too-slow failures are retryable.
  • Free space is tracked per process. unreceivedBytesByDevice is module state, and DiskHeadroomGuard.receive measures again every FREE_SPACE_CHECK_INTERVAL_BYTES (4 MiB).
  • The shared-host guidance follows from those two facts.

Docs match the code. LGTM.

— Rames

@jrusso1020
jrusso1020 added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit 4c09c8b Nov 15, 2026
64 checks passed
@jrusso1020
jrusso1020 deleted the docs-download-limits-notes-1115 branch November 15, 2026 21:40
timothybrush pushed a commit to timothybrush/hyperframes that referenced this pull request Nov 15, 2026
* chore: release v0.9.55

* chore: release v0.9.55 notes include heygen-com#7830

* chore: release v0.9.55 notes include heygen-com#7859 and heygen-com#7867

* chore: release v0.9.55 notes name the docs change and cloud render

* chore: release v0.9.55 notes include heygen-com#7866 and heygen-com#7801

* chore: release v0.9.55 notes match the style bar

This branch was successfully deployed

1 active deployment
staging - docs — 82fab23b Deployed Nov 15, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants