-
Notifications
You must be signed in to change notification settings - Fork 205
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
Document non-reproducible outputs #7115
Conversation
changelog_begin changelog_end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
# This rule is not reproducible. `vsce package` generates a `.vsix` file which | ||
# is just a zip archive. The order of entries in that archive is | ||
# non-deterministic and the individual entries contain non-reproducible | ||
# timestamps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we unzip and rezip to fix this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was hoping to find a way to do this with vsce directly, but failing that this should do it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not much to be gained trying to fix this if we cannot fix Navigator. In the end, the thing we really want to be reproducible is the SDK tarball.
@@ -64,6 +64,15 @@ nodejs_binary( | |||
|
|||
# Builds the frontend single page application and bundles all output files | |||
# (HTML + JavaScript + CSS + images) in a .tgz or .jar archive. | |||
# This target is non-reproducible. The browsercheck and bundle outputs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-reproducible hashes sound very weird 😕
The frontend webpack bundle and the vscode extension are non-reproducible outputs in the SDK release tarball. I looked into what makes them non-reproducible. I didn't succeed in making them reproducible, but this PR adds my findings as comments to the relevant Bazel targets.
Pull Request Checklist
CHANGELOG_BEGIN
andCHANGELOG_END
tagsNOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with
/AzurePipelines run
totrigger the build.