service_livekit.nu: forward-compat with hero_livekit configure RPC change #173
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_skills#173
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?
Context
hero_livekit PR #34 extends the
livekitservice.configureRPC with a new requiredrtc_tcp_portparameter (per-user TCP-RTC port for multi-user setups). The dispatcher rejects calls with"Missing required parameter: rtc_tcp_port".service_livekit.nuis the only in-tree caller of that RPC. Without an update here, everyservice_livekit startwill fail after operators upgrade their hero_livekit binary.Change
One line in
service_livekit.nu'scfg_params:Forward- and backward-compatible: old wrappers ignore the extra field; new wrappers use it.
What this issue does NOT cover
Earlier discussion considered also modifying
svx_lk_wipe_stale_configsto preserveruntime.jsonacross wipes (so per-user values stay durable). That was the wrong layer to fix it. The clean architecture:runtime.jsonis a derived cache; the wipe correctly forces a clean slate on inconsistency.hero_cfg.toml(alongside[mycelium]).service_livekit startafter a wipe re-readshero_cfg.tomland re-derivesruntime.jsonfrom there.That re-derivation logic is the follow-up PR-2:
service_livekit.nureads[livekit]section fromhero_cfg.tomland passes the values intocfg_paramsinstead of the hardcoded 0. That preserves per-user values across wipes without touching the wipe behavior itself.service_livekit.nu: forward-compat with hero_livekit configure RPC change + preserve runtime.json on wipeto service_livekit.nu: forward-compat with hero_livekit configure RPC changeSuperseded by #175 — the forward-compat 1-liner from this issue is folded into PR #176 alongside the cfg.toml [livekit] read.