The above agent that I see in Prefect Cloud is never coming back online. At what point will the Cloud automatically "remove" remembrance of this agent? I ask because I could conceivably name agents for purposes of tying them back to transient local resources in which case the number of named agents that are never coming back would get very large... clicking "remove" on all of them would be a nightmare.
k
Kevin Kho
09/24/2021, 7:07 PM
Hey @John Muehlhausen, there is a Clean Up button for this. Prefect won’t do this automatically. (Sorry messed up the messages).
j
John Muehlhausen
09/24/2021, 7:09 PM
Thanks... if I never click this at what point is Cloud going to have a problem because I've got 100,000 zombie agents? That number is not unreasonable if I use the agent name to tie it back to a transient resource. It seems to me that at some point Cloud should auto-forget, perhaps as a user setting:
"Auto-cleanup zombie agents after X days without a check-in"
Or something like that.
k
Kevin Kho
09/24/2021, 7:12 PM
I think that makes sense and maybe might make sense to align it with the retention period. After 2 weeks or 4 weeks, there won’t be more flow runs. Let’s open a feature request for it.
@Marvin open “Configuration of Auto-cleanup of Stale Agents” in UI