Skip to content

Migrate from roam to vox RPC framework#181

Open
fasterthanlime wants to merge 10 commits into
mainfrom
vox
Open

Migrate from roam to vox RPC framework#181
fasterthanlime wants to merge 10 commits into
mainfrom
vox

Conversation

@fasterthanlime
Copy link
Copy Markdown
Contributor

Summary

  • Renames all roam crate dependencies to their vox equivalents (roam→vox, roam-core→vox-core, roam-stream→vox-stream, roam-local→vox-local) at version 0.2.0
  • Updates all Rust source references: roam::servicevox::service, roam::RoamErrorvox::VoxError, roam::acceptor/initiatorvox::acceptor_on/initiator_on, and all transport/local IPC types
  • Updates README links from roam to vox

Test plan

  • All 273 tests pass
  • cargo check compiles cleanly
  • cxi (full release build + install) succeeds

Rename all roam crate dependencies to their vox equivalents (roam→vox,
roam-core→vox-core, roam-stream→vox-stream, roam-local→vox-local) at
version 0.2.0. Update all Rust source references including:
- roam::service → vox::service
- roam::RoamError → vox::VoxError
- roam::acceptor/initiator → vox::acceptor_on/initiator_on
- All transport and local IPC types

All 273 tests pass.
Enables filename/line number info in backtraces for release builds
without the bloat of full debug info.
Adds ent.plist to xtask and updates the codesign step to include
the com.apple.security.get-task-allow entitlement, allowing
debuggers and profilers to attach to release builds.
When the subscribe stream broke (daemon/client death), rx.recv()
returned Err immediately, bypassing the 500ms timeout and calling
version() in a tight loop, leaking memory each time.

Now the subscribe channel is recreated each iteration. On stream
failure, we fall back to a single version() call with a 250ms sleep
before retrying.
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