Skip to content

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 into
developfrom
chore/1034-make-dist-run-twice-makes-a
Oct 5, 2026
Merged

David-Noble-at-work merged 2 commits into
developfrom
chore/1034-make-dist-run-twice-makes-a

Conversation

@David-Noble-at-work

@David-Noble-at-work David-Noble-at-work commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

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 dist empties dist/ 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-all now removes dist/ after the host build that proves the version stamp and before anything is written, so everything in dist/ is this run's. The release job checks out clean, so no published release was affected.
  • Lane 24's plan closes: the live install of 2026-10-05 through the published one-liner, 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.

  • Plan — docs/plans/chore/1034-make-dist-run-twice-makes-a.md. It stays active: its last box is the next release's checksums file.

Resolves #1034

Test plan

  • With a stale archive and checksums file left in dist/, make dist for 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 else
  • The pre-flight: the same, for every platform, twice; each run's checksums file lists its six archives alone
  • After the merge: the Release run's checksums file lists the six archives and nothing else

Time

Marker UTC Elapsed
opened (first commit) 2026-10-05T02:34:55Z —
submitted (PR opened) 2026-10-05T02:43:46Z 0.1 h after opened
merged 2026-10-05T06:31:38Z 3.8 h after submitted; 3.9 h in all

Computed by the algorithm of noblefactor-ops#188 at merge.

@David-Noble-at-work
David-Noble-at-work merged commit 71dc125 into develop Oct 5, 2026
21 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the chore/1034-make-dist-run-twice-makes-a branch October 5, 2026 06:31
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.

make dist run twice makes a checksums file that lists itself

1 participant