lab_install.sh defaults to development/edge channel — reinstalls multi-socket lab, breaks lifecycle against main hero_proc (rpc_jobs.sock) #316
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#316
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?
Summary
scripts/lab_install.shdefaults the install channel todevelopment/edge, which ships alabbuilt againsthero_proc_sdk@development(multi-domain sockets:rpc_jobs.sock,rpc_logs.sock,rpc_secrets.sock,rpc_system.sock). On any host runningmainhero_proc (singlerpc.sock),lab's service lifecycle then fails to connect:Why this is a footgun
Even after fixing everything else (rebuild hero_proc from
main; rebuildlabfrommain, whicheb9f586already repins tohero_proc_sdk = { branch = "main" }), a later barelab_install.sh(noBRANCH=main) or alab self-updatesilently reinstalls the development/edge multi-socketlaband therpc_jobs.sockerror returns. The failure looks like a hero_proc problem, but the real culprit is whichhero_proc_sdkthe installedlabwas built against.Root cause
scripts/lab_install.sh:112—BRANCH="${BRANCH:-development}"(default = development)scripts/lab_install.sh:114-116—development→ fetches theedgeprerelease binarycrates/lab/Cargo.toml:50— ondevelopment,hero_proc_sdk = { branch = "development" }(multi-socket).mainnow pinsbranch = "main"(single-socket) viaeb9f586.So
edgelab is multi-socket;latest/stable lab (built frommain) is single-socket.Suggested fixes (any of)
developmentto the stable/mainchannel, so a barelab_install.shmatches amainhero_proc. (Opt into edge explicitly withBRANCH=development.)hero_proc_sdktomainon thedevelopmentbranch too, or finish the socket migration somain==developmentand the dialect mismatch disappears.labfail with an actionable message when its socket dialect doesn't match the running hero_proc, e.g. "this lab expects multi-domain sockets but hero_proc serves rpc.sock — reinstall withBRANCH=main."Workaround (current)
Install with
BRANCH=main lab_install.sh, or build from amaincheckout viascripts/lab_build.sh.