Repository navigation
chore(make): make dist empties dist/ before it builds, so its checksums file lists that run's archives alone - #1035
Merged
David-Noble-at-work merged 2 commits intoOct 5, 2026
Conversation
…ms file lists that run's archives alone (#1034); 1029 is complete
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lane 25 of #949, ruled 2026-10-04: "Let's log it as a chore and fix the problem now. make dist should ensure the dist dir is empty or gone beforehand."
make distemptiesdist/before it builds (make dist run twice makes a checksums file that lists itself #1034). Run twice in one checkout, its checksums file listed itself, with the hash of an empty file, and any archive an earlier run had left.dist-allnow removesdist/after the host build that proves the version stamp and before anything is written, so everything indist/is this run's. The release job checks out clean, so no published release was affected.v0.1.0-dev.20261005021254: "Checksum verified",Already registered: base team personal, no skipped line.Not changed: the archives differ from build to build because every build stamps its time into the binaries (
BUILD_DATE), by design.docs/plans/chore/1034-make-dist-run-twice-makes-a.md. It staysactive: its last box is the next release's checksums file.Resolves #1034
Test plan
dist/,make distfor this machine twice: before the fix the first run listed the checksums file itself and the stale archive; after it, each run lists its one archive and nothing elseTime
Computed by the algorithm of noblefactor-ops#188 at merge.