GitHub and Cloudflare Engineering Standard
GitOps Integrated Workflow
Section titled “GitOps Integrated Workflow”- Branch Strategy: main (production), develop/staging (integration testing), feature/* (feature development)
- Automated Deployment: GitHub push → Cloudflare Pages integration or build/preview URL generation via GitHub Actions
- Mandatory Code Review: Main branch merges require peer approval (Approve)
Cloudflare SRE Standards
Section titled “Cloudflare SRE Standards”Local Simulation: Wrangler Dev
Section titled “Local Simulation: Wrangler Dev”wrangler dev --remote: Local execution + connection to actual Cloudflare resources (KV, D1, etc.) for 100% edge runtime replication
Real-time logs: Wrangler Tail
Section titled “Real-time logs: Wrangler Tail”wrangler tail: Monitor production environment requests, status codes, console.log, and exceptions via real-time streaming
Staged rollout and rollback
Section titled “Staged rollout and rollback”- Adhere to error budget, validate in staging before promoting to production
Related Documents
Section titled “Related Documents”- GitHub Actions and Worker Debugging — CI debugging strategy
- Environment Setup — wrangler·environment variables