feat(services): add service_collab.nu #85
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_skills!85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_service_collab"
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
Adds
tools/modules/services/service_collab.nu, a lifecycle module for thehero_collabservice (server + UI). Pure copy-rename ofservice_whiteboard.nu— confirms the minimal template is the new default for services with no special quirks.Related
Changes
tools/modules/services/service_collab.nu— new module (~275 lines). Registershero_collab_serverandhero_collab_uias hero_proc actions plus thehero_collabservice.tools/modules/services/mod.nu— addexport use service_collab.nu.--rootoptional on every command; user-level default.Why this was another copy-rename
--workspacepass).servesubcommand (bothmain.rslaunch directly).RUST_LOG=info).depends_onin TOML, DB auto-created, sockets auto-cleaned).Notes on defaults
hero_collab_serveraccepts optional--auth-mode,--livekit-*,--seed-dev-usersflags (percrates/hero_collab_server/src/main.rs:38-95). The module passes none, selecting production-safe defaults:auth_mode=proxy(fail-closed — raw RPC without hero_proxy'sX-Hero-Userheader is rejected, but the service starts cleanly and health checks pass) and LiveKit huddles disabled. Operators who need dev-mode auth or LiveKit add the flags to the action spec themselves.Test Results
End-to-end smoke test on the Hetzner box. Every
service_collabassertion passed.service_proc start --roothealthyservice_collab install --rootproduced 3 binariesservice_collab start --reset --rootregisters + startsrpc.sockandui.socklive unix socketsstatusreturns{name: hero_collab, state: running, restarts: 0}startprints "already running"runningstopcleanly unregistersstatusreturns expectedservice 'hero_collab' not foundFull per-step output on issue #84.