Skip to content

Conversation

ahal
Copy link
Collaborator

@ahal ahal commented Oct 3, 2025

No description provided.

@ahal ahal self-assigned this Oct 3, 2025
@ahal ahal requested a review from a team as a code owner October 3, 2025 15:15
@ahal ahal requested a review from hneiva October 3, 2025 15:15
@ahal ahal changed the title Ahal/push usosyyqtqyls Fix test_util_archive.py Oct 3, 2025
@ahal ahal force-pushed the ahal/push-usosyyqtqyls branch 2 times, most recently from d24c1e3 to c2b17f6 Compare October 3, 2025 15:15
ahal added 2 commits October 6, 2025 15:15
…nism

Different implementations of zlib can yield different hashes. So
instead, generate the archive twice and make sure the hash is the same.
@ahal ahal force-pushed the ahal/push-usosyyqtqyls branch from c2b17f6 to 94dd202 Compare October 6, 2025 19:15
Copy link
Contributor

@jcristau jcristau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there non-determinism in the uncompressed archives? Could we look at the hash of the uncompressed tarball?

@ahal
Copy link
Collaborator Author

ahal commented Oct 9, 2025

I'm not actually sure, test_executable_preserved being skipped leads me to believe that there is, but maybe we were just too lazy to update hash?

Could we look at the hash of the uncompressed tarball?

Yes, but there's still a test where we do do this, so I don't see a point in adding this check to the other tests as well. They're all compressing the same set of dummy files (other than test_executable_preserved)

@ahal ahal requested a review from jcristau October 9, 2025 15:56
@ahal ahal merged commit 0fcf369 into taskcluster:main Oct 9, 2025
17 checks passed
@ahal ahal deleted the ahal/push-usosyyqtqyls branch October 9, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants