Skip to content

Adopt Namespace runners and add macOS CI - #810

Merged
kstonekuan merged 3 commits into
mainfrom
ci/namespace-runners
Nov 20, 2026
Merged

kstonekuan merged 3 commits into
mainfrom
ci/namespace-runners

Conversation

@kstonekuan

@kstonekuan kstonekuan commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Use Namespace runner labels directly for CI, including pull requests from forks, as well as release builds, FFmpeg asset checks, and contributor automation. Standalone forks need their own Namespace setup to run these workflows. The PyPI publishing job uses GitHub-hosted Ubuntu.
  • Add one Apple Silicon macOS job on Python 3.14. Retain Linux coverage on Python 3.11 and 3.14, and run static analysis and minimum-NumPy coverage once on Linux.
  • Persist uv downloads in platform- and Python-specific Namespace Cache Volumes. Main-branch runs populate the volumes. Use the smaller Namespace Linux shape for the scheduled asset check and contributor automation.
  • Thank Namespace, HFlow’s CI sponsor, with its official README badge.

Validation

  • go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12
  • uv run --locked --python 3.14 ruff check --fix
  • uv run --locked --python 3.14 ruff format
  • uv run --locked --python 3.14 ty check
  • uv sync --dry-run --locked --python 3.14 --python-platform aarch64-apple-darwin with an isolated environment
  • git diff --check
  • uv run --locked --python 3.11 pytest -q -n 4 in an isolated environment and uv run --locked --python 3.14 pytest -q -n 4. Both had 2,649 passes and 8 skips.
  • HFLOW_NETWORK_TESTS=1 uv run --locked --python 3.14 pytest -q tests/test_ffmpeg.py::test_pinned_release_assets_available
  • lychee --no-progress --cache=false --include-fragments --max-concurrency 3 --max-retries 3 --exclude '^https://github\.com/Hebbian-Robotics/hflow/(issues|security/advisories/new)$' --exclude-path references/mcap-spec.md --exclude-path references/foxglove-CompressedVideo.proto .
  • The PR CI run passed all three jobs on Namespace. The macOS job had 2,608 passes and 49 skips. The Linux minimum-NumPy check passed all 93 tests.
  • The manual pinned-assets run passed on Namespace. The logs confirm that CI and pinned-assets mounted their uv Cache Volumes. Warm-cache reuse can be measured after a run on main populates the volumes.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@greptile-apps

greptile-apps Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were found in the reviewed changes.

Summary

Moves upstream checks, release builds, and contributor automation to Namespace, and adds Apple Silicon coverage on Python 3.14.

  • CI now checks Linux and Apple Silicon with separate uv caches.
  • Asset checks and release builds now run on Namespace.
  • Contributor automation now runs on Namespace’s smaller Linux runners.

No actionable new issues were found.

Reviews (2) · Last reviewed commit: "ci: select Namespace runners directly" · Reviewed by Greptile

greptile-apps[bot]
greptile-apps Bot previously approved these changes Nov 20, 2026
@greptile-apps
greptile-apps Bot dismissed their stale review November 20, 2026 17:33

Dismissed because a newer commit was pushed; Greptile will re-review the current head.

@kstonekuan
kstonekuan merged commit 20ab588 into main Nov 20, 2026
4 checks passed
@kstonekuan
kstonekuan deleted the ci/namespace-runners branch November 20, 2026 17:41
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