fix(ci): replace build-linux.yaml with canonical release.yaml #27
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_proxy!27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_2"
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?
Follow-up to #26 — caught a real miss in the post-merge audit on
development.What I missed in #26
hero_proxy has TWO workflow files. PR #26 fixed
test.yaml(restored Makefile somake check/test/lintworked) but did NOT touchbuild-linux.yaml. The post-merge push run on commit919c391had two runs:test.yaml→ ✅ green (PR #26 fix worked)build-linux.yaml→ ❌ red (still failing)Net effect: hero_proxy's
developmentbranch CI is still red overall after #26 — exactly what the user caught.Why
build-linux.yamlis failingTwo problems:
Wrong trigger. Fires on every push to
development(plusmainand tagsv*), not just on tag push:Every dev push tries to build release artifacts and run the release-creation step (gated by
if: startsWith(github.ref, 'refs/tags/v')so the upload is skipped on dev pushes, but the BUILD always runs).Depends on deleted
scripts/build_lib.sh. Workflow doessource scripts/build_lib.shand callscargo_env,setup_linux_toolchain,build_binaries. Same scripts that commit16baab3removed and that #26 deliberately did NOT reintroduce.Fix — adopt the canonical release.yaml
Replaced
build-linux.yamlwithrelease.yamlmatching the canonical pattern documented in home#188 and the hero_router reference impl:v*tag push only (+workflow_dispatch) — no more spurious red runs on every dev pushx86_64-unknown-linux-musl(static-pie — runs on any x86_64 Linux)scripts/build_lib.shdependency$BINARIESfrombuildenv.sh, uploads each as release asset (same shape as hero_router's<bin>-linux-amd64-muslartifacts)This also contributes to home#187 P0 — once tagged, hero_proxy will publish working static-pie linux binaries the same way hero_router does.
Verification
The new workflow only fires on tag push, so I can't fully exercise it without cutting a tag. The
developmentbranch will be green after merge because onlytest.yaml(already canonical) fires on dev pushes.I'll cut a
v0.5.1-devtag once a few more repos are green to start spreading the release-artifacts pattern.Discipline note
I missed this in #26's audit because I stopped at "PR CI green" without auditing the full set of workflows on the post-merge push. Lesson logged. Updated home#188 per-repo procedure to add: "audit ALL workflows and verify ALL push triggers go green post-merge before ticking the checkbox."
Tracker: home#188
Signed-off-by: mik-tf
Squash-merged to
developmentas797e906. Branch deleted. Post-merge push CI green ✅ — hero_proxy now fully clean.Pull request closed