Skip to content

[WIP] FIX: Possible exception on corrupted cache loading#129

Draft
Fabio3rs wants to merge 6 commits intothelink2012:masterfrom
Fabio3rs:cache_fix
Draft

[WIP] FIX: Possible exception on corrupted cache loading#129
Fabio3rs wants to merge 6 commits intothelink2012:masterfrom
Fabio3rs:cache_fix

Conversation

@Fabio3rs
Copy link
Copy Markdown

In certain cases, the serialized ("cerealized"?) cache files from std.data could be corrupted, the next loading causes an untreated exception

This should fix it.

Possible TODOs: implement hashing/magics before calling cereal lib to unserialize

PS: there are my last PR commits here, we can cherry pick the try catch fix if the other PR were not merged.

…d use it to clamp priority values, allowing for more flexible configuration
…uring cache operations

feat(cache.hpp, main.cpp): log error messages with exception details when cache operations fail
ci(build.yml): add detailed comments explaining each step in the build process
ci(build.yml): correct comment about MSBuild property precedence and toolset version
ci(build.yml): update artifact collection comments to reflect current directory structure
ci(build.yml): add comments explaining the purpose of the release job
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.

1 participant