acl icon indicating copy to clipboard operation
acl copied to clipboard

feat(decompression): improved ACL asserts when initializing a decompression_context

Open Yusuf-PG opened this issue 1 year ago • 5 comments

After running into an issue where ACL was failing to initialize the decompression_context, I noticed that ACL already has the info for why the initialization failed in the error_result, we just weren't showing it in the assert

Small change to the initialize and relocate functions that adds more useful info to the asserts when possible

Yusuf-PG avatar Apr 26 '24 09:04 Yusuf-PG

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 26 '24 09:04 CLAassistant

Sorry, only just realised that ACL targets C++11! I'll need to rewrite this to not use if constexpr

Yusuf-PG avatar Apr 26 '24 13:04 Yusuf-PG

Good stuff! Thank you for the contribution. It looks like appveyor CI is failing because the VM instances are slower than before, somehow and we time out. We'll ignore it for now and I'll see if I can fix that later.

nfrechette avatar Apr 28 '24 15:04 nfrechette

Apologies for the slow reply, once CI completes, I'll merge this. Thank you for your contribution, it is much appreciated :)

nfrechette avatar May 02 '24 00:05 nfrechette

@nfrechette it looks like appveyor might have timed out again? Seems like all the individual builds passed

Yusuf-PG avatar May 02 '24 09:05 Yusuf-PG

Yeah, appveyor has been struggling. The builds had been hovering around 50-55mins for some time now, and it looks like a configuration change on their end pushed it over the 1h limit. I'll have to disable some of the slower tests with the older vs2015 toolchain which is fine since it's so ancient now.

Thank you for the contribution!

nfrechette avatar May 05 '24 16:05 nfrechette

@all-contributors add @Yusuf-PG as code

nfrechette avatar May 05 '24 16:05 nfrechette

@nfrechette

I've put up a pull request to add @Yusuf-PG! :tada:

allcontributors[bot] avatar May 05 '24 16:05 allcontributors[bot]