Development Workflow - RutgersGRID/VIDAHub GitHub Wiki

Development Workflow

Image

Git Workflow

Branch Strategy

  • main: Production-ready code
  • develop: Integration branch for features
  • feature/<feature-name>: Individual feature development
  • fix/<issue-number>: Bug fixes
  • release/<version>: Release preparation

Commit Guidelines

  • Use descriptive commit messages
  • Reference issue numbers when applicable
  • Keep commits focused on single changes

Pull Request Process

  1. Create a feature branch from develop
  2. Implement changes with appropriate tests
  3. Submit PR to develop branch
  4. Address code review feedback
  5. Merge after approval and CI checks pass

Code Review Standards

  • All code must be reviewed by at least one other developer
  • Reviews should focus on functionality, security, and maintainability
  • Use GitHub's review tools for inline comments
  • Approval required before merging

CI/CD Pipeline

  • Automated testing on commit
  • Code quality checks (linting, style)
  • Security scanning
  • Containerization for approved builds
  • Deployment to staging environment
  • Production deployment after approval

Testing Requirements

  • Unit tests for individual components
  • Integration tests for API endpoints
  • End-to-end tests for critical workflows
  • Accessibility compliance testing
  • Test coverage targets: [specify target percentage]
⚠️ **GitHub.com Fallback** ⚠️