Closed farizrahman4u closed 3 years ago
Nice cleanup,
Couple of functionality notes: 1) I think you are missing the ability to delete online runs. Since they are not explicitly marked synced, you could probably assume they are synced? I assume that is what the old 'gc' command was doing. In the future we could try harder to verify by reading the end of the binary log file. 2) Lets add a flag to let you remove non-interactively. --clean-force? 3) I dont think we need to show the synced directories in the summary, just the count is good since it that is what the user really needs to see. Eventually it could be count and amount of storage that can be freed 4) Does it make sense to support wandb sync --clean DIR? If we dont support it, we should at least error on this usage. 5) I think we should sort the run directories? oldest first? not sure 6) when you are asking the user to confirm the delete, that is where you can show the synced directories you are about to delete. (instead of in the summary).
Pull Request Test Coverage Report for Build 49b1c642-90f4-4265-b243-4293ee645e2d
💛 - Coveralls