Skip to content

Conversation

nehalvpatel
Copy link
Contributor

@nehalvpatel nehalvpatel commented Sep 1, 2022

Fixes: #2281

Copy link
Contributor

@sigurdm sigurdm left a comment

Choose a reason for hiding this comment

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

I think this needs some testing.

I think you can set the test package-server up so that it returns a checksum, and then make a test that the client validates, and somehow also check that the request is retried.

@nehalvpatel nehalvpatel changed the title GCS checksum validation (#2281) Checksum validation of archives (#2281) Sep 16, 2022
Copy link
Contributor

@sigurdm sigurdm left a comment

Choose a reason for hiding this comment

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

A few suggestions

@nehalvpatel nehalvpatel marked this pull request as ready for review September 27, 2022 02:47
@sigurdm
Copy link
Contributor

sigurdm commented Sep 27, 2022

This starts to look good!

Co-authored-by: Sigurd Meldgaard <[email protected]>
@nehalvpatel nehalvpatel force-pushed the gcs_checksum_validation branch from 3206063 to 63e5f29 Compare September 30, 2022 16:23
@sigurdm sigurdm merged commit 8dba957 into dart-lang:master Oct 3, 2022
@nehalvpatel nehalvpatel deleted the gcs_checksum_validation branch October 3, 2022 17:58
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.

Validate CRC32c if x-goog-hash header is present
3 participants