whywaita / myshoes

Auto-scaling VirtualMachine runner 🏃 for GitHub Actions
MIT License
132 stars 13 forks source link

Add error handling for invalid labels to AddInstance() #195

Closed site0801 closed 5 months ago

site0801 commented 6 months ago

fixes: #183

Change DeleteJobs to run when invalid labels are enqueued and InvalidArgument is returned by AddInstance().

For example, when AddInstance() is executed, jobs with InvalidArgument are never deleted. Therefore, it will remain in the queue and may hit the rate limit of GitHubAPI.