Update main #13

Merged
rawan merged 25 commits from development into main 2026-04-05 09:52:28 +00:00
Member
No description provided.
fix: update stale branch refs from development_mik_34 to development (#69)
Some checks failed
Build and Test / build (push) Failing after 1m16s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Failing after 2m35s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Failing after 2m50s
3c717228fd
Signed-off-by: mik-tf
feat: add connection status indicator (#70)
Some checks failed
Build and Test / build (push) Failing after 49s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Failing after 1m19s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Failing after 1m24s
4d2b11a7b6
- Add clickable status dot with Bootstrap popover
- Shows UI Server + Backend health breakdown
- Polls /health every 5 seconds with retry logic

Signed-off-by: mik-tf
feat: add self-start pattern, hero_indexer CLI, and Makefile clean start
All checks were successful
Build and Test / build (push) Successful in 2m19s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Successful in 3m26s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Successful in 4m43s
6839583cee
- hero_indexer_server: add --start/--stop flags with hero_proc_sdk selfstart
  pattern (self_start, self_stop, wait_for_healthy, wait_for_halted)
- hero_indexer_ui: same --start/--stop selfstart pattern
- hero_indexer: add CLI binary using hero_indexer_sdk (health, ping,
  db list/create/delete/info, search, doc add)
- Cargo.toml: add hero_proc_sdk to workspace dependencies
- Makefile: run/start use --start for both server+ui, stop uses --stop,
  add run-server and run-ui targets, logs-ui uses lifecycle logs subcommand

Closes #10

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace LifecycleCommand subcommand tree with --start/--stop flags.
Running without flags now enters foreground mode directly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
`OpenRpcError` and `OpenRpcTransport` were imported from `herolib_core::openrpc`
but are unused — the `openrpc_client!` macro generates its own imports from
`hero_rpc_openrpc` internally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- hero_indexer CLI: add --start/--stop flags and build_service_definition()
  with server + UI actions; add hero_proc_sdk and dirs dependencies
- hero_indexer_server: remove --start/--stop/self_start/self_stop, become
  plain foreground daemon; remove hero_proc_sdk dependency
- hero_indexer_ui: same simplification; remove hero_proc_sdk dependency
- buildenv.sh: add hero_indexer to BINARIES list
- Makefile: use hero_indexer --start / hero_indexer --stop for all targets

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add .is_process() to ActionBuilder for long-running daemon actions
All checks were successful
Build and Test / build (push) Successful in 1m41s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Successful in 2m26s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Successful in 3m9s
077d5ab1e7
Marks all server/UI actions as persistent processes so hero_proc
treats any unexpected exit as a failure and triggers restart.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
add reverse-proxy base-path support to hero_indexer_ui
All checks were successful
Build and Test / build (push) Successful in 1m45s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Successful in 3m49s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Successful in 4m17s
04825422d4
- Add base_path_middleware to extract X-Forwarded-Prefix header and
  inject it as a BasePath extension into every request
- Inject window.BASE_PATH into index.html at serve time so client-side
  JS can prefix all fetch() calls when served behind a sub-path proxy
- Update all fetch() calls in index.html (rpc, health) to use BASE_PATH
- Set no-cache on index.html responses; keep max-age=3600 for other assets

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
chore: disable macOS CI workflow — no runner available (#82)
Some checks failed
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Has been cancelled
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Has been cancelled
Build and Test / build (push) Has been cancelled
a607567517
Signed-off-by: mik-tf
- Replace manual JSON-RPC/MCP proxy code in hero_indexer_ui with the
  herolib_derive openrpc_proxy! macro, eliminating ~330 lines of boilerplate
- Remove MCP endpoint (/mcp) and hand-rolled proxy_to_socket implementation
- Convert self_start/self_stop to async functions in hero_indexer main
- Add herolib_derive/herolib_core dependencies to UI crate; drop bytes dep
- Enable transport feature on hero_rpc_openrpc in SDK crate
- Add herolib_derive workspace dep and dirs crate
- Makefile: use INSTALL_DIR variable, add logs/logs-ui targets, clean up targets

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Merge branch 'development' of https://forge.ourworld.tf/lhumina_code/hero_indexer into development
Some checks failed
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Successful in 1m40s
Build and Test / build (push) Failing after 1m29s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Successful in 3m25s
9e2b00e003
Update indexer dependencies and handlers
Some checks failed
Build and Test / build (push) Failing after 2m33s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Successful in 2m49s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Successful in 3m28s
8059ec2a4d
Add scripts/rhai/run.rhai for hero_proc service lifecycle
Some checks failed
Build and Test / build (push) Failing after 1m16s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Successful in 1m52s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Successful in 3m14s
78dc7abb41
Rhai script that builds, installs, registers, and starts the service
via hero_proc using the proper action_set() + service_register() model.

Usage: hero_do scripts/rhai/run.rhai  (from repo root)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add lifecycle scripts in scripts/, update Makefile to delegate to hero_do
Some checks failed
Build and Test / build (push) Failing after 37s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Successful in 1m42s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Successful in 2m15s
2134561675
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: resolve run() paths relative to script directory in restart.rhai
Some checks failed
Build and Test / build (push) Failing after 44s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Successful in 2m16s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Successful in 3m55s
401f26e7c9
fix: doctest syntax error
Some checks failed
Build and Test / build (pull_request) Failing after 30s
71ce92e51b
fix: install hero_proc in build workflow
Some checks failed
Build and Test / build (pull_request) Failing after 1m26s
7d5121364e
fix: integration tests
All checks were successful
Build and Test / build (pull_request) Successful in 1m32s
cda5549c19
The previous run.rhai used env.rootdir+"/bin" for binary paths, which resolved
to /Volumes/T7/bin (a non-existent path on this machine), causing the
hero_indexer service to fail on start. It also bypassed the CLI's
build_service_definition() which sets is_process, kill_other (socket cleanup),
health checks, and retry policy.

Now run.rhai calls `hero_indexer --start` after building, which invokes
lifecycle::restart_service() with the full service definition from the CLI binary.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
clean up scripts and fix Makefile to use CLI binary directly
Some checks failed
Build and Test / build (push) Failing after 1m55s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Successful in 3m23s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Successful in 4m3s
45003e80b7
- Remove all scripts except build_lib.sh (build.rhai, clean.rhai,
  install.rhai, install.sh, restart.rhai, status.rhai, stop.rhai, test.rhai)
- Update Makefile run/stop/install/build/clean/test to use direct
  cargo commands and hero_indexer --start/--stop

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Merge pull request 'Release Workflow' (#12) from development_release into development
All checks were successful
Build and Test / build (push) Successful in 1m36s
Build Linux / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Successful in 1m59s
Build Linux / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Successful in 2m42s
Build and Test / build (pull_request) Successful in 1m9s
a561302ba2
Reviewed-on: #12
rawan merged commit d9ee2f2459 into main 2026-04-05 09:52:28 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_indexer!13
No description provided.