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
docs: add reviewers guide #5664
docs: add reviewers guide #5664
Conversation
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.
Great start!
Some additional ideas:
- overflowing integer conversions (my_u64 as u32, etc)
- bounds checking (copy_from_slice etc)
- attackers use resources without bounds (e.g. can they stream junk forever)
- unsafe code blocks
- zeroize private data (w/ things to look out for with stack memory)
#### Tokio | ||
Tokio has many useful channels, and it can be difficult to know what to look out for, so here are some things to keep in mind: | ||
1. When using `watch`: | ||
1. Watches can block if the reference returned from `borrow()` is held for a long time. Any call to `borrow()` should drop the reference as soon as possible. |
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.
TIL :)
Co-authored-by: Stan Bondi <sdbondi@users.noreply.github.com>
Co-authored-by: Stan Bondi <sdbondi@users.noreply.github.com>
Co-authored-by: Stan Bondi <sdbondi@users.noreply.github.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.
This is a very good addition
Co-authored-by: SW van Heerden <swvheerden@gmail.com>
Co-authored-by: Hansie Odendaal <39146854+hansieodendaal@users.noreply.github.com>
Co-authored-by: SW van Heerden <swvheerden@gmail.com>
Co-authored-by: SW van Heerden <swvheerden@gmail.com>
Co-authored-by: SW van Heerden <swvheerden@gmail.com>
Description
Add a reviewer's guide for new contributors
Motivation and Context
To educate new developers and upskill them to be effective reviewers
Breaking Changes