You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
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…
Development
After a developer is assigned a Jira task, they begin work.
Using the type
from Conventional Commits, decide what the primary type of work is, such as feat
for a new feature
List of the commit `type` values that we use
build
: change in build system or dependencies
ci
: change in continuous integration / deployment
docs
: change to documentation
feat
: a new feature is being added
fix
: an existing bug or defect is being fixed
perf
: change to improve performance
refactor
: change to improve code quality
revert
: reverts changes in a previous commit
style
: change to code style/formatting
test
: add missing tests or correct existing tests
Ensure that the main
branch in your cloned fork is up to date
The fetch/rebase GitHub workflow
The fetch
and rebase
GitHub workflow used by Kubernetes is a common way to keep cloned repos in sync with the origin
and upstream
repos.
Note: Some people prefer to pull
and create merge commits, and that’s fine because we squash commits when a Pull Request is merged into upstream/main
.
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
Why this format is recommended
You can name the branch anything you want, but:
Crank out some code and tests (or tests and code, if you like TDD) and whatever docs are needed
Run the unit tests using Terminal
→ Run Task...
→ Unit Tests
and check the test coverage of your new code
Everything you ever wanted to know about the unit tests
Test coverage reports appear in:
Refer to the backend unit test documentation for details on:
test writing strategy
running tests on the command line
running with and without the coverage report
running single specs or single tests
Commit your code with a message like feat: FORMS-1234 new map component
Why this format is mandatory