adafruit / adabot

Adabot is our robot friend who helps Adafruit online
MIT License
13 stars 27 forks source link

turn up the debug level #361

Closed jepler closed 9 months ago

jepler commented 9 months ago

We still don't know what exactly is causing #263 -- a recent log showed some odd attempt to sleep to avoid a rate limit, but then no further activity was shown for several hours until the job was terminated, much longer than the expected sleep:

Fri, 24 Nov 2023 09:20:27 GMT  - Report output will be saved to: /home/runner/work/circuitpython-org/circuitpython-org/bin/adabot/libraries.v2.json
Fri, 24 Nov 2023 10:06:30 GMT GitHub API Rate Limit reached. Pausing until Rate Limit reset.
Fri, 24 Nov 2023 10:20:39 GMT Rate Limit will reset at: 2023-11-24 10:20:39
Fri, 24 Nov 2023 10:20:39 GMT GitHub API Rate Limit reached. Pausing until Rate Limit reset.
Fri, 24 Nov 2023 10:20:39 GMT Rate Limit will reset at: 2023-11-24 10:20:39
Fri, 24 Nov 2023 15:20:09 GMT Error: The operation was canceled.

(timestamps available via the "show timestamps" option in the gear menu)

this will turn on a substantial amount of additional debug info, something like (based on a local run)

GET https://api.github.com/search/repositories?q=Adafruit_CircuitPython+user%3Aadafruit+archived%3Afalse+fork%3Atrue&per_page=100&sort=updated&order=asc&page=4 (2 remaining) status=200
2 requests remaining this hour
Starting new HTTPS connection (1): api.github.com:443
https://api.github.com:443 "GET /repos/adafruit/circuitpython HTTP/1.1" 403 277
GET /repos/adafruit/circuitpython (0 remaining) status=403
0 requests remaining this hour
GitHub API Rate Limit reached. Pausing until Rate Limit reset.
Rate Limit will reset at: 2023-11-24 10:27:01
Sleeping 3263 seconds
dhalbert commented 9 months ago

Now need to update the submodule commit in circuitpython-org.