Skip to content

Conversation

@marcdumais-work
Copy link
Contributor

What it does

The batch size is used by dash-licenses, and determines how many dependencies are sent per request to the Eclipse Foundation and ClearlyDefined servers. 500 is actually the default when running plain dash-licenses, and will result in fewer requests which could help with HTTP 429 error we see once in a while, specially on the ClearlyDefined requests, that causes the license check CI job to fail.

See:
eclipse-dash/dash-licenses#301 (comment)

How to test

Run the license check locally and confirm the new batch size of 500 is used (it will be mentioned in the printouts):
$ yarn --ignore-scripts && yarn license:check

Follow-ups

N/A

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

The batch size is used by dash-licenses, and determines how many
dependencies are sent per request to the Eclipse Foundation and
ClearlyDefined servers. 500 is actually the default when running
plain dash-licenses, and will result in fewer requests which could
help with HTTP 429 errors we see once in a while, specially on the
ClearlyDefined requests.

See:
eclipse-dash/dash-licenses#301 (comment)

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
@marcdumais-work marcdumais-work merged commit 45923f0 into main Apr 10, 2025
8 checks passed
@marcdumais-work marcdumais-work deleted the license-check-config-batchsize branch May 15, 2025 16:58
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.

3 participants