inseven / builds

GitHub Actions status board for macOS and iOS
MIT License
1 stars 1 forks source link

Use incremental update fetches when looking for new builds #359

Open jbmorley opened 2 months ago

jbmorley commented 2 months ago

Right now new API fetches aren't incremental–we don't remember builds that we've seen, causing us to seek back through all builds looking for results every time. API usage could be significnatly reduced by maintaining a cache of results which would, at the very least, allow us to stop paging into the past for historical builds.

jbmorley commented 2 months ago

As part of this, it would be worth checking to see if GitHub has an age limit after which builds can't be re-run.

jbmorley commented 2 months ago

Tagging this as a bug as, without it, there are some operations we can't do efficiently enough.