Build failure: hero_proc_sdk API breaking changes (lifecycle, ActionBuilder) #9
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_router#9
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_inspectorfails to compile with 5 errors due to breaking API changes inhero_proc_sdk:Root Cause
hero_proc_sdkremoved thelifecyclemodule and theActionBuilder::interpreter()/ActionBuilder::is_process()builder methods. Thehero_inspectorbinary still uses the old API.Fix Required
use hero_proc_sdk::lifecycle— useHeroProcRPCAPIClientmethods directly (service_set,service_start,service_stop).interpreter("exec")and.is_process()fromActionBuilderchains — setaction.interpreter = Some("exec".into())on theActionSpecafter.build()retry_buildertype inference errors are cascading and will resolve once the above are fixedAffected File
crates/hero_inspector/src/bin/hero_inspector.rsFixed in commit
b949355on development branch.Changes:
Previous fix was incorrect (removed lifecycle module usage). Reverted in commit
514f0e1.Actual fix: the hero_proc_sdk on the remote development branch already has lifecycle, interpreter(), and is_process() — the local checkout was just behind. After syncing hero_proc to origin/development (commit 8994743), hero_inspector compiles cleanly with the original code.
Changes:
b949355(which incorrectly removed lifecycle usage)