Closed qwerty287 closed 8 months ago
Yes, have seen this too on my setups. IMO, this is a server issue. The problem is, for the autoscaler the waiting on dependencies
status is excluded from the calculation, but the server won't move an item from waiting on dependencies
to e.g. pending
without an available agent for whatever reason.
Might be (partially) related to https://github.com/woodpecker-ci/woodpecker/issues/2685
The draining is not working agent option "stop agent from taking new tasks" not working So a task might be given to an agent just before it shuts down.
This happens pretty often on ci.woodpecker-ci.org. Agents are removed, even though there are tasks assigned to them (you can see this in the queue admin tab). The tasks have not started yet though.
Example (until it's canceled or restarted): https://ci.woodpecker-ci.org/repos/3780/pipeline/9626 (
docker
andsecurityscan
)