-
Notifications
You must be signed in to change notification settings - Fork 71
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
Assemble a PR checklist for code reviewers #258
Comments
I won't add any points that are fairly obvious - e.g. if we add a new provider, that will certainly involve adding a bunch of stuff in the book and it's a fairly rare occurence. |
I'll be using this comment as the base for the list and will keep updating it. Code-wiseFollow Rust API guidelines Usage of Abstract types should be preferred to generic representations - e.g. instead of representing PSA algorithms as a bitfield like in the spec, a rich Rust-native type was used. Buffers should be zeroed out if they contain any sensitive data. Logs should not contain sensitive data, and should only contain detailed data and error information if configured so. New functionality is properly tested. Threat modelThe threat model should be reviewed if:
Special care should also be taken around the bits of code that enforce key policies. DocumentationIf changes are made to the authentication process, the API overview, system architecture and authenticators pages should be checked. If new response codes are added, please review the status codes page. If improving support for one of the providers, please check the service API coverage page. If large changes are made (including additions or deletions) to the source code structure, please check the associated page. If changes are made to the placement (in the filesystem) of service components or utility files, please check the build and run, secure installation pages. If changes are made to the CLI arguments (Cargo features or other arguments parsed by the service binary) that need to be passed to run Parsec or its tests, please check the build and run, secure installation and testing pages. If new kinds of tests are added, please check the testing page and its child. |
Thanks!! It looks good, I have a few questions:
What do you mean?
Maybe only the ones potentially containing confidential information?
I would also add something similar for usage of |
Well, that we should use a new type to represent
👌
👌 |
ahh yes agree then! |
Done here: parallaxsecond/parsec-book#68 |
The amount of information that we need to be aware of when reviewing a PR is increasing, and given the possibility of breaking the sync between code and documentation in "everyday PRs", it would be good to have a checklist to help with this.
The checklist will be published in the book and will cover:
The text was updated successfully, but these errors were encountered: