feat(router): --bind flag for local TCP UI listener (default 127.0.0.1) #89
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_router!89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_router_bind"
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?
Adds
--bind <ip>tohero_router(default127.0.0.1). With--bind 0.0.0.0the local TCP UI listener is reachable on a public-facing interface, unblocking cloud-VM deploys (DO / Hetzner / AWS) where there is no nginx-on-VM bridge.The accepted-connection ADMIN_SECRETS whitelist (
serve_tcp_with_admin_list) still gates every byte — no auth regression.Closes the bind-mode side of lhumina_code/home#227.
Hygiene bundle
Bundles the fmt + clippy debt that blocked the workspace gate so this PR can land green:
log_bridge.rs— rewriteis_some+unwrapasmatch; collapse triple-nestedif letinto a single let-chain.routes.rs— moveurlencabove the#[cfg(test)] mod testsblock (items_after_test_module).rpc.rs— drop redundantlet manual_src = manual_src;rebinding.terminal.rs— extractAttachedSessionstype alias for the staticAsyncMutex<HashMap<...>>.cargo fmtacross the touched files.Verification
Local:
All green.
Out of scope
service_router.nu --bindwiring lands as a separate PR onhero_skillsimmediately after this merges.v0.2.4-rc1cuts after both PRs are ondevelopment.Signed-off-by: mik-tf