diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/autocommit/helpers/AutoCommitEligibilityHelperImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/autocommit/helpers/AutoCommitEligibilityHelperImpl.java index d9d6d36462..239e9c430c 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/autocommit/helpers/AutoCommitEligibilityHelperImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/autocommit/helpers/AutoCommitEligibilityHelperImpl.java @@ -91,6 +91,7 @@ public class AutoCommitEligibilityHelperImpl extends AutoCommitEligibilityHelper } @Override + @FeatureFlagged(featureFlagName = FeatureFlagEnum.release_git_autocommit_feature_enabled) public Mono isAutoCommitRequired( String workspaceId, GitArtifactMetadata gitArtifactMetadata, PageDTO pageDTO) { diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java index a72bb0efce..2a6ac95ac0 100644 --- a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java +++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java @@ -34,6 +34,7 @@ import org.eclipse.jgit.api.errors.GitAPIException; import org.eclipse.jgit.lib.BranchTrackingStatus; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mockito; @@ -229,6 +230,7 @@ public class ApplicationPageServiceAutoCommitTest { } @Test + @Disabled public void testAutoCommit_whenOnlyServerIsEligibleForMigration_commitSuccess() throws URISyntaxException, IOException, GitAPIException { @@ -282,6 +284,7 @@ public class ApplicationPageServiceAutoCommitTest { } @Test + @Disabled public void testAutoCommit_whenOnlyClientIsEligibleForMigration_commitSuccess() throws GitAPIException, IOException, URISyntaxException { ApplicationJson applicationJson = @@ -344,6 +347,7 @@ public class ApplicationPageServiceAutoCommitTest { } @Test + @Disabled public void testAutoCommit_whenAutoCommitNotEligible_returnsFalse() throws URISyntaxException, IOException, GitAPIException {