msys2 / msys2-autobuild

🏭🏭🏭🏭🏭🏭🏭🏭
https://packages.msys2.org/queue
MIT License
35 stars 25 forks source link

suggestion: add background thread to poll token validity during `makepkg` #37

Closed jeremyd2019 closed 2 years ago

jeremyd2019 commented 3 years ago

A build on my raspberry pi that took over 1.5 days failed because the token wasn't valid. Some discussion on discord produced the idea of periodically polling using the token (probably hitting the rate limit API?), which may keep it valid, but would at least give us more information about when the token expires even if that doesn't keep it valid.

jeremyd2019 commented 3 years ago

https://github.community/t/github-token-lifetime/16837/6 (I guess it got flagged for moderation, maybe because I'm a 'new' user)

jeremyd2019 commented 2 years ago

I did this (#39) but it didn't help.