Execution Cleanup
The manual cleanup dialog has been removed
Earlier versions of msg.ZenTestAI had a Cleanup button on the Test Executions page that opened a dialog for bulk-deleting executions older than a chosen date. That dialog no longer exists — there is no replacement UI.
How old executions are handled today:
- Delete individual executions from the Executions list: hover a row and use the Delete action. This permanently removes the execution and its database records after a confirmation.
- Bulk cleanup by age is still available as a backend REST endpoint (
POST .../test-executions/cleanupwith anolderThandate), so it can be triggered via the API — for example from a pipeline or by an administrator. Deleting old executions this way cannot be undone. - Support artifacts (verbose-run caches and memory snapshots collected for support bundles) are cleaned up automatically by a scheduled platform job — no user action is needed for them.
Deleting executions — individually or via the API — removes the execution records and their metadata, step details and logs, but never touches test case definitions. Storage artifacts such as videos and screenshots are managed by separate storage-side policies; the application handles missing media files gracefully and shows a placeholder when a video or screenshot is no longer available.