Skip to content

fix: untrack build/ artifacts so stale zips can never ship as release assets#170

Merged
chubes4 merged 1 commit into
mainfrom
untrack-build-artifacts
Jun 12, 2026
Merged

fix: untrack build/ artifacts so stale zips can never ship as release assets#170
chubes4 merged 1 commit into
mainfrom
untrack-build-artifacts

Conversation

@chubes4

@chubes4 chubes4 commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • git rm -r --cached build/ — untracks build/data-machine-socials.zip (the stale v0.8.1 blob from March that became the v0.14.0 release asset) plus the compiled JS/CSS artifacts
  • Replaces the "keep build/ for distribution" .gitignore stanza with a hard build/ ignore and an explanatory comment

Why

Closes #169. The v0.14.0 release shipped a v0.8.1 zip to production for 6 days because:

  1. The tracked build/*.zip blob (committed 2026-03-22, containing 0.8.1) sat in the tree for 11 weeks
  2. homeboy release rebuilt it correctly → file showed M → re-run failed preflight.working_tree
  3. Recovery ran git checkout -- build/data-machine-socials.zip → restored the stale March blob
  4. Manual gh release create ... build/data-machine-socials.zip uploaded it as the v0.14.0 asset
  5. homeboy deploy shipped 0.8.1 with green status, 3×

SHA-256 proof: uploaded asset d278567a… == git blob v0.14.0:build/data-machine-socials.zip.

Untracking breaks every link: no stale blob exists, a rebuilt artifact can't dirty the tree, and git checkout -- build/ is a no-op.

Notes

… assets

A git-tracked build/data-machine-socials.zip (committed 2026-03-22 at
v0.8.1) was restored by 'git checkout --' during release recovery on
2026-06-06 and uploaded as the v0.14.0 GitHub release asset. homeboy
deploy then shipped 0.8.1 to production 3x with green status.

Untracking build/ kills every link in that chain: no stale blob to
restore, no dirty-tree preflight failure from a rebuilt artifact, and
'git checkout -- build/' becomes a no-op. Release zips are built fresh
by the homeboy wordpress extension's release.package step and attached
to the GitHub release; git never needs to carry them.

Closes #169
@homeboy-ci

homeboy-ci Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results — data-machine-socials

Audit

audit — passed

Deep dive: homeboy audit data-machine-socials --changed-since 2092ab6

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-socials-audit-homeboy-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-socials-audit-homeboy-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-socials/actions/runs/27414850470
Tooling versions
  • Homeboy CLI: homeboy 0.228.15+45e7a4a66
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: cdc3d9dd
  • Action: Extra-Chill/homeboy-action@v2

@chubes4 chubes4 merged commit ecc64bd into main Jun 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracked build/data-machine-socials.zip (stale v0.8.1 blob) shipped as the v0.14.0 release asset — untrack and gitignore build artifacts

1 participant