Update all services to hero_proc_sdk latest — new required fields #83
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
hero_proc added new required fields to
ServiceStartInputandServiceStopInput:replace_existing_jobs(ServiceStartInput)remove_jobs(ServiceStopInput)Commits:
bf4235candaa41991in hero_proc.Every service that uses hero_proc_sdk now fails to compile:
Affected repos
Fix
Add the new fields to every
ServiceStartInput/ServiceStopInputinitializer. Likely justremove_jobs: falseandreplace_existing_jobs: falseas defaults.Check hero_proc commit
bf4235cfor the field types and intended defaults.Impact
Blocks full
make distbuilds. WASM builds are unaffected. Currently working around by using pre-built binaries from v0.7.2-dev.Status: 21/22 done — only hero_compute remains
Fixed and pushed
replace_existing_jobs: None+remove_jobs: NoneaddedRemaining: hero_compute
Root cause:
hero_proc_sdktypes are generated at compile time viaopenrpc_client!macro fromhero_proc_server/openrpc.json. The macro reads the JSON spec and createsServiceStartInput/ServiceStopInputstructs. Even with local[patch]overrides pointing to the updated hero_proc, cargo's macro expansion resolves to stale generated types.Error:
Why it's tricky: The
openrpc_client!macro inhero_proc_sdk/src/openrpc_client/mod.rsgenerates types from../hero_proc_server/openrpc.jsonat compile time. The Docker build patcheshero_proc_sdkto a local path, but the macro's relative path../hero_proc_server/openrpc.jsonmight resolve differently inside the Docker build context.Likely fix: Run
cargo update -p hero_proc_sdkinside hero_compute to refresh the lockfile, or ensure the Docker volume mount makeshero_proc_server/openrpc.jsonvisible at the relative path the macro expects.Impact: hero_compute (cloud VM management) is not critical for AI assistant, voice, or core Hero OS features. All other 21 services compile and run.
Signed-off-by: mik-tf
mik-tf referenced this issue2026-03-24 17:24:46 +00:00