chore: disabled autocommit (#41246)
## Description > [!TIP] > _Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team)._ > > _Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR._ Fixes #`Issue Number` _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="@tag.Git" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!IMPORTANT] > 🟣 🟣 🟣 Your tests are running. > Tests running at: <https://github.com/appsmithorg/appsmith/actions/runs/17913609729> > Commit: 2055a6b1f1f8b90651f7ad384736905e9a957e6d > Workflow: `PR Automation test suite` > Tags: `@tag.Git` > Spec: `` > <hr>Mon, 22 Sep 2025 11:18:58 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Temporarily disabled Git auto-commit; auto-commit operations no longer execute. * Auto-commit status responses now consistently report IDLE with 0% progress. * Users may notice no automatic commits in linked repositories; manual commits unaffected. * No changes to public API signatures; only response behavior adjusted. * **Tests** * End-to-end test for Git autocommit is skipped to reflect disabled auto-commit. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
36c34db4ed
commit
2945431dea
|
|
@ -26,7 +26,7 @@ describe(
|
|||
],
|
||||
},
|
||||
function () {
|
||||
it("Check if autocommit progress bar is visible and network requests are properly called", function () {
|
||||
it.skip("Check if autocommit progress bar is visible and network requests are properly called", function () {
|
||||
agHelper.GenerateUUID();
|
||||
cy.get("@guid").then((uid) => {
|
||||
wsName = "GitAC-" + uid;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ import com.appsmith.server.domains.Artifact;
|
|||
import com.appsmith.server.domains.GitArtifactMetadata;
|
||||
import com.appsmith.server.domains.GitAuth;
|
||||
import com.appsmith.server.dtos.AutoCommitResponseDTO;
|
||||
import com.appsmith.server.dtos.AutoCommitResponseDTO.AutoCommitResponse;
|
||||
import com.appsmith.server.dtos.BranchProtectionRequestDTO;
|
||||
import com.appsmith.server.dtos.GitAuthDTO;
|
||||
import com.appsmith.server.dtos.GitConnectDTO;
|
||||
|
|
@ -288,9 +289,12 @@ public class GitApplicationControllerCE {
|
|||
artifactType = ArtifactType.APPLICATION,
|
||||
operation = GitRouteOperation.AUTO_COMMIT)
|
||||
public Mono<ResponseDTO<AutoCommitResponseDTO>> autoCommitApplication(@PathVariable String branchedApplicationId) {
|
||||
return autoCommitService
|
||||
.autoCommitApplication(branchedApplicationId)
|
||||
.map(data -> new ResponseDTO<>(HttpStatus.OK, data));
|
||||
// disabling autocommit till in-memory git has been incorporated in the auto-commit
|
||||
AutoCommitResponseDTO autoCommitResponseDTO = new AutoCommitResponseDTO();
|
||||
autoCommitResponseDTO.setAutoCommitResponse(AutoCommitResponse.IDLE);
|
||||
autoCommitResponseDTO.setProgress(0);
|
||||
|
||||
return Mono.just(autoCommitResponseDTO).map(data -> new ResponseDTO<>(HttpStatus.OK, data));
|
||||
}
|
||||
|
||||
@JsonView(Views.Public.class)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user