refactor: rename hero_db_ui → hero_db_admin (web.sock → admin.sock) #29
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_db!29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_db_admin_rename"
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
Rename hero_db's admin dashboard binary from
hero_db_ui→hero_db_admin, and the matching socket fromweb.sock→admin.sock, to comply with thehero_service_testskill's naming convention table:hero_${name}_admin→admin.sockhero_${name}_web→web.sock_uisuffix is the old admin name (explicitly flagged in the skill).PURPOSE.md and the in-repo CLAUDE.md both already describe this binary as an "admin HTML dashboard"; Cargo.toml
[package].descriptionsays the same. The recent commitc019fa7(despiegk + Sonnet 4.6) renamed the socketui.sock → web.sockciting the convention but landed on the wrong row of the table — this PR completes the rebrand to the correct one.Scope
Rebranded references across:
Cargo.tomls (workspace + crate)buildenv.shBINARIES, plus VERSION sync0.3.2 → 0.5.0matchingworkspace.versioncrates/hero_db/src/main.rsActionBuilder +kill_othersocket pathcrates/hero_db_appWASM URL bases (/hero_db/ui→/hero_db/admin)HERO_DB_UI_BIND→HERO_DB_ADMIN_BINDOut of scope (deferred)
hero_service_testskill §8 — Makefile + bash script removal in favour of nu-only lifecycle: filed separately at #28 . Independent of--downloadgreenness on the from-nothing public-cloud bootstrap that is session 76's primary goal.Verification
cargo build --release -p hero_db -p hero_db_server -p hero_db_admin✅ greencargo fmt --check✅ cleancargo clippy --release -- -D warnings✅ cleanhero_db_ui/HERO_DB_UI/ hero_dbweb.sockreferences in committable files (excluding historicalAUDIT_REPORT_2025-02-28.md).Test plan
v0.5.0-rc1after merge → publishes 6 target-triple-named assets (hero_db,hero_db_server,hero_db_admin× 2 archs)service_db.nuconsumer PR (separate session 76 PR) updatesSVX_BINARIES+ healthcheck/kill_other socket paths toadmin.sock, plus defensiveHERO_SOCKET_DIR: $sock_baseenv (mirrorsservice_planner.nu:33)service_complete --downloadon a freshhero.threefold.storeVM. Closes the cascade of lhumina_code/hero_demo#65 + lhumina_code/hero_skills#237 + lhumina_code/hero_skills#238Signed-off-by: mik-tf
Per the hero_service_test skill convention table, an admin HTML dashboard maps to `hero_${service}_admin` + `admin.sock`, not `_ui`/`_web`. PURPOSE.md + Cargo.toml description both call this binary an "admin UI" — bring the binary name and socket name in line with that. Producer changes: - crates/hero_db_ui/ → crates/hero_db_admin/ (git mv) - [package].name + [lib].name + [[bin]].name → hero_db_admin - $HERO_SOCKET_DIR/hero_db/web.sock → admin.sock (default_http_socket) - HERO_DB_UI_BIND env var → HERO_DB_ADMIN_BIND - workspace Cargo.toml members entry - buildenv.sh BINARIES + VERSION 0.3.2→0.5.0 (matches workspace.version) - crates/hero_db/src/main.rs: ActionBuilder name, kill_other socket path - crates/hero_db_app: WASM URL bases /hero_db/ui → /hero_db/admin (app.rs, navbar.rs, rpc.rs) - PURPOSE.md, in-repo CLAUDE.md, README.md, specs/hero_login.md, Makefile, hero_db_admin/Makefile: tables, socket layout, hero_router mapping The cargo fmt --all run also touched a couple of unrelated import-order nits (hero_db_server/src/main.rs, hero_db_admin) — pure formatting churn. Refs: - lhumina_code/hero_demo#65 (cascade root) - lhumina_code/hero_skills#237 (downstream) - lhumina_code/hero_skills#238 (downstream) - #28 (deferred §8 cleanup) Signed-off-by: mik-tf