---
# System prepended metadata

title: Bugfix workflow
tags: [workflow, git, notes]

---

---
title: Bugfix workflow
tags: workflow,git,notes
---

Bug fixes may be done differently depending on the scope size of the bug

#### Definition of bug scope:
- **Minor bug scopes** are the following:
    - Typo
    - Compilation / Syntax Error
    
- **Major bug scopes** are the following:
    - Requires refactor of code implementation in order to fix
    - Fixing the bug affects multiple functionality
    
### Process
- For **major bugs** , Fix shall be done by branching from develop and Pull request back to develop after fix is done.

    1. Create bug fix branch from develop
    2. Develop / Fix bug
    3. Pull request back to develop
    4. Inform respective slack-channel of the bug-fix.

- For **minor bugs** , Fix may be done by directly from develop.

    1. Develop / Fix bug
    2. Push fix to develop
    3. Inform respective slack-channel of the bug-fix
    
:::info
:bulb: Always notify respective slack-channel after a bug-fix so co-developers in project are notified of the changes thus giving them a heads-up to pull changes from develop and apply the changes to their current work. (*In near future we will try to apply Git actions to nofiy on slack channel whenever Bug-fix or PR is made*)
:::

