Veteran engineer turns Claude Code into a PR-driven CI pipeline with 2,000 regression tests
big_like_a_pickle · reddit · 2026-07-21
A veteran engineer describes how he turned multiple Claude Code sessions into a PR-driven CI/CD workflow for a growing SaaS product.
- Each Claude session works in its own branch and worktree, opens PRs back into dev, and then into master after batch changes accumulate.
- GitHub Actions runs fast checks first, then deeper gates on the production branch: database migrations, Playwright click-through tests, secrets checks, complexity checks, and other deterministic safeguards against common LLM failures.
- Cross-session coordination lives in GitHub Issues, where Claude writes handoff notes, opens and closes bug reports, and tracks tasks.
- The author says this removed the chaos of context switching, let him run 3–5 Claude sessions in parallel, and made the product ship with over 2,000 regression tests and around 10 code-quality checks before deploy.
More from coding & agent
- agents-best-practices: a provider-neutral Agent Skill for designing and auditing agentic harnesses — tom_doerr · 2026-09-11
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11