Skip to content

Frequent 429 errors from ClearlyDefined #448

@waynebeaton

Description

@waynebeaton

We're getting periodic (but with growing frequency) reports of failures to get a response from ClearlyDefined.

Many projects have integrated Dash License Tool calls into pull request workflows, for example. My (possibly naive) hypothesis is that each individual project is making a reasonable number of calls, but since these are running on shared infrastructure, during periods of high activity, the ClearlyDefined server is getting hammered in aggregate and is throttling. We're also likely competing for resources from other workflows in unrelated GitHub projects that use ClearlyDefined.

Some thoughts on how to deal with this...

  1. Implement rate limiting. My concern with this is that doing this will increase build times while the workflow is just sitting waiting. Also, if my hypothesis is correct, there's no way of knowing if it would even work: it's possible that we could still get squeezed out by competing processes and wind up in an endless cycle of waiting.
  2. Strongly encourage projects to configure their frequently executed workflows to treat this as a warning not a blocker.

What do you think, @HannesWell ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions