hero_embedder health check blocks server startup in CI #65
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?
Problem
Since commit
95ed3aa, the server performs a mandatory health check forhero_embedderat startup. If the Unix socket doesn't exist, the server refuses to start.This blocks the CI integration job — the smoke tests in
make test-allcan't start the server because there's nohero_embedderservice running in the CI container.Root Cause
verify_hero_embedder_health()insrc/web/axum_server.rsreturns an error if the socket is missing, and bothstart_axum_server()andstart_rpc_only_server()propagate that as a fatal startup error.Fix
Make the health check non-fatal: log a warning and continue in degraded mode (no vector search). Errors are returned at call time if embedder features are used without an available embedder.
This matches the pattern of other Hero services handling optional dependencies gracefully.