The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-8812-b94d04ddbadcd2cf55b792f1f6b6260122231341
 has failed.
Run started by GitHub user mengw15 (triggered by mengw15).

Head commit for run:
cf165730aa4f9cc31e5ca5b57b2707a22d025574 / Ian Maxon <[email protected]>
feat: make release artifacts and images reproducible (#8812)

### What changes were proposed in this PR?
Previously, a variety of things caused Texera images built
from the same source to not have the same binary output from
invocation to invocation. Having this kind of binary
build reproducibility is a requirement when performing
Apache releases not on developer-owned hardware, because the
release has to be verified on developer owned hardware by
rebuilding it and getting the exact same artifact.

This change allows all release artifacts to be binary
reproducible with effectively one piece of information,
though in two different formats. These build arguments
contain the date: SOURCE_DATE_EPOCH and PACKAGE_SNAPSHOT.
The first sets a uniform timestamp wherever a timestamp
is present, and the second sets the snapshot of the apt
repositories used in image builds.

One other piece of information is implicit, but important
in practice. Binary reproducibility is inherently dependent
on the versions of tools used to produce said binaries.
Most of them are pinned within the container build files, but
the container builder itself is another piece of necessary
information (e.g. buildah vs. buildx) for reproducing
a build from its source and time.

### Any related issues, documentation, discussions?
Closes #8809. Discussion: #8807.

### How was this PR tested?
`bin/README.md` documents what is pinned and how to rebuild an image;
the vote email gives voters the command that rebuilds both tarballs.

Meng and I went back and forth, building all of the release images on
each of our machines (an ARM Mac, and a x86 Linux machine) and compared
the hashes each of us got. We eventually got all of them to line up.

### Was this PR authored or co-authored using generative AI tooling?
Yes, Claude Opus 5.5

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/41121653735

With regards,
GitHub Actions via GitBox

Reply via email to