nf-diff @ 0.9.5
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, tasks, failures, performance, efficiency, outputs, published outputs, logs, and DAG wiring. By default it highlights meaningful changes and treats always-differing fields as context. Use --verbose to flag everything.
Output is a single, standalone HTML document with inline CSS/JS/SVG that requires no network access and supports light/dark themes. 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
Requirements
- Nextflow
>= 25.04.0, Java 17+ - Two runs present in the local
.nextflow/historyof the project you're inspecting
Installation
Use the published plugin directly with Nextflow:
nextflow plugin nf-diff:diff --last
For local or 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
nf-diff includes a composite GitHub Action to compare runs on Pull Requests and post rich Markdown summary comments:
- 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 to compare task outputs, logs, and DAG wiring when 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 | 11 Oct 2026 03:35:09 (UTC) |
| Release Notes | - |
| Download URL | https://registry.nextflow.io/api/v1/plugins/nf-diff/0.9.5/download/nf-diff-0.9.5.zip |
| Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/nf-diff/blobs/sha256:7719b1b0b6134a966e08b48a83258a047b0b05c3acd470e0d0c33dc00886a15c |
| Size | 755.1 KB |
| Checksum | 480c79e6ac6832671b286ef0d3c3efe46087e426e7a7eb7827ab3f08b1d46740feb8552321a3cf9f71d89f3d3d34df12309b3602a68f27a076a616b67acc93d8 |
| Total downloads | 113 View trends |
| Security Scan |
| Version | Nextflow version | Date | Status | Downloads |
|---|---|---|---|---|
| 0.9.5 | >=25.04.0 | 11 Oct 2026 03:35:09 (UTC) | 113 | |
| 0.9.1 | >=25.04.0 | 21 Sep 2026 05:23:13 (UTC) | 178 | |
| 0.9.0 | >=25.04.0 | 21 Sep 2026 04:19:00 (UTC) | 156 | |
| 0.8.0 | >=25.04.0 | 18 Sep 2026 23:10:33 (UTC) | 157 | |
| 0.7.0 | >=25.04.0 | 12 Sep 2026 03:58:24 (UTC) | 172 | |
| 0.6.0 | >=25.04.0 | 10 Sep 2026 19:39:02 (UTC) | 170 | |
| 0.5.0 | >=25.04.0 | 10 Sep 2026 06:04:57 (UTC) | 177 | |
| 0.4.0 | >=25.04.0 | 09 Sep 2026 01:43:36 (UTC) | 180 | |
| 0.3.0 | >=25.04.0 | 08 Sep 2026 18:12:19 (UTC) | 180 | |
| 0.2.0 | >=25.04.0 | 08 Sep 2026 07:47:40 (UTC) | 191 |