voruti

Results 23 comments of voruti

This issue only occurs for simultaneously started builds, because for builds that are invoked at a different point in time [parked.values()](https://github.com/jenkinsci/jenkins/blob/252b7dce8a96257c28e8946b338efc78bb489f6b/core/src/main/java/hudson/model/Queue.java#L1645C39-L1645C54) only contains executors that are available: ![grafik](https://github.com/jenkinsci/scoring-load-balancer-plugin/assets/45130096/266305b8-4519-4e89-9532-09d60e68ec3e)

I did a simple workaround: https://github.com/jenkinsci/scoring-load-balancer-plugin/compare/main...voruti:scoring-load-balancer-plugin:feature/upstream-issue-30-workaround-missing-executors

Since this really is a hack that comes with it's consequences, like builds beeing delayed for some seconds, and relies on things like system time and magic numbers as well,...