Much like the AI logs, I can see the logs for ‘expensive’ workflows chewing through a lot of storage after a while. Unlike the AI logs, Workflow executions don’t have a retention policy. At least the payloads are truncated, but I could see them growing faster than the underlying forum itself for workflows that trigger on every post.
AI-generated summary
Frully initiates a feature request for configurable execution log retention in workflows, drawing a parallel to AI logs. They express concern that ‘expensive’ workflows, particularly those triggering on every post, can rapidly consume storage. Although payload truncation helps, Frully warns that without a retention policy, log growth could outpace the forum’s own database size.
Rajat_99 agrees with this assessment, noting that workflows triggered frequently generate significant volumes of execution data. To address this, Rajat_99 suggests Discourse implement a configurable retention policy and automatic cleanup of older executions. They also propose an option to disable detailed logging for successful runs to further mitigate unnecessary database growth.
@Frully Agreed. Workflows triggered on every post can generate a huge amount of execution logs over time. Discourse should ideally provide a configurable retention policy, automatic cleanup of older executions, or an option to disable detailed logging for successful runs. This would help prevent unnecessary database growth.