We encountered a bug where the autoscaling agentpool controller doesn't take into account generally queued items in TFC and hence the replicas stay at the minimum number set in the agent pool. Steps to reproduce:
Create an agent pool with autoscaling set to minimum 1
Trigger runs on several workspaces
Usage Example
I have attached a script using parts of the code in the controller which can highlight the difference(line 32 can be added/removed). main.go.zip
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
We encountered a bug where the autoscaling agentpool controller doesn't take into account generally queued items in TFC and hence the replicas stay at the minimum number set in the agent pool. Steps to reproduce:
Usage Example
I have attached a script using parts of the code in the controller which can highlight the difference(line 32 can be added/removed). main.go.zip
References
Community Note