Home / Companies / Harness / Blog / Post Details
Content Deep Dive

How to build an A/B testing framework for modern CI/CD pipel

Blog post from Harness

Post Details
Company
Date Published
Author
Aaron Newcomb All this author’s posts
Word Count
3,125
Company Posts That Month
33
Language
English
Hacker News Points
-
Post removed?
No
Summary

An A/B testing framework for software delivery combines traffic allocation, feature flags, targeting, exposure tracking, business and reliability metrics, governance, and promotion or rollback decisions to compare feature variations safely. The approach advocates embedding experimentation directly into CI/CD rather than treating it as a separate post-release process, enabling teams to deploy code with features disabled, progressively expose them to users, and use real-time guardrail metrics to guide rollout decisions. Key architectural practices include separating the experiment control plane from runtime data collection, defining experiment rules and policies as version-controlled code, and connecting validation, staged exposure, measurement, and automated actions within pipeline stages. Effective experiments begin with a clear hypothesis, use one primary outcome metric alongside reliability and user-impact guardrails, allocate traffic gradually, establish minimum sample sizes and stop conditions, and conclude with a documented promotion, pause, rollback, or cleanup decision. The discussion also distinguishes A/B testing, which identifies the better user experience, from canary deployment, which reduces operational risk during version rollout, and emphasizes automation, consistent user bucketing, mutual-exclusion rules, and removal of obsolete flags to prevent experiment debt.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 13 1,897 245 89 -31%
Observability 2 2,189 494 151 -47%
Real-time 2 2,940 753 191 -50%
Developer Experience 1 288 153 70 -49%
Secrets Management 1 1,474 318 111 -42%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.