Skip to content

Strict mode#244

Merged
nictru merged 30 commits intodevfrom
strict-mode
Jan 30, 2026
Merged

Strict mode#244
nictru merged 30 commits intodevfrom
strict-mode

Conversation

@nictru
Copy link
Copy Markdown
Collaborator

@nictru nictru commented Jan 23, 2026

This continues #242

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 23, 2026

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit f858d23

+| ✅ 272 tests passed       |+
!| ❗  14 tests had warnings |!
Details

❗ Test warnings:

  • files_exist - File not found: conf/igenomes.config
  • files_exist - File not found: conf/igenomes_ignored.config
  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • pipeline_todos - TODO string in nextflow.config: Optionally, you can add a pipeline-specific nf-core config at https://github.com/nf-core/configs
  • pipeline_todos - TODO string in README.md: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file.
  • pipeline_todos - TODO string in README.md: Add bibliography of tools and data used in your pipeline
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in base.config: Customise requirements for specific processes.
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!
  • pipeline_todos - TODO string in nextflow.config: Specify any additional parameters here

✅ Tests passed:

Run details

  • nf-core/tools version 3.5.1
  • Run at 2026-01-30 20:38:06

@nictru
Copy link
Copy Markdown
Collaborator Author

nictru commented Jan 26, 2026

I can investigate the OOM errors in the next days, but the merge conflicts are resolved now. So feel free to continue with the strict syntax implementation @fasterius

@fasterius
Copy link
Copy Markdown
Contributor

We have several strict syntax warnings for modules with templates, which is an issue with the syntax parser; see issue nextflow-io/nextflow#6777 and Slack discussion at https://nfcore.slack.com/archives/C04QR0T3G3H/p1769678574070939. Module binaries was proposed as a solution, but we should instead wait for a future version of the syntax parser.

We should probably merge this PR as soon as everything but this problem is fixed, at which point the template issue should hopefully solve itself with a future parser version.

@fasterius
Copy link
Copy Markdown
Contributor

I think this PR is finished from the "strict syntax" point of view, @nictru, and we just need to solve the failing CI.

@nictru
Copy link
Copy Markdown
Collaborator Author

nictru commented Jan 29, 2026

Agreed, we should ignore the unused variable warnings for now

Regarding the OOM error in the CI, a long time ago, I deliberately reduced the memory limit of the test profile to 6GB to enable stronger parallelization, since no task can use more than half of the memory on the GitHub runners.
Now, for some reason that I can't understand, COMBAT now requires more memory. This is confusing, as this PR does not contain any related changes, and it always worked before this PR. It also does not seem to be a hiccup, as it always happens, no matter how many times I rerun the tests.
When running the test profile locally on the dev branch as well as this branch, the memory consumption is exactly equal.

I don't think it is worth digging into why this could be happening. I will just incrementally increase the test profile's memory limit until it works. I don't expect having to set it higher than 10GB.

@nictru
Copy link
Copy Markdown
Collaborator Author

nictru commented Jan 29, 2026

One question, @fasterius: How can we ensure we continue to follow the strict syntax in future changes? Are you aware of any plans to include this in the CI as part of the template?

@fasterius
Copy link
Copy Markdown
Contributor

One question, @fasterius: How can we ensure we continue to follow the strict syntax in future changes? Are you aware of any plans to include this in the CI as part of the template?

Yes, they will start linting for the strict syntax (and other upcoming changes); read more at https://nf-co.re/blog/2025/nextflow_syntax_nf-core_roadmap.

@nf-core-bot
Copy link
Copy Markdown
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.5.1.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

@nictru nictru merged commit aa83347 into dev Jan 30, 2026
55 checks passed
@nictru nictru deleted the strict-mode branch January 30, 2026 22:12
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.

3 participants