sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Build reproducibility issue on Windows caused issues for 3.4.4 release

Open athomas opened this issue 8 months ago • 4 comments

These builds were triggered on the same commits: https://ci.chromium.org/ui/p/dart-internal/builders/ci/dart-sdk-win-arm64-stable/42/overview https://ci.chromium.org/ui/p/dart-internal/builders/ci/dart-sdk-win-arm64-stable/43/overview

They created these CIPD packages: https://chrome-infra-packages.appspot.com/p/dart/dart-sdk/windows-arm64/+/BJQj5t8FiV7ro7FDJSGRGDZf3p05YsCdagql2lSq2-AC https://chrome-infra-packages.appspot.com/p/dart/dart-sdk/windows-arm64/+/syZDaczXKFTFVfvT13KA4jL6sSHuhY-nHSPJqWLTwSIC

The packages have slight differences (handful of bytes) in these binaries:

bin/dart.exe
bin/dartaotruntime.exe
bin/utils/gen_snapshot.exe
bin/utils/wasm-opt.exe

This caused the CIPD packages to have different hashes, which in turn caused an inconsistency because there are now two packages with the same git_version tag but different content.

athomas avatar Jun 13 '24 07:06 athomas