-
Notifications
You must be signed in to change notification settings - Fork 0
Description
-
Nuke command is particularly problematic -- maybe write a list of jobs that were nuked to local client
jobs.nukedfile, with timestamp, and then prevent any further actions on any job in that list. That would prevent the problem of doing another command on a nuked job preventing the nuking of the directory. -
one issue is that the
grunt.pycommand doesn't stay running, so all memory has to be via files that get written and loaded each time. Grunti however does not have such a limitation, so it could internally catch such things, though it is nicer if all the logic is in the bare grunt tool. -
A more general solution would be to keep a log of all actions taken (expiring anything more than an hour old or something) and looking through that to catch any attempts to write to nuked, deleted, or archived jobs. Maybe could also use this to actively confirm things, so e.g., grunti could try to confirm whether all nuked have been nuked and keep pulling until this comes back true. That would be good for various basic commands.
-
might be useful for submit issue too -- when you try to submit something new, it waits to validate that previous jobs have been submitted (not 100% sure about what that means tho).