-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Most appropriate sections of the p5.js website?
Home
What is your operating system?
Linux
Web browser and version
Firefox
Actual Behavior
Our site build sometimes fails when pages fetch data from OpenProcessing. The API returns 429 Too Many Requests, which makes our code expect arrays/strings but get nothing, causing crashes.
- CI builds fail randomly.
- Unable to build the website's reference from the forked repo.
Here's the CI failure : #954 when I tried uploading images. You can see the errors in the PR https://github.com/processing/p5.js-website/actions/runs/17451097533/job/49557683435?pr=954
getSketch 2215521 429 Too Many Requests
Cannot read properties of undefined (reading 'toLowerCase')
Expected Behavior
There should be no crashes when OP returns 429 or bad JSON.
Steps to reproduce
No response
Would you like to work on the issue?
No, I am not very confident with typeScript and CI testings, but a possible solution would be (during tests and local builds, don’t call OpenProcessing at all)
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working
Type
Projects
Status
In Progress