...
Unless you’re the person most familiar with the area of the codebase that you are changing, first discuss the changes with that person
Expand | ||
---|---|---|
| ||
There will always be improvements underway in the CHEFS code, and any new work must align with those improvements. The end goal of these improvements is code that is:
Information that everyone should be familiar with: |
...
Expand | ||
---|---|---|
| ||
The goal for all developers is to create Pull Requests that are easy and fast to review. If a task contains a large amount of work, break it down into smaller stand-alone tasks. Jira subtasks are one way of recording this, and do allow the task subtask to go through the various Jira swimlanes. |
...
Expand | ||
---|---|---|
| ||
Test coverage reports appear in:
Refer to the backend unit test documentation for details on:
|
Publish your branch to your fork, for example by using the “Publish” button in VS Code
Create Start to create a Pull Request for your branch, for example by using “New pull request” in the GitHub web site
Do a self review (diff)
(somewhere above: limit size of change)
Enter the “title” for your Pull Request in the format
feat: FORMS-1234 new map component for dropping a pin
Expand | ||
---|---|---|
| ||
We use the format
|
Enter the GitHub “description” for your Pull Request using the template provided. The template contains comments to help make the process easier
Before clicking the create button, read through all the file diffs
Expand | ||
---|---|---|
| ||
This is a chance to do a self-review of your changes before creating the PR.
|
Click the “Draft pull request” button to create the Pull Request
Wait for the “Tests” GitHub Action to automatically run successfully
Expand | ||
---|---|---|
| ||
The “Tests” GitHub Action runs:
Note that the test coverage is not uploaded to Code Climate, as Actions run from Pull Requests do not have access to the GitHub Secrets needed to authenticate with Code Climate. |
Run the deploy Action
test
Mark as ready for review
Add reviewers
Talk to reviewers
Keep up to date
Deploy Action
merge and message
Push Action
Undeploy Action
Code Climate / etc?
Jira: moving tickets, rewrite description
What is the intention of a PR review? Ship / Show / Ask. nitpicks. style guide. choose your battles
...