self start #10
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_indexer#10
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?
first check /code_manage_development_branch
then make sure that we have $servicename_ui and $servicename
the last one is the cli which uses the $servicename_sdk
check all carrefully and fix what needs to be fixed
check /hero_proc_service_selfstart
and that we cleanly start in makefile
Implementation Complete
Implemented
hero_proc_service_selfstartpattern and clean Makefile start.Changes
hero_indexer_server— added--start/--stopflags with full selfstart:self_start(): registers action + service with hero_proc, attaches openrpc_socket health check, polls until healthyself_stop(): stops service via hero_proc, polls until haltedwait_for_healthy/wait_for_haltedhelpershero_indexer_ui— same--start/--stopselfstart patternhero_indexer(new CLI binary) — command-line client usinghero_indexer_sdk:hero_indexer health— check server healthhero_indexer ping— ping serverhero_indexer db list/create/delete/info— database operationshero_indexer search <db> <query>— full-text searchhero_indexer doc add <db> <json>— add a documentMakefile — clean start targets:
make run/make start— starts both server + UI via--startmake run-server/make run-ui— individual service startmake stop— stops both UI then server via--stopmake logs/make logs-ui— lifecycle log streamingCommit
6839583—6839583