Unleash

Feature flag use cases: trunk-based development

Why Trunk-based development is important for modern development teams?

Trunk-based development (TBD) is a crucial practice in modern DevOps that enhances collaboration, reduces integration complexity, and accelerates delivery cycles. It emphasizes the use of a single integration branch (the trunk) where all developers commit their changes, fostering a more streamlined and efficient development process.

Accelerate Delivery

Reduce Merge Conflicts and Integration Issues

Enhance Collaboration

Promote Frequent Code Integration Among Teams

Improve Code Quality

Facilitate Continuous Integration and Automated Testing

Trusted by developers at global enterprises

visa logo
wayfair logo
samsung logo
blue origin logo
telus logo
lloyds bank logo
docker logo

Challenges and Best Practices for Trunk-based Development

Challenges:

Managing Frequent Commits: How do you handle the high frequency of commits?

Ensuring Code Quality: How do you maintain high standards with rapid changes?

Balancing Stability and Innovation: How do you integrate new features without disrupting stability?

Best Practices:

Continuous Integration: Implement robust CI/CD pipelines to automatically test and integrate code changes, ensuring immediate feedback on integration issues.

Code Reviews and Pair Programming: Foster a culture of peer reviews and pair programming to maintain code quality and share knowledge.

Feature Flags: Use Feature Flags to decouple feature deployment from code releases, allowing safe introduction of new features without impacting stability.

How Unleash enables trunk-based development

Easily configure which feature flags are enabled for which users. Unleash has built-in default strategies like Progress Rollout that make getting started easy. Custom constraints allow targeting feature rollouts based on any attribute you can imagine like geo, customer type, or arbitrary telemetry.

Gradual-rollout-screenshot

Gradual-rollout-screenshot

Join a global community of 10,000+ Developers

Hosted, or self-hosted: it’s your call. It’s quick and easy to set up. Get started in 2 steps with the functionality you need to gain complete control over your software releases.

Our blog

Feature Management best practices

Product

A Guide to Feature Flags

In 2014 I was working as a software developer at FINN.no, Noway’s largest online marketplace. Getting new features into production was a pain, so, as a developer, I looked around and wondered if I could write some code to make it easier. My initial goal was to protect features under development, allowing our team to […]