Saltar al contenido principal

Code Review Workflow

Standards and process for code reviews.

Pull Request Processโ€‹

Before Opening a PRโ€‹

  1. Rebase on latest develop
  2. Ensure all tests pass locally
  3. Run linting: yarn lint
  4. Self-review your diff
  5. Write a clear PR description

PR Templateโ€‹

## What Changed

Brief description of changes.

## Why

Business context or issue reference.

## How to Test

1. Step-by-step testing instructions
2. Expected outcomes

## Screenshots

Before/after if UI changes.

## Checklist

- [ ] Tests added/updated
- [ ] Documentation updated
- [ ] No console.log statements
- [ ] Types properly defined

Reviewer Checklistโ€‹

AreaCheck
LogicCorrect business logic
SecurityNo vulnerabilities introduced
PerformanceNo N+1 queries, proper indexes
TypesProper TypeScript types
TestsAdequate test coverage
NamingClear variable/function names
Error HandlingProper exception handling
Tenant ScopingtenantId properly applied

Review Response Timesโ€‹

PriorityTarget Response
Critical< 2 hours
Normal< 24 hours
Low< 48 hours