Skip to content

Test for existence of PURL config makes too many requests #2708

@jamesaoverton

Description

@jamesaoverton

This test is failing with an HTTP 429 Too Many Reqeusts error:

https://github.com/OBOFoundry/OBOFoundry.github.io/actions/runs/14736689406/job/41364454604#step:5:54

Since the code is old, and it only started failing now, I expect it's a transient error. But this test_has_purl_config() function is very inefficient: https://github.com/OBOFoundry/OBOFoundry.github.io/blob/master/tests/test_integrity.py#L217. There has to be a better way to do this check without 200+ HTTP requests.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions