8000 Add Della self-hosted CI and restore notebook test coverage by davidt0x · Pull Request #621 · brainiak/brainiak · GitHub
[go: up one dir, main page]

Skip to content

Add Della self-hosted CI and restore notebook test coverage - #621

Draft
davidt0x wants to merge 10 commits into
masterfrom
della-rse-notebook-tests
Draft

davidt0x wants to merge 10 commits into
masterfrom
della-rse-notebook-tests

Conversation

@davidt0x
@davidt0x davidt0x commented Dec 2, 2026
Copy link
Copy Markdown
Contributor

This adds manual self-hosted CI on della-rse and makes all 11 documentation notebooks available to the opt-in notebook suite. GitHub-hosted CI continues to skip the full documentation notebooks; selecting notebooks or all in the Della workflow runs them on the self-hosted runner.

Changes

  • Add the Della tests workflow with smoke, unit, notebooks, and all selections, a systemd user service, provisioning instructions, and report uploads. Tests execute directly on della-rse without SLURM.
  • Keep runner work, environments, caches, datasets, and reports under /scratch/gpfs/CSES/dmturner/brainiak_tests/. Reuse known inputs from the existing cache and serialize access with workflow concurrency and a filesystem lock.
  • Limit full suites to two logical CPUs, a sampled 32 GiB aggregate RSS budget, and three hours including setup. The smoke profile uses one CPU, 8 GiB, and 20 minutes. Numerical-library threads are limited to one; MPI stays on localhost. The supervisor cleans up descendant processes on completion, cancellation, and resource-limit failures.
  • Repair notebook downloads, current dependency APIs, FCMA MPI subprocess launches, FSL-free voxel-mask generation, HTFA plotting, and the synthetic rt-cloud experiment. Save executed notebooks separately while preserving existing outputs and metadata in the source notebooks.
  • Fix parent fixture teardown across ordinary/MPI pytest boundaries and honor explicit JUnit report paths. Include the new regression-test fixtures in conda test environments.
  • Incorporate the current master dependency security updates and align boto3 with the updated botocore lock.

Validation

  • December 2, local: 18 focused regression tests passed using the isolated source-file layout declared by the conda recipe; the synthetic IEM notebook passed with the refreshed dependencies. This checks the conda test layout, not a full conda build.
  • Confirmed ordinary pytest skips all 11 documentation notebooks without --enable_notebook_tests.
  • Della workflow actionlint, ShellCheck, flake8, mypy, notebook-format/source-only-diff checks, locked dependency validation, installed dependency compatibility, and git diff --check passed. The release-note draft was checked with the current towncrier build command.
  • October 7–8, local: 206 unit tests passed, and all 11 notebooks were exercised across separate runs. HTFA's fresh fit completed; its complete notebook subsequently passed using that fit after the plotting fix. The full notebook suite has not been repeated with the refreshed dependency lock or on Della.
  • December 2, read-only Della checks: SSH works; Linger=yes; GCC 11/Open MPI 4.1.6 and uv are available; the scratch root is writable and known cached inputs remain present. The shared filesystem reports about 5.8 TiB free, without a user/group quota check. The node was busy at inspection.

Remaining deployment validation

Keep this as a draft pending the Della smoke and unit runs, followed by the full notebook suite and end-to-end Actions validation. The repository currently has no registered self-hosted runner or della environment. No runner was installed, no remote files or service settings were changed, and no tests were run on Della while preparing this PR. Provisioning and resource-control details are in DELLA_RUNNER.md.

This branch has not been deployed

No deployments
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.

1 participant

0