feat: Replace TCP bridges with Hero Router for cross-node communication #71
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_compute!71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_hero_router"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Phase 2 of #65. Removes in-process TCP bridges (ports 9002/9003) and routes all cross-node communication through Hero Router (port 9998).
Builds on top of
development_hero_socket(Phase 1 — HTTP-over-UDS migration). Merge Phase 1 first.Changes
tcp_bridge()from server and explorer binaries--tcp-port,--rpc-port,--explorer-portCLI flagsrouter_server_rpc_url(),router_explorer_rpc_url(),http_rpc_tcp())NodeProxy.call_tcp()→ routes through Hero Router HTTP URLs.envgeneration →EXPLORER_ADDRESSESandADVERTISE_ADDRESSusehttp://Hero Router URLsArchitecture (Before → After)
Before: Two custom TCP ports per node (9002 explorer, 9003 server), raw byte forwarding
After: Single Hero Router entry point per node, HTTP routing with service discovery
Dependencies
development_hero_socket(Phase 1) to be merged firstTest plan
cargo build --workspacepassescargo test --workspacepasses (33 passed, 0 failed)make lintpassesCloses #69