Skip to content

Stabilize Braindecode py3.12 CI by capping xdist parallelism#1111

Draft
Copilot wants to merge 2 commits into
developfrom
copilot/fix-dev-ubuntu-latest-py-3-12-job
Draft

Stabilize Braindecode py3.12 CI by capping xdist parallelism#1111
Copilot wants to merge 2 commits into
developfrom
copilot/fix-dev-ubuntu-latest-py-3-12-job

Conversation

Copilot AI commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

The dev ubuntu-latest, py-3.12 Braindecode workflow was not failing on a test assertion; the runner was being shut down mid-suite while executing the test matrix with pytest-xdist auto-parallelism. This change makes the workflow deterministic on GitHub-hosted runners by reducing process fan-out.

  • CI workflow

    • Limit Braindecode test parallelism in .github/workflows/test-braindecode.yml
    • Replace unbounded worker selection (-n auto) with a fixed worker count (-n 4)
  • Why this change

    • -n auto scales to the full runner CPU count, which can overcommit memory for the Braindecode test suite on ubuntu-latest
    • A fixed worker count preserves parallel execution while avoiding runner shutdowns partway through the job
  • Behavioral impact

    • No product code changes
    • No test selection changes
    • Only the CI execution strategy is adjusted
# .github/workflows/test-braindecode.yml
- pytest test/ --quiet -n auto
+ pytest test/ --quiet -n 4

Copilot AI changed the title [WIP] Fix failing GitHub Actions job for dev ubuntu-latest, py-3.12 Stabilize Braindecode py3.12 CI by capping xdist parallelism Jun 27, 2026
Copilot AI requested a review from bruAristimunha June 27, 2026 23:03
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