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
Add support for deleting scheduled tasks from the daemon #1417
Comments
Nice, thanks for creating this, If we decide to implement a CLI command, a few notes: (1) What would happen if a user ran (2) Having a command specialized to terminate tasks by state sounds quite specialized,
|
I completely agree that termination per state is quite specialized, and not really necessary when I think about it. Regarding the |
Regarding clearing history, is there any reason to focus on If we want to remove old tasks' data from the logs,
It seems like the effort would be the same, with a clearer UX and more opportunities for reuse. Regarding benefits, is that a new feature or is this related to |
The new feature is partially related to what you just listed - not to clutter the system and affect other tests and overall performance. But a more solid example of why would we need is what we are encountering while testing ping-pong (as described in #1416) - one pod goes into |
Got it, thanks for sharing, I don't think we need a new feature here, we need to fix bugs:
Could you open issues for the first two? |
Description
The command to remove (terminate) tasks (ie.
testground terminate
) does not remove scheduled jobs. If the daemon is overloaded, or we wish to remove scheduled tasks, we have to remove them from the queue (ie. Redis) manually.What defines this endeavour to be complete?
Support terminating any task by state, other than the ones in progress (that would be too complicated, and we have a timeout for that).
testground terminate --state complete
)The text was updated successfully, but these errors were encountered: