Skip to content

Adding versions to config - #80

Merged
mattsoup merged 1 commit into
masterfrom
version_config
Oct 6, 2026
Merged

mattsoup merged 1 commit into
masterfrom
version_config

Conversation

@mattsoup

@mattsoup mattsoup commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI balanced review requested due to automatic review settings October 6, 2026 13:56
@mattsoup
mattsoup merged commit 3947453 into master Oct 6, 2026
2 checks passed
@mattsoup
mattsoup deleted the version_config branch October 6, 2026 13:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The new hashing, manifest, and aggregation metadata paths are not exercised by the existing stub-based tests.

Review effort: Balanced
Findings: 2 Low severity

Open (2)
What changed in this PR

Adds centralized workflow version metadata and source-content hashing for provenance reporting.

Changes:

  • Configures workflow versions, labels, and entry scripts.
  • Generates a transitive source manifest and SHA-256 hash.
  • Reports workflow metadata through aggregation and email notifications.
File Description
nextflow.config Loads workflow-version configuration.
conf/​workflow_versions.config Defines EM-seq workflow metadata.
main.nf Validates metadata and generates provenance information.
lib/​workflow_content_hash.nf Computes hashes and writes manifests.
modules/​aggregate_results.nf Forwards version and hash metadata.
lib/​notifications.nf Adds workflow version to emails.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread main.nf
def workflow_entry_script = project_dir.resolve(params.workflows[params.workflow].entry_script)
workflow_content_hash = workflowContentHash(workflow_entry_script, project_dir)

if (!workflow.stubRun) {
--workflow "${workflow_name}" \\
--workflow_version "${workflow_version}" \\
${workflow_name_modifier_arg} \\
${workflow_content_hash_arg} \\
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