Clean reports for fixed issues
We need to reduce the amount of disk space used by CrashDragon after a while.
One way we could do that is to allow an administrator to remove old reports. I'm not sure removing every reports for a specific version makes a lot of sense, however removing reports that are confirmed to be fixed does (IMO).
I suppose we need:
-
To detect when a report is fixed. We can't trust the "fixed" state that gets set by developers, as reports for newer versions have often contradicted that state. I guess a crash can be considered fixed when no reports have been received for the most recent version for more than a few days -
A shiny UI/API to trigger the deletion of such reports (it seems thresh prefers the non-UI way, so the API/CLI way should be prioritized) -
Possibly a confirmation listing? Not sure that makes sense for the initial cleanup, but it might if we do this more often.