Fix hero_aibroker and hero_shrimp service startup failures #67

Closed
opened 2026-03-20 14:31:28 +00:00 by mik-tf · 1 comment
Owner

Problem

Both services fail to start in the Docker container, causing 5/57 smoke test failures.

hero_aibroker (3 smoke failures)

hero_aibroker_server and hero_aibroker_ui are in failed state.

Root cause: The service TOML exec command uses serve subcommand, but the binary was restructured to use --start/--stop flags instead. Running hero_aibroker_server serve gives:

error: unexpected argument 'serve' found
Usage: hero_aibroker_server [OPTIONS]

Fix: Update services/hero_aibroker.toml exec command to match the current CLI interface.

hero_shrimp (2 smoke failures)

hero_shrimp_server is in failed state.

Root cause: The hero_shrimp binary is not in dist/bin/make dist skips it (controlled by SKIP_SHRIMP flag, and the build pipeline doesn't include it by default).

Fix: Either add hero_shrimp to build-services.sh / build-local.sh, or remove it from the default profile if it's not ready for deployment.

Impact

5/57 smoke tests fail. All other 51 tests pass (1 skipped).

Signed-off-by: mik-tf

## Problem Both services fail to start in the Docker container, causing 5/57 smoke test failures. ### hero_aibroker (3 smoke failures) `hero_aibroker_server` and `hero_aibroker_ui` are in `failed` state. **Root cause:** The service TOML exec command uses `serve` subcommand, but the binary was restructured to use `--start`/`--stop` flags instead. Running `hero_aibroker_server serve` gives: ``` error: unexpected argument 'serve' found Usage: hero_aibroker_server [OPTIONS] ``` **Fix:** Update `services/hero_aibroker.toml` exec command to match the current CLI interface. ### hero_shrimp (2 smoke failures) `hero_shrimp_server` is in `failed` state. **Root cause:** The `hero_shrimp` binary is not in `dist/bin/` — `make dist` skips it (controlled by `SKIP_SHRIMP` flag, and the build pipeline doesn't include it by default). **Fix:** Either add hero_shrimp to `build-services.sh` / `build-local.sh`, or remove it from the default profile if it's not ready for deployment. ## Impact 5/57 smoke tests fail. All other 51 tests pass (1 skipped). Signed-off-by: mik-tf
Author
Owner

Fixed hero_aibroker TOML exec commands:

  • hero_aibroker_server servehero_aibroker_server (no subcommand — binary uses --start/--stop flags, no args runs server directly)
  • hero_aibroker_ui servehero_aibroker_ui (same pattern)

hero_shrimp build: verified correct — bun builds on host, SKIP_SHRIMP defaults to 0, binary lands in dist/bin/hero_shrimp. No changes needed.

Build: 18/18 succeeded, 0 failed.

Repo touched: hero_services (pushed to development).

Fixed hero_aibroker TOML exec commands: - `hero_aibroker_server serve` → `hero_aibroker_server` (no subcommand — binary uses `--start`/`--stop` flags, no args runs server directly) - `hero_aibroker_ui serve` → `hero_aibroker_ui` (same pattern) hero_shrimp build: verified correct — bun builds on host, `SKIP_SHRIMP` defaults to 0, binary lands in `dist/bin/hero_shrimp`. No changes needed. Build: 18/18 succeeded, 0 failed. Repo touched: hero_services (pushed to development).
Sign in to join this conversation.
No labels
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/home#67
No description provided.