pw workflows runs clean
pw workflows runs clean
Delete workflow runs based on filters
Synopsis
The pw workflows runs clean command deletes every run matching the given filters. At least one filter is required; passing several combines them.
Deletion is permanent and starts immediately, without a confirmation prompt.
pw workflows runs clean [flags]Examples
pw workflows runs clean --older-than-days 7
# Delete all completed runs
pw workflows runs clean --status completed
# Delete specific runs by slug
pw workflows runs clean --slugs swift-falcon-17,quiet-river-83
# Delete completed runs older than 30 days
pw workflows runs clean --older-than-days 30 --status completedOptions
-h, --help help for clean
--older-than-days int Delete runs older than N days
--slugs string Comma-separated list of run slugs to delete
--status string Delete runs with status (completed, error, canceled)Options inherited from parent commands
--context string The context to use. Overrides PW_CONTEXT environment variable and current context from config.
--platform-host string The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
-v, --verbose Enable verbose loggingSEE ALSO
- pw workflows runs - Manage workflow runs