Merge "Add feature flag for replacing task snapshots."