service_manager: LiveKit credential auto-bootstrap (hero_collab) #93
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#93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Tracked from #90.
The upstream nu module
service_collab.nudoes an auto-bootstrap of LiveKit creds on a dev box: startshero_livekitif not already running, reads~/hero/var/hero_livekit/runtime.jsonfor URL/key, writes the API secret to~/hero/cfg/livekit.secret(mode 0600), then passes paths tohero_collab_serverenv.The v2
hero_collab::startimpl (PR #92) only forwardsLIVEKIT_URL/LIVEKIT_API_KEY/LIVEKIT_API_SECRET_FILEfrom the manager's caller env. It does NOT auto-start hero_livekit or read runtime.json.Fix: extend
hero_collab::start(or a helper inservice_manager::lib) to mirror the nu module's resolution ladder: explicit env → runtime.json → start hero_livekit → re-read.Code-not-data design means this is just adding logic inline in the service file; no schema extension needed.
Limitation:doc comment incrates/hero_router/src/service_manager/services/hero_collab.rs.