[ci] WASM bundle published to pkg registry only — no Release assets, --from-ci blind to hero_os #125
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_os#125
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?
Phase 3 scope (Hero CI roadmap, hero_demo#54)
release.yamlbuilds the WASM bundle correctly viadx build --release, packages it ashero_os-web-<version>.tar.gz, then publishes to package registry only (/api/packages/.../generic/hero_os/<v>/...). Never creates a Forgejo Release nor uploads to/api/v1/repos/.../releases/.../assets.Same root cause as binary cluster A (hero_biz#13, hero_books#118, hero_browser#16, hero_foundry#26). Fix shape mirrors hero_proc's
build-linux.yamlRelease-asset upload steps, adapted for a single tarball asset.State
hero_os 0.1.2 / 0.1.3 / dev✓ (proves CI runs and publish succeeds — just to wrong destination)Consumer side (additional gap)
service_os.nuline 26 documents the install path as "fetch source, cargo build, copy binaries" — i.e. ~25 min colddx build --releaseon every VM. No--from-cipath exists for WASM artifacts (the existingsvc_install_from_cihelper is binary-shaped: single file →~/hero/bin/, not tarball → extract →~/hero/share/hero_os/public/).A new helper
svc_install_wasm_from_ci(or extension to the existing one) is needed inhero_skills/tools/modules/services/lib.nubefore this issue's producer fix delivers user-visible value.Recommended fix (producer side, this issue)
Adapt hero_proc's pattern:
hero_os-web-<v>.tar.gzto/api/v1/repos/.../releases/<id>/assets.Effort
~1-2 h for the workflow producer side. Consumer-side helper + service_os.nu rewiring tracked separately (hero_skills issue, TBD).
ROI
Highest-leverage piece in the entire Hero CI roadmap: every demo VM and every contributor onboarding hits this. Sub-minute fresh-deploy is unblocked entirely by completing this + the consumer helper.