Skip to content

ADR: native external scripts#7174

Open
edmundmiller wants to merge 8 commits into
masterfrom
adr/native-external-scripts
Open

ADR: native external scripts#7174
edmundmiller wants to merge 8 commits into
masterfrom
adr/native-external-scripts

Conversation

@edmundmiller
Copy link
Copy Markdown
Member

Summary

  • add a draft ADR proposing native external scripts for Bash, Python, and R
  • add a pending Spock executable contract for the ADR
  • add a Snakemake-style fixture under tests/native-external-scripts/ showing the desired file layout and runtime API shape
  • frame the design around agent/human readability, nextflow module run feedback loops, and explicit code-asset staging rather than declared input staging

Validation

  • ./gradlew :nextflow:test --tests nextflow.script.NativeExternalScriptsContractTest
  • bash -n tests/native-external-scripts/scripts/bash_sort.sh tests/native-external-scripts/checks/checks.sh
  • python3 -m py_compile tests/native-external-scripts/scripts/python_summary.py

Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 22, 2026

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 64726e0
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/6a10a4aa912af9000795871c

@bentsherman bentsherman changed the title Add ADR for native external scripts ADR: native external scripts May 23, 2026
@bentsherman
Copy link
Copy Markdown
Member

The nf-python plugin does a similar thing for Python scripts, it's worth investigating as part of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants