-
-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
agent option "stop agent from taking new tasks" not working #1990
Comments
If https://ci.woodpecker-ci.org/repos/3780/pipeline/10780/9 is using the autoscaler, then this issue might be causing the
When an agent is shut down while processing a pipeline, this is sometimes the error message woodpecker shows. |
Good catch. |
I checked again using the latest main and with my agent in the debugger it seems to work and stops in Line 68 in 619858e
|
|
The issue seems to be that the agent is long-polling and as soon as its inside of the |
version: 8d62578 do not respect this option
The text was updated successfully, but these errors were encountered: