Skip to content

scorecard: fix max_upload init value in ul_parallel() - #22421

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:scorecard-uldl-fix
Closed

scorecard: fix max_upload init value in ul_parallel()#22421
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:scorecard-uldl-fix

Conversation

@vszakats

Copy link
Copy Markdown
Member

"In ul_parallel, max_parallel is computed using
self._download_parallel instead of self._upload_parallel. This
causes the upload parallelism to incorrectly follow the download
parallel setting. It should use self._upload_parallel to be consistent
with how uploads() computes max_parallel."

Reported by GitHub Code Quality

Follow-up to 30ef79e #17295

"In `ul_parallel`, `max_parallel` is computed using
`self._download_parallel` instead of `self._upload_parallel`. This
causes the upload parallelism to incorrectly follow the download
parallel setting. It should use `self._upload_parallel` to be consistent
with how `uploads()` computes `max_parallel`."

Reported by GitHub Code Quality

Follow-up to 30ef79e curl#17295

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes upload parallelism selection in the HTTP scorecard runner so that upload runs respect the upload-parallel configuration rather than incorrectly following the download-parallel setting.

Changes:

  • Correct ul_parallel() to compute max_parallel from self._upload_parallel (matching uploads() behavior).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vszakats vszakats changed the title scorecard: fix max_upload value in ul_parallel() scorecard: fix max_upload init value in ul_parallel() Jul 28, 2026
@vszakats vszakats closed this in ca96fd5 Jul 28, 2026
@vszakats
vszakats deleted the scorecard-uldl-fix branch July 28, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants