Skip to content

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Oct 31, 2025

Test random and arbitrary cache data. Deserialization should fail in a predictable manner.

Test random and arbitrary cache data. Deserialization should fail
in a predictable manner.
@JukkaL JukkaL requested a review from ilevkivskyi October 31, 2025 17:11
Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

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

LG, thanks!

try:
check(data)
except BaseException as e:
print(">>>", e, data)
Copy link
Member

Choose a reason for hiding this comment

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

Maybe also print an instruction to open an issue whenever this happens. Otherwise people who are not familiar with this may simply rerun the test and it will pass, and we will never know about some rare edge case.

@JukkaL JukkaL merged commit 2809328 into master Nov 3, 2025
14 checks passed
@JukkaL JukkaL deleted the test-cache-corrupted branch November 3, 2025 10:25
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.

3 participants