TODO:
Channels where we receive input
How we choose work to be done
UX design
UI design
Jira
Sprint planning
…and everything else leading up to…
After a developer is assigned a Jira task, they begin work.
Make sure that the Jira task has a clear description, and then move it to In Progress
Ideally the description in the Jira task is written in a way that it can be copied and pasted as the description of the Pull Request. This is very subjective, but the description should:
|
Unless you’re the person most familiar with the area of the codebase that you are changing, first discuss the changes with that person
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: |
Using the type
from Conventional Commits, decide what the primary type of work is, such as feat
for a new feature
|
Ensure that the main
branch in your cloned fork is up to date
The
|
With an example Jira task FORMS-1234
that is a new feat
, create a branch off your main
with a name like feat/1234-new-map-component
You can name the branch anything you want, but:
|
Crank out some code and tests (or tests and code, for TDD bonus points) and whatever docs are needed
Periodically commit your work with messages like:
feat: FORMS-1234 description of the change This is the body of the commit message and provides more detail for anyone in the future who is looking into this commit. |
It’s only a recommendation that commit messages use this format, as commit messages will eventually be squashed (and the final commit message must be in this format). So it’s a good idea to always use this format so that we are used to how the final commit message must look. |
Run the unit tests using Terminal
→ Run Task...
→ Unit Tests
and check the test coverage of your new code
Test coverage reports appear in:
Refer to the backend unit test documentation for details on:
|
Publish your branch
Create a Pull Request (format, draft, read diff)
GitHub Actions
Do a self review (diff)
(somewhere above: limit size of change)
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