chore: v0.1.1 release — dynamic socket routing + clippy fixes #18

Merged
mahmoud merged 6 commits from development into main 2026-04-08 12:02:24 +00:00
Owner

Version bump to 0.1.1 with dynamic socket-name URL routing for hero_compute multi-node support.

Version bump to 0.1.1 with dynamic socket-name URL routing for hero_compute multi-node support.
fix: update hero dependency imports to comply with herolib_import standard
Some checks failed
Test / test (push) Failing after 4s
Build Linux / build-linux (linux-amd64-musl, false, x86_64-unknown-linux-musl) (push) Failing after 12s
0e0feab32a
- Bump workspace.package.version from 0.1.0 to 0.5.0
- Add version = "0.5.0" to all four hero git workspace dependencies
  (hero_proc_sdk, hero_service, hero_rpc_derive, hero_rpc_openrpc)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: remove rust-version pinning and correct hero_rpc dependency versions
Some checks failed
Build Linux / build-linux (linux-amd64-musl, false, x86_64-unknown-linux-musl) (push) Has been cancelled
Test / test (push) Has been cancelled
7833b0bc9a
- Remove rust-version = "1.92" from workspace.package (herolib_import convention: no rust-version pinning)
- Remove rust-version.workspace = true from all crate Cargo.toml files
- Correct hero_rpc_derive, hero_rpc_openrpc, and hero_service versions from 0.5.0 to 0.1.0 (actual version on development branch)
- Update Cargo.lock after dependency fixes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
refactor: simplify socket discovery and fix RPC base path for UI
Some checks failed
Test / test (push) Failing after 2m0s
Build Linux / build-linux (linux-amd64-musl, false, x86_64-unknown-linux-musl) (push) Successful in 2m39s
64ff272e0b
- Remove legacy flat-layout socket fallback from find_socket_for, keeping only the new per-service subdirectory layout
- Add rpc_base derivation in admin page handler so UI routes RPC calls to the correct /rpc socket instead of /ui socket
- Expose rpc-path meta tag in admin.html and use RPC_BASE constant in dashboard.js for all RPC and OpenRPC spec fetches

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: dynamic socket-name URL routing for multi-service support
All checks were successful
Test / test (push) Successful in 1m21s
Test / test (pull_request) Successful in 1m29s
4918fc3929
Add two-segment URL routing: /{service}/{socket_name}/*

When a request arrives at /{service}/{second_segment}/*, hero_proxy
checks if $HERO_SOCKET_DIR/{service}/{second_segment}.sock exists.
If found, routes to it directly with the prefix stripped.
Falls back to the existing find_socket_for() single-segment routing.

This enables callers to target specific sockets by name:
  /hero_compute/rpc/*           → hero_compute/rpc.sock
  /hero_compute/explorer_rpc/* → hero_compute/explorer_rpc.sock
  /hero_compute/ui/*           → hero_compute/ui.sock

No hardcoded socket types — any .sock file is automatically routable.

Also fixes test mock backends to use per-service directory layout
(rpc.sock inside service subdirectory) matching current socket strategy.

Closes #16
Merge pull request 'feat: Dynamic socket-name URL routing for multi-service support' (#17) from development_hero_compute_support into development
All checks were successful
Test / test (push) Successful in 1m47s
Build Linux / build-linux (linux-amd64-musl, false, x86_64-unknown-linux-musl) (push) Successful in 2m40s
bee53618c7
Reviewed-on: #17
chore: bump version to 0.1.1
All checks were successful
Test / test (pull_request) Successful in 1m29s
Build Linux / build-linux (linux-amd64-musl, false, x86_64-unknown-linux-musl) (push) Successful in 2m41s
Test / test (push) Successful in 1m59s
24a420a654
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_proxy!18
No description provided.