New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add sanitizer #17
add sanitizer #17
Conversation
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why limit to skiplist only?
|
||
proto: proto/proto/meta.proto proto/proto/rustproto.proto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now we use prost-build to generate meta.rs
on cargo build, instead of generating them manually.
Run all sanitizer bench takes ~40mins, and unsafe code is mostly used in skiplists. So I choose to run sanitizer bench only on there's any change in skiplist. Maybe we could run this bench manually instead of triggering by PR or commit, and I could include all modules in bench? |
Seems more practical. |
Signed-off-by: Alex Chi <iskyzh@gmail.com>
I've updated the CI config. After this PR being merged, we could manually trigger sanitizer test and bench on GitHub Action webpage. |
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi iskyzh@gmail.com
fix #10
Sanitizer will only run when there's any change in
skiplist
module. First successful run is triggered along withsplit sanitizer
commit.In the future, we could apply sanitizer to other modules.