orchestrator --info check rejects working binaries (servers, CLIs without --info, JSON-printers) #293
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_skills#293
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
Lab's release orchestrator runs
<binary> --infoon every built binary as a post-build sanity check. Three failure modes cause the check to fail on binaries that are otherwise correct, marking the whole repo as failed:A. Server binaries — timeout
Server binaries that dont implement
--infoblock-start their listener and time out. The build succeeded; the runtime smoke check is at the wrong layer.B. CLIs that exit 2 on unknown args
Clap-based CLIs return exit code 2 for unknown args. Equally a successful build.
C. JSON output that doesnt parse as ServiceToml
The binary printed a banner before the JSON; deserialise treats that as a fatal error.
Today's blast radius
From this mornings
lab flow template build --releaseon herodev (hero_codescalers#27):hero_foundry_ui— 3 targets fail (server timeout, CLI exit 2, server timeout)hero_gpu— 4 targets fail (server timeout, CLI exit 2 ×2, no output)hero_rpc—hero_walkthroughJSON deserialise failsThat's 8 binaries discarded out of a successful build set.
Suggested fix
Demote
--infofrom build gate to post-build warning:--infotimes out / exits non-zero / produces non-JSON, log a warning but install the binary and count the target as built.Cargo.tomldeclares[[bin]] kind = "server"or whose name ends in_server.Alternatively: enforce a per-target opt-in via a manifest field, defaulting to off so unmaintained CLIs dont block rollouts.