feat(service_books): re-add --from-ci install path (linux-amd64, v0.1.6-rc1) #200
No reviewers
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!200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_from_ci_books"
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?
Summary
Re-adds
--from-ciinstall path toservice_books.nu, undoing the session-54 revert at5dd6ad5. The producer side that was missing then has shipped:hero_books v0.1.6-rc1publishes 5 release assets with thelinux-amd64suffix.Mirrors the pattern landed in #196 (
service_aibroker) and #197 (service_osis) — early branch ininstall, returns before the source-build path runs.Why the early return matters here
service_books install(source path) does two thingsservice_aibrokerdoesn't:cargo build --workspacebecause the workspace member binaries (_server,_ui,_admin) aren't reachable from the root crate.bun installto bootstrap the per-book site template undercrates/hero_books_docusaurus/src/template_files.Both depend on the source tree being on disk. With
--from-cineither is reachable nor needed for binaries-only deploys, so the earlyreturnaftersvc_install_from_cishort-circuits both. Operators who actually needhero_docsto generate per-book sites can run a one-shotservice_books install(source path) later; that flow is unchanged.Smoke test on heroci
All 5 binaries verified
ELF 64-bit LSB pie executable, statically linked. Each reports0.1.5from--version(inner crate version; thev0.1.6-rc1tag is the release wrapper — same shape seen on prior aibroker/osis landings).Behavioural paths verified end-to-end:
--version v0.1.6-rc1downloadskip-if-presentno-op when binaries already in place--resetforces refetch--version latestresolves correctly tov0.1.6-rc1Refs
--from-ciinstall pathTest plan
nu -c 'use service_books.nu; service_books install --help')service_books install --from-ci --version v0.1.6-rc1 --reset~/hero/bin/, static-pie ELF, version-correct--version latestresolves the right tag--resetbehavioursSigned-off-by: mik-tf
mik-tf referenced this pull request from lhumina_code/hero_demo2026-05-04 20:33:56 +00:00