Skip to content

Report downloading and byte progress from the partner node download helper - #16248

Open
vqt123 wants to merge 1 commit into
node-progress-activityfrom
node-progress-downloading
Open

Report downloading and byte progress from the partner node download helper#16248
vqt123 wants to merge 1 commit into
node-progress-activityfrom
node-progress-downloading

Conversation

@vqt123

@vqt123 vqt123 commented Sep 11, 2026

Copy link
Copy Markdown

A partner node fetching its result sits at 0% until the file is complete, then jumps to 100%. The download helper every partner node goes through already counts bytes written and already has the response's Content-Length, and reports neither.

Sets the node's activity to "downloading" for the length of the transfer (the hook from #16202) and reports bytes written against the declared length through the existing ProgressBar, which throttles the sends. No declared length: the word only. A retry starts the count again.

Stacked on #16202; retarget to master once that merges.

Tests: tests-unit/comfy_api_nodes_test/download_progress_test.py (local aiohttp test server, with and without Content-Length).

API Node PR Checklist

Scope

  • Is API Node Change

Pricing & Billing

  • Need pricing update
  • No pricing update

If Need pricing update:

  • Metronome rate cards updated
  • Auto‑billing tests updated and passing

QA

  • QA done
  • QA not required

Comms

  • Informed Kosinkadink

@vqt123
vqt123 marked this pull request as ready for review September 11, 2026 02:57
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.

1 participant