SDLC Automation

A team requires daily integration into its main branch and must keep that branch releasable while developing features that take several weeks. Which approach BEST meets both requirements?

Show the answer

Correct answerD. Merge small changes frequently and hide incomplete features behind disabled feature flags.

AWhy not this: Integrating only during stabilization creates long-lived branches and delays integration feedback.

BWhy not this: Suspending production releases means the main branch is not kept ready for release.

CWhy not this: Holding features on release branches postpones their integration into the main branch.

DWhy this is right: Small, frequent merges meet the integration requirement; disabled flags separate code integration from feature availability.

Frequent integration with disabled feature flags keeps incomplete behavior unavailable while the main branch remains releasable. Long-lived feature or release branches defer integration and therefore fail the daily integration requirement.