Context
We want to make it clear to users when a build comes from a kernel-builder version that contains uncommitted changes, to improve reproducibility guarantees.
Proposal
Add the git commit SHA to the build metadata, along with a dirty bool. If dirty is set, we know that the kernel was built with uncommitted sources.
Suggested behavior when dirty is true:
- At load time — Show warnings to the user when they're trying to load the kernel.
- At upload time — Throw warnings when the builds are going to get uploaded to the Hub.
- On the Hub repo — Show warnings on the corresponding Hub repo page.
References
From discussion by @sayakpaul and @danieldk.
Created via Moon Bot for Sayak Paul (Slack U03AU4E7DJB) — Slack thread
Context
We want to make it clear to users when a build comes from a
kernel-builderversion that contains uncommitted changes, to improve reproducibility guarantees.Proposal
Add the git commit SHA to the build metadata, along with a
dirtybool. Ifdirtyis set, we know that the kernel was built with uncommitted sources.Suggested behavior when
dirtyis true:References
From discussion by @sayakpaul and @danieldk.
Created via Moon Bot for Sayak Paul (Slack U03AU4E7DJB) — Slack thread