Skip to content

ci: drop unread steps, fold partial failures, Nextflow runtime tests into Lint And Test - #593

Merged
vjaganat90 merged 4 commits into
PolusAI:masterfrom
vjaganat90:ci/drop-unread-steps
Nov 12, 2026
Merged

vjaganat90 merged 4 commits into
PolusAI:masterfrom
vjaganat90:ci/drop-unread-steps

Conversation

@vjaganat90

@vjaganat90 vjaganat90 commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

What

  • Delete the Validate Python API Workflows step (four lanes) with its test and manifest, and the sophios --generate_schemas step (five lanes).
  • Run the partial-failure workflows inside test_run_workflows_on_push with --partial_failure_enable; delete test_run_partial_failures_pass and its step.
  • Run Workflows runs tests/contrib in one step instead of four -k slices of it.
  • Delete nextflow.yml: Lint And Test's Linux leg installs the pinned Nextflow and runs the nextflow-marked tests; its compile-only tests already ran in package.

Why

  • The corpus steps already parse every generated .wic, the schema accepts exactly what the parser does, nothing in CI reads autogenerated/schemas/wic.json, the partial-failure runs need no step of their own, and nextflow.yml ran its tests twice per PR.

@vjaganat90 vjaganat90 changed the title ci: drop the steps nothing reads; partial failures run in the push lane ci: drop unread steps, fold partial failures, Nextflow runtime tests into Lint And Test Nov 12, 2026
Every generated .wic is already parsed by the corpus steps, and the schema accepts exactly what the parser does; nothing in CI reads the schema file.
The push run covers the partial-failure workflows with --partial_failure_enable, so they need no test or step of their own.
Four steps each started pytest for one -k slice of tests/contrib; one run covers them all.
nextflow.yml ran them twice per PR, on push and pull_request; Lint And Test's Linux leg installs the pinned Nextflow and runs them once. Its other tests already ran in package.

@darkclad darkclad left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Checked against the fork runs at bcf38b7. The new Lint And Test step selects the same 84 runtime tests nextflow.yml did (80 nextflow and not docker + 4 docker and not nextflow_corpus), and all 84 pass. Run Workflows now runs the partial-failure workflows inside test_run_workflows_on_push (42 passed; the partial-failure list is disjoint from the on-push list, so nothing runs twice), and runs all 14 contrib tests in one step. No references to the deleted test, manifest or workflow remain. One non-blocking note inline.


- uses: actions/setup-python@v6
with:
python-version: "3.12"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This was the only per-PR run of tests/core/nextflow on Python 3.12 (its last step was named "Python 3.12 compatibility suite"). Package runs the same 1,296 non-runtime tests on 3.11 only, and requires-python is >=3.11. Property Weekly still runs on 3.12, but only for the property tests. If 3.12 coverage of the Nextflow target matters, adding a 3.12 entry to package would keep it; otherwise a line in the PR body saying it is dropped on purpose would do.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We anticipated this: #594 adds Python Matrix Weekly, which runs Lint And Test on Python 3.11, 3.12, 3.13 and 3.14 (Ubuntu), Nextflow runtime tests included. The Nextflow target keeps its 3.12 coverage there, weekly, instead of in a per-PR lane on one extra version.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Weekly is fine, but #594's matrix only reaches the runtime half. Lint And Test selects tests/core/nextflow -m "nextflow and not nextflow_corpus" (64 tests at cbf6740), while the 1,296 not nextflow tests this step ran on 3.12 still run only in package, on 3.11. One more step in lint_and_test.yml, cd sophios/ && pytest tests/core/nextflow -m "not nextflow", would put them in the weekly matrix on 3.11-3.14. I'll approve here once that is in #594.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done in #594 (33b2569): the Nextflow step in Lint And Test now selects tests/core/nextflow -m "not nextflow_corpus", so the runtime and non-runtime halves (1,360 tests) both run on every Python in the weekly matrix.

@vjaganat90

Copy link
Copy Markdown
Member Author

Thanks for checking the fork runs. The 84 runtime tests match what nextflow.yml selected, and the partial-failure workflows now run once, inside the on-push list. I've left the 3.12 coverage question from the inline note open for now, since it is a CI-matrix decision.

@vjaganat90
vjaganat90 force-pushed the ci/drop-unread-steps branch 2 times, most recently from 476e9b8 to bcf38b7 Compare November 12, 2026 16:21

@darkclad darkclad left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM. The 3.12 gap is closed in #594 (33b2569): Lint And Test's Nextflow step now selects tests/core/nextflow -m "not nextflow_corpus", and its 3.12 matrix job ran all 1,360 tests, which passed.

@vjaganat90
vjaganat90 merged commit 47f6a51 into PolusAI:master Nov 12, 2026
6 checks passed
@vjaganat90
vjaganat90 deleted the ci/drop-unread-steps branch November 12, 2026 18:33
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