Skip to content

ci: add Free Disk Space step to python-tests and ros-tests jobs#217

Merged
YuanYuYuan merged 3 commits into
mainfrom
fix/ci-python-disk-space
Jun 30, 2026
Merged

ci: add Free Disk Space step to python-tests and ros-tests jobs#217
YuanYuYuan merged 3 commits into
mainfrom
fix/ci-python-disk-space

Conversation

@YuanYuYuan

Copy link
Copy Markdown
Collaborator

Summary

  • Add jlumbroso/free-disk-space@main step to python-tests and ros-tests matrix jobs, matching the pattern already used in all other heavy CI jobs (pureRust tests, SHM tests, coverage)

Root cause

ubuntu-latest runners have ~14 GB usable disk. python-tests and ros-tests accumulate Nix store + Rust cache + incremental build artifacts without first freeing space, leaving no headroom and causing sporadic No space left on device (os error 28) failures during the build step.

Fixes #216

Breaking Changes

None

When nix develop is invoked from a parent workspace (e.g. zenoh-ws root),
the shellHook ran pre-commit install into the parent repo's .git/hooks.
Guard both devShells: only install if the git toplevel contains crates/hiroz-core.
Both jobs run heavy Nix + Rust builds on ubuntu-latest runners (~14 GB
disk) without freeing space first, causing sporadic ENOSPC failures.
Other jobs (pureRust, coverage, SHM) already include this step.

Fixes #216
@YuanYuYuan YuanYuYuan merged commit cb66390 into main Jun 30, 2026
20 checks passed
@YuanYuYuan YuanYuYuan deleted the fix/ci-python-disk-space branch June 30, 2026 17:50
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.

ci: python-tests job missing Free Disk Space step causes OOM on ubuntu-latest

1 participant