Skip to content

Regression in version 9: Changes to "shell" directive content don't trigger rerun anymore #3491

@corneliusroemer

Description

@corneliusroemer

Snakemake version
9.1.1

Describe the bug
To my surprise, changes to shell directive content don't seem to trigger reruns anymore.

Minimal example

  1. Set up Snakefile like this:
rule a:
    output:
        "a.txt",
    shell:
        "echo a > {output}"
  1. Run snakemake
  2. Edit the content of shell directive to echo b > {output}
  3. Run snakemake again

Expected result: Rule reruns
Actual result: Nothing to be done

I installed snakemake v8.30.0 and that one shows expected behavior. So it seems to be a regression in v9 (or if it's intended behavior then it's a breaking change of v9 that isn't documented as far as I can tell)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions