-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need CI test that repo is not dirty after build+test #1083
Comments
Fixed tailscale/tailscale by hand for now, by committing the changed go.sum. Leaving open to work out how to avoid this regression in future. |
Ugh. I only committed the changed go.mod because the corp push build script updated it, and I got tired of fighting the build script. Maybe that build script should update go.sum at the same time? Or have an option to not modify go.mod. |
DentonGentry
changed the title
reproducibility: go.sum not up to date in oss repo
Need CI test that repo is not dirty after build+test
Sep 4, 2021
josharian
added a commit
that referenced
this issue
Nov 22, 2021
Fixes #1083 Co-authored-by: Aaron Klotz <aaron@tailscale.com> Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
josharian
added a commit
that referenced
this issue
Nov 22, 2021
Linux-only for now, to avoid having to figure out why powershell doesn't like my shell scripting. (Not that I blame it.) That'll be enough to catch most regressions. Fixes #1083 Co-authored-by: Aaron Klotz <aaron@tailscale.com> Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
josharian
added a commit
that referenced
this issue
Nov 22, 2021
Linux-only for now, to avoid having to figure out why powershell doesn't like my shell scripting. (Not that I blame it.) That'll be enough to catch most regressions. Fixes #1083 Co-authored-by: Aaron Klotz <aaron@tailscale.com> Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While trying to build reproducibly:
Last commit was @josharian updating go.mod to a new wireguard-go version. I'm guessing he didn't do a build, and so go.sum wasn't updated. This leads to reproducibility sadness, because the git repo becomes dirty and so we embed a
-dirty
version even though we started out with a clean build (not to mention in the absence of the go.sum entry, there's a TOFU issue with the wireguard-go commit).Maybe we should add a CI check that the git repo isn't dirty after the CI's done build+test?
Part of #779
The text was updated successfully, but these errors were encountered: