Skip to content

refactor!: rename ros-z → hiroz (High-performance Interoperable Robotics on Zenoh)#186

Merged
YuanYuYuan merged 20 commits into
mainfrom
chore/rename-hiroz
May 22, 2026
Merged

refactor!: rename ros-z → hiroz (High-performance Interoperable Robotics on Zenoh)#186
YuanYuYuan merged 20 commits into
mainfrom
chore/rename-hiroz

Conversation

@YuanYuYuan
Copy link
Copy Markdown
Collaborator

@YuanYuYuan YuanYuYuan commented May 19, 2026

Summary

Renames the project from ros-z to hiroz (High-performance Interoperable Robotics on Zenoh) across the entire codebase — all crate names, Rust module paths, C FFI symbols, Go bindings, Python packages, docs, CI, and infrastructure.

Key Changes

  • Crate renames: ros-zhiroz, ros-z-cdrhiroz-cdr, ros-z-codegenhiroz-codegen, ros-z-gohiroz-go, ros-z-msgshiroz-msgs, ros-z-protocolhiroz-protocol, ros-z-pyhiroz-py, ros-z-schemahiroz-schema, ros-z-testshiroz-tests, ros-z-bridgehiroz-bridge, ros-z-consolehiroz-console, ros-z-derivehiroz-derive
  • C FFI symbols renamed: ros_z_*hiroz_*; cbindgen prefix updated; include guard updated
  • Go module path changed to github.com/ZettaScaleLabs/hiroz/crates/hiroz-go; all CGo call sites updated
  • Python exception renamed: RosZErrorHirozError; package directory ros_z_py/hiroz_py/
  • Environment variables renamed: ROSZ_LOGHIROZ_LOG; Go interop tests corrected to use ZENOH_CONFIG_OVERRIDE (the actual env var read by ZContextBuilder)
  • Generated config filenames: DEFAULT_ROSZ_*.json5DEFAULT_HIROZ_*.json5
  • Binary name: ros-z-bridgehiroz-bridge
  • Codegen snapshot tests updated to reflect renamed crate paths

CI infrastructure:

  • Replaced DeterminateSystems/determinate-nix-action with cachix/install-nix-action across all jobs, eliminating the FlakeHub dependency that caused intermittent auth failures
  • Added hiroz.cachix.org as a trusted substituter to all jobs so the project's own Nix cache is consulted from the start of every run
  • Added cachix/cachix-action to pure-Rust jobs (formatting, no-ros-test, no-ros-shm, coverage, no-ros-checks) so they can pull from and push to the cache on main-branch runs
  • scripts/populate-cache.nu: new script to warm hiroz.cachix.org from a local machine so PR runs can pull cached devShell closures instead of rebuilding from source

Breaking Changes

All public API identifiers have been renamed: Rust crate names and module paths (ros_z::hiroz::), C FFI symbols (ros_z_*hiroz_*), Go module path and package imports, Python package name (hiroz_py) and exception type (HirozError), environment variable (HIROZ_LOG), and the bridge binary name (hiroz-bridge).

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 19, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-05-22 17:31 UTC

@YuanYuYuan YuanYuYuan force-pushed the chore/rename-hiroz branch from 4eb0fbe to fc0131e Compare May 19, 2026 03:24
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

❌ Patch coverage is 91.54930% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/hiroz-codegen/src/bin/export_json.rs 0.00% 4 Missing ⚠️
crates/hiroz-codegen/src/generator/rust.rs 98.11% 1 Missing ⚠️
crates/hiroz-codegen/src/lib.rs 92.85% 1 Missing ⚠️
Files with missing lines Coverage Δ
crates/hiroz-cdr/src/buffer.rs 62.16% <ø> (ø)
crates/hiroz-cdr/src/deserializer.rs 53.14% <ø> (ø)
crates/hiroz-cdr/src/error.rs 0.00% <ø> (ø)
crates/hiroz-cdr/src/primitives.rs 95.00% <ø> (ø)
crates/hiroz-cdr/src/serializer.rs 45.91% <ø> (ø)
crates/hiroz-cdr/src/traits.rs 72.87% <ø> (ø)
crates/hiroz-cdr/src/zbuf_writer.rs 68.33% <ø> (ø)
crates/hiroz-codegen/src/discovery.rs 94.40% <ø> (ø)
crates/hiroz-codegen/src/generator/json.rs 90.90% <ø> (ø)
crates/hiroz-codegen/src/generator/python.rs 84.27% <ø> (ø)
... and 11 more

... and 122 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@YuanYuYuan YuanYuYuan force-pushed the chore/rename-hiroz branch from fc0131e to d9574fc Compare May 19, 2026 04:31
…ics on Zenoh)

Rename all crates, modules, types, identifiers, and infrastructure from
the ros-z/ros_z/ROS_Z naming scheme to hiroz/hiroz/HIROZ across the
entire codebase.

Crate renames:
- ros-z → hiroz
- ros-z-bridge → hiroz-bridge
- ros-z-cdr → hiroz-cdr
- ros-z-codegen → hiroz-codegen
- ros-z-codegen-go → hiroz-codegen-go
- ros-z-console → hiroz-console
- ros-z-derive → hiroz-derive
- ros-z-go → hiroz-go  (Go subpackage: rosz/ → hiroz/)
- ros-z-msgs → hiroz-msgs
- ros-z-protocol → hiroz-protocol
- ros-z-py → hiroz-py  (Python package: ros_z_py/ → hiroz_py/)
- ros-z-schema → hiroz-schema
- ros-z-tests → hiroz-tests

Also updates: C FFI symbols (ros_z_ → hiroz_), cbindgen prefix,
Go module path and CGo bindings, Python exception type (RosZError →
HirozError), CI Cachix cache (ros-z → hiroz), env vars (ROSZ_LOG →
HIROZ_LOG), config filenames, binary names, CLI labels, docs, and
all Rust/Go/Python source files.

BREAKING CHANGE: all public API identifiers, crate names, Go module
paths, Python package names, and C FFI symbols have been renamed.
@YuanYuYuan YuanYuYuan force-pushed the chore/rename-hiroz branch from d9574fc to 983eda4 Compare May 21, 2026 10:15
YuanYuYuan added 19 commits May 21, 2026 10:18
@YuanYuYuan YuanYuYuan merged commit c78e8e2 into main May 22, 2026
28 checks passed
@YuanYuYuan YuanYuYuan deleted the chore/rename-hiroz branch May 22, 2026 17:31
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