You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A 22 MiB compiled binary is tracked in git at lambda/autoscale-orchestrator/autoscale-orchestrator #637
Found while working #625: running go build ./... in that module to verify a go mod tidy rewrote a tracked binary, and the change landed in a commit as a 23 MB diff. I restored it to main's bytes rather than fold the cleanup into that PR.
It is the only tracked lambda binary. Every other lambda's build output is ignored:
# Lambda build artifactslambda/*/bootstraplambda/*/function.ziplambda/*.ziplambda/*/*.zip # addedin #635# Lambda compiled binaries (named after their function)lambda/alert-evaluator/alert-evaluator…
lambda/autoscale-orchestrator/autoscale-orchestrator is absent from that list, so it is tracked and mutable.
Why it matters
Anyone who builds in that directory dirties the repo, and git add -A then commits a 22 MB binary. That is a trap for exactly the routine action (go build ./...) that CI itself performs on every lambda module.
It is already in history, so every clone pays for it. Removing it from HEAD stops the bleeding but does not shrink the repo; that would need a history rewrite, which is almost certainly not worth it.
A committed binary is unverifiable: nothing ties those bytes to a commit, and scripts/check-release-version.sh exists precisely because a binary that reports the wrong thing is hard to notice.
Suggested
git rm --cached lambda/autoscale-orchestrator/autoscale-orchestrator and add it to .gitignore alongside the other named binaries — or better, generalise the pattern so a new lambda cannot reintroduce the problem (the existing list is per-function and has to be extended by hand each time).
If some deploy step reads that path, point it at a build instead; worth checking before deleting, since the file being tracked at all suggests something may have depended on it.
Optionally a test asserting no tracked file under lambda/ is an ELF/Mach-O binary — the same shape as the other repo gates, and it would have caught this.
Low urgency, but it is a live footgun: I triggered it by accident doing something entirely ordinary.
Activity
fix(lambda): package only bootstrap, not the whole source directory (#…
chore(release): v0.117.0