nextflow-io / nextflow-io/nextflow

cloudcache.enabled does not properly enable/disable usage of the nf-cloudcache plugin

Open
#7,456 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage/investigate
Dominant language
Groovy
Stars
3.5k
Forks
811
Avg merge
2d 11h
Merged PRs (30d)
61

Description

Bug report

  • When explicitly including nf-cloudcache as a plugin in nextflow config, setting cloudcache.enabled = false does not fully disable the plugin from executing
Expected behavior and actual behavior
Steps to reproduce the problem

main.nf

workflow {
    main:
    printf "Hello, World!"
}

nextflow.config

plugins {
    id 'nf-cloudcache@0.6.0'
}

cloudcache.enabled = false
Program output
NXF_VER=26.07.0-edge nextflow run .

 N E X T F L O W   ~  version 26.07.0-edge

Launching `./main.nf` [voluminous_agnesi] revision: f70214ed90

ERROR ~ Cloud-cache path not defined - use either -with-cloudcache run option or NXF_CLOUDCACHE_PATH environment variable

 -- Check '.nextflow.log' file for details
Environment
  • Nextflow version: 25.10.7, 26.04.6, 26.07.0-edge, syntax parser v1 and v2
  • Java version: openjdk version "21.0.11" 2026-04-21 LTS
  • Operating system: macOS, linux
  • Bash version: zsh 5.9 (arm64-apple-darwin24.0)
Additional context
  • We are specifically including the plugin definition to pin the version for the sake of reproducibility

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked sections of modules/nextflow/src/main/groovy/nextflow/Session.groovy and plugins/nf-cloudcache/src/main/nextflow/cache/CloudCacheFactory.groovy. Run the supplied main.nf and nextflow.config reproduction with nf-cloudcache explicitly pinned and cloudcache.enabled=false. Done means the plugin does not execute and the workflow runs without the cloud-cache path error.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.