If your WordPress VIP support package includes Application Support or Enterprise Support, you have the ability to request code review from the VIP Team.
The goal of our reviews is to provide feedback on these aspects of your pull request:
- Security, which includes the security of your site’s access and data as well as its users.
- Performance, which includes how well your site can handle normal and peak traffic and how quickly your content renders.
We also review for development best practices that include maintainability, defensive coding practices, clarity, and much more.
Be sure to review our recommendations for the speediest code review.
After creating a pull request
Your pull request should contain code that is complete and ready to merge. Draft pull requests cannot be reviewed.
On a pull request against your review branch (this may not be your production branch), the Code Analysis Bot should comment indicating whether the pull request has been automatically added to our review queue or, when reviews are optional, explain how to add a label to request a review. Once you see this message, if you need a review, please add the label.
Customers with Application Support or Enterprise Support packages can request specific developer feedback on your codebase (including themes and custom plugins) by adding the “[VIP] Review Request” label to your pull request. Before adding the label, ensure that you’ve addressed as many errors and warnings from the automated scan as possible. Please note that pull requests without the
[VIP] Review Request label will not be manually reviewed.
You can find the labels field in the GitHub UI on the right sidebar of your pull request:
Pull requests against your review branch, that are not drafts, with the label
[VIP] Review Request surface as a new review request in our internal review queue. The VIP Team will review the pull request directly on GitHub, and suggest any changes by leaving comments. Your team should then go through and make any necessary changes, and if you need further feedback, please “dismiss” the review. This process continues until there are no outstanding issues, at which point the VIP Team will “approve” the request.
Where possible, we recommend keeping pull requests small by breaking them down into atomic commits. If the changeset is larger than 1000 lines of code, it will need to be scheduled for a review. The duration of manual code review can vary depending on the complexity of the code, and your Technical Account Manager will help you determine an appropriate timeline for your project.
Categories of code review feedback
On VIP Go, we typically bucket code feedback into three categories: Errors, Warnings, and Notices. More information about each category of feedback can be found on its individual page:
- VIP Errors — This won’t work or will expose your site to severe performance and security concerns. This category was formerly called a VIP Blocker.
- VIP Warnings — We strongly recommend your team take care of these issues as soon as possible.
- VIP Notices — Needs to be considered carefully when including them in your VIP theme or plugin.
Requesting urgent reviews
If a change is urgent, you can arrange for your own GitHub admin to merge the pull request without a review, and if needed, ask VIP to look it over afterwards. Or you can ask for an expedited review: “vip” plus one of “hotfix” or “urgent” will trigger a review, either in the title or the initial comment. E.g. “Can VIP please review this on an urgent basis?”