delete_instances_on_shutdown doesn't work with fleeting plugin
Summary
When using delete_instances_on_shutdown
with plugin = "..."
gitlab-runner stops the plugin before scaling in.
Actual behavior
The Executor Runners are still there after Manager Runner is down.
Expected behavior
Autoscaling group set to zero before shutdown
Relevant logs and/or screenshots
job log
ERROR: decreasing instances err=rpc error: code = Unavailable desc = connection error: desc = "transport: error while dialing: dial unix /tmp/plugin3042146085: connect: connection refused"
Environment description
config.toml contents
...
[[runners]]
[runners.autoscaler]
capacity_per_instance = 5
max_use_count = 100
max_instances = 2
plugin = "aws"
delete_instances_on_shutdown = true
...
Used GitLab Runner version
Version: 16.11.1
Git revision: 535ced5f
Git branch: 16-11-stable
GO version: go1.21.9
Built: 2024-05-03T15:52:38+0000
OS/Arch: linux/amd64