feat(service_manager v2): code-not-data per-service Rust modules (closes #90) #92
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!92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_service_manager_v2"
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?
Closes #90.
Supersedes #91, which built a
ServiceDefinitionschema + interpreter — Kristof flagged that as too rigid (see #90 comment 30721). v2 implements his preferred design: each service is Rust code that useshero_proc_sdkplus shared helpers directly. Same model as the existing nu modules underhero_skills, in Rust.Comprehensive handoff at #90 comment 30802 — read that first if continuing this work.
Architecture
Third UDS under
$HERO_SOCKET_DIR/hero_router/:HeroServicetrait — minimal:name/forge_loc/description/binariesinstall/start/stoprestart/health/status/verify/delete/upgradeEach
services/<name>.rsis a self-contained Rust module that callshero_proc_sdk::ServiceBuilder+ActionBuilderdirectly, plus shared helpers fromservice_manager::lib. No schema, no interpreter.Coverage — 33 services
Aligned to hero_skills@371138f convention (
_ui→_admin):Documented exclusions (in
services/mod.rs):hero_proc(circular),hero_onlyoffice(Docker — tracked at #98),hero_do(installer-only),service_core.nu(empty meta).Workspace gate
cargo fmt --check✅cargo clippy -p hero_router --all-targets -- -D warnings✅cargo build -p hero_router --release✅cargo test -p hero_router— 119 tests (9 dispatcher e2e + 5 lib unit + 105 pre-existing) ✅Operational verification
hero_db v0.3.2walked through full lifecycle (install → start → health 200 OK → stop) — see #90 comment 3076392a947a) means--mode downloadwill now fail for services whose published releases still ship_uiasset names. Source-build path works regardless.Follow-up issues filed
--splitmother variantBindStrategy::Myceliumengine supportFromHeroProcSecretresolver (low priority)Test plan
hero_router service --help) lists all 13 opshero_db v0.3.2end-to-end smoke (pre-alignment commit)_adminassets — tracked in #101feedback_no_direct_push_except_hero_demo.md— needs explicit go-aheadSigned-off-by: mik-tf
mik-tf referenced this pull request from lhumina_code/hero_demo2026-05-16 03:16:07 +00:00
Pull request closed