This post consolidates multiple related requests around managing pipeline run data on the Seqera Platform, specifically in the areas of log persistence and cleanup of scratch/intermediate data.
  1. Persistent Logs After Run Completion
  • Support for archiving essential execution data — including
    .log, .timeline, .sh
    scripts, and reports — to a persistent S3 bucket (Tower-managed or user-defined).
  • Allows run logs and metadata to remain visible in the Tower UI after work directories are deleted.
  • Enables integration with custom lifecycle rules for scratch storage.
  • Preserves artifacts critical for auditability, troubleshooting, and provenance.
  1. Manual Clean-Up via Tower UI (
    A “Clean” action in the run details interface to:
    )
  • Trigger cleanup of intermediate files and caches (e.g.,
    nextflow clean -l <run_name>
    ).
  • Reclaim storage post-execution while retaining archived logs.
  • Offer fine-grained control over data cleanup, one run at a time.
  1. Auto Clean-Up Option at Launch
  • A toggle in the pipeline launch form to enable automatic cleanup when a run completes.
  • Useful for test or debug workflows where data retention is not required.
  • Prevents accumulation of scratch data without manual intervention.
  1. Clean-Up on Run Deletion
  • An optional checkbox when deleting a run to also remove associated
    scratch/workdir
    data.
  • Ensures that run deletion can include cleanup of underlying execution storage.
  • Offers a single-step way to retire a workflow and its resource footprint.
Out of Scope
  • Automatic deletion of archived logs when a run is deleted.
  • Cleanup functionality for in-progress or running workflows.
  • Advanced or rule-based retention policies; current scope is limited to manual actions and simple toggles.