The valkeymodule-rs SDK enables Modules to interact with the core by abstracting away the unsafe code and Extern C code. However, this is the place where leaks and corruption (invalid reads, access) are likely to occur.
We have seen this in certain features in the SDK and adding ASAN testing (of all the existing integration tests) through a build script against an ASAN compiled binary of valkey on merge/push and pull requests will help ensure new changes are not introducing bugs.
The valkeymodule-rs SDK enables Modules to interact with the core by abstracting away the unsafe code and Extern C code. However, this is the place where leaks and corruption (invalid reads, access) are likely to occur.
We have seen this in certain features in the SDK and adding ASAN testing (of all the existing integration tests) through a build script against an ASAN compiled binary of valkey on merge/push and pull requests will help ensure new changes are not introducing bugs.