Open anna-geller opened 1 month ago
This needs to be discussed, see https://kestra-io.slack.com/archives/C04HTFM3VL6/p1727683936404919
Final next steps from Slack thread:
Why only for new instances? If this flow is loaded and the trigger is active, it removes past executions and logs older than 1 month without any warning which can lead to a usage spike on the instance database during the cleanup, small DBs could even crash.
Why this trigger is enabled? it's generally best practice to remove old logs and decision was made to keep it enabled for new instances.
Describe the issue
loading the purge flow should be independent of this configuration:
even if this is set to false, this blueprint should be loaded: https://kestra.io/blueprints/trigger/234-purge-execution-data-including-logs-metrics-and-outputs-on-a-schedule