You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2021. It is now read-only.
This issue relates to issue #143 and I think we need to restructure the whole model.User struct. We should be able to keep actually lest state than we do right now. In terms of the Idler, we don't need all the information we try to keep track of and there is a risk that is gets outdated.
User
has some methods likeHasActiveBuilds
andHasBuilds
, but at the same time we do something like this in conditions:It would be nice to pull this into the
User
. Something likeLastestBuildCompletionOlderThanIdleTime(idleTime)
.Similar:
This should also allow to add some unit tests around these conditions.
The text was updated successfully, but these errors were encountered: