nf-diff @ 0.9.1
Summary
nf-diff is a Nextflow plugin that adds a diff CLI verb. Point it at two runs from your local run history — or just say --last — and it reconstructs both entirely from Nextflow's own history and cache (no re-execution) and renders a self-contained HTML report of everything that changed between them.
The plugin compares multiple layers including metadata, parameters, configuration, processes, software versions, task status, failures, performance, efficiency, outputs, published outputs, logs, and DAG wiring. By default the report highlights meaningful changes and treats always-differing fields (run name, session id, launch time, cache hash, wall time, resource usage) as context. Use --verbose to flag everything.
Output is a single, standalone HTML document with inline CSS/JS/SVG, no network access, and light/dark theme support. For CI and scripting, --format=json and --format=md emit the same comparison, and --fail-on-change turns any difference into a non-zero exit code.
Get Started
Use the published plugin directly with Nextflow, or configure the local repository when testing an unpublished build.
Requirements:
- Nextflow >= 25.04.0
- Java 17+
- Two runs present in the local
.nextflow/historyof the project you're inspecting
Installation: For local/unpublished builds, run:
make dev-repo
export NXF_PLUGINS_TEST_REPOSITORY="file://$PWD/build/plugin-repo/plugins.json"
Then invoke the bare id nf-diff:diff (not a pinned version).
Examples
# Compare the two most recent runs
nextflow plugin nf-diff:diff --last
# Compare two runs by name (or session-id prefix)
nextflow plugin nf-diff:diff tender_euler happy_curie
# Emit Markdown for a PR comment
nextflow plugin nf-diff:diff --last --format=md --output=diff.md
# CI gate: fail if anything meaningful changed
nextflow plugin nf-diff:diff --last --fail-on-change
GitHub Action for CI:
- name: Compare PR run with baseline
uses: mribeirodantas/nf-diff@main
with:
last: 'true'
format: md
comment-pr: 'true'
The GitHub Action enables diff-all by default, so it compares task outputs, logs, and DAG wiring when the required work directories are available. Set diff-all: 'false' to disable this behavior.
License
nf-diff is licensed under the Apache License 2.0.
| Nextflow version | >=25.04.0 |
|---|---|
| Depends On | - |
| Release Date | 21 Sep 2026 05:23:13 (UTC) |
| Release Notes | - |
| Download URL | https://registry.nextflow.io/api/v1/plugins/nf-diff/0.9.1/download/nf-diff-0.9.1.zip |
| Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/nf-diff/blobs/sha256:829de20d46861d745733c46c70e504fe854e6c7c2a342c5fdd77ff3b00ecc14e |
| Size | 696.4 KB |
| Checksum | cbec0c6a727777022491b3ad7fadc01e5596d2873db864ee7659d38c81ea9f68efb5d8fa5c009702a6229c98be5b8622e66a25ea84b9a5c31ed6829e24346c38 |
| Total downloads | 38 View trends |
| Security Scan |
| Version | Nextflow version | Date | Status | Downloads |
|---|---|---|---|---|
| 0.9.1 | >=25.04.0 | 21 Sep 2026 05:23:13 (UTC) | 38 | |
| 0.9.0 | >=25.04.0 | 21 Sep 2026 04:19:00 (UTC) | 30 | |
| 0.8.0 | >=25.04.0 | 18 Sep 2026 23:10:33 (UTC) | 32 | |
| 0.7.0 | >=25.04.0 | 12 Sep 2026 03:58:24 (UTC) | 47 | |
| 0.6.0 | >=25.04.0 | 10 Sep 2026 19:39:02 (UTC) | 45 | |
| 0.5.0 | >=25.04.0 | 10 Sep 2026 06:04:57 (UTC) | 51 | |
| 0.4.0 | >=25.04.0 | 09 Sep 2026 01:43:36 (UTC) | 55 | |
| 0.3.0 | >=25.04.0 | 08 Sep 2026 18:12:19 (UTC) | 55 | |
| 0.2.0 | >=25.04.0 | 08 Sep 2026 07:47:40 (UTC) | 65 |