Documentation Index
Fetch the complete documentation index at: https://docs.thesozocrm.com/llms.txt
Use this file to discover all available pages before exploring further.
Bug Fix Workflow
This guide covers how to identify, fix, and deploy bug fixes safely.Bug Severity Levels
Critical
- Security vulnerabilities
- Data loss
- System crashes
- Fix immediately
High
- Feature broken
- Performance issues
- Fix within 24 hours
Medium
- UI issues
- Minor functionality problems
- Fix within 1 week
Low
- Cosmetic issues
- Nice-to-have improvements
- Fix when convenient
Bug Fix Process
Step 1: Identify and Report
Create Linear Issue
Create bug report in Linear with:
- Clear description
- Steps to reproduce
- Expected vs actual behavior
- Screenshots/videos if applicable
Step 2: Investigate
Step 3: Fix
Step 4: Deploy
Production Bug Fixes
Critical Bugs
Process:- Create hotfix branch from
main - Fix the issue
- Test thoroughly
- Create PR with “HOTFIX” label
- Get expedited review (2 approvals)
- Merge and deploy
- Monitor closely after deployment
Non-Critical Bugs
Process:- Create bug fix branch from
dev - Fix the issue
- Add tests
- Create PR to
dev - Normal review process
- Merge to
dev→staging→main
Hotfix Branch Strategy
From Production (Critical)
From Dev (Non-Critical)
Post-Fix Steps
Best Practices
Fix Root Cause
Don’t just patch symptoms
Add Tests
Prevent regression with tests
Test Thoroughly
Test fix in similar scenarios
Document the Fix
Add comments explaining the fix
Review Related Code
Check for similar issues elsewhere
Communicate
Notify team of critical fixes
Common Bug Patterns
Null/Undefined Errors
Missing Error Handling
Race Conditions
Related Guides
- Team Workflow - Git Flow process
- Code Review - Review standards
- Testing Workflow - Writing tests

