Commit 4a142af
authored
chore: cherry pick git executor revert (#39954)
## Description
- Git executor CE Impl revert PR
#39949
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 -->
> [!CAUTION]
> 🔴 🔴 🔴 Some tests have failed.
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14106311517>
> Commit: cef9ab7
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14106311517&attempt=2&selectiontype=test&testsstatus=failed&specsstatus=fail"
target="_blank">Cypress dashboard</a>.
> Tags: @tag.Git
> Spec:
> The following are new failures, please fix them before merging the PR:
<ol>
> <li>cypress/e2e/Regression/Apps/ImportExportForkApplication_spec.js
> <li>cypress/e2e/Regression/ClientSide/BugTests/CatchBlock_Spec.ts
> <li>cypress/e2e/Regression/ClientSide/BugTests/DS_Bug28985_spec.ts
>
<li>cypress/e2e/Regression/ClientSide/BugTests/GraphQL_Binding_Bug16702_Spec.ts
> <li>cypress/e2e/Regression/ClientSide/Git/GitAutocommit_spec.ts
>
<li>cypress/e2e/Regression/ClientSide/Git/GitDiscardChange/DiscardChanges_spec.js
> <li>cypress/e2e/Regression/ClientSide/Git/GitImport/GitImport_spec.js
>
<li>cypress/e2e/Regression/ClientSide/Git/GitSync/GitSyncGitBugs_spec.js
>
<li>cypress/e2e/Regression/ClientSide/Templates/ForkTemplateToGitConnectedApp.js
> <li>cypress/e2e/Regression/ClientSide/Widgets/Migration_Spec.js
> <li>cypress/e2e/Regression/ServerSide/ApiTests/API_MultiPart_Spec.ts
>
<li>cypress/e2e/Regression/ServerSide/ApiTests/API_TestExecuteWithDynamicBindingInUrl_spec.ts
> <li>cypress/e2e/Regression/ServerSide/OnLoadTests/JSOnLoad2_Spec.ts
>
<li>cypress/e2e/Regression/ServerSide/Params/PassingParams_Spec.ts</ol>
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-65890b3c81d7400d08fa9ee3?branch=master"
target="_blank">List of identified flaky tests</a>.
> <hr>Thu, 27 Mar 2025 15:43:27 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
- **Bug Fixes**
- Improved recovery for repository operations by automatically reverting
to a stable state when errors occur, reducing conflict risks and
ensuring a consistent environment.
- **Refactor**
- Optimized the overall error handling and state management logic to
better maintain system stability during update and merge operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->File tree
1 file changed
+33
-5
lines changed- app/server/appsmith-git/src/main/java/com/appsmith/git/service/ce
1 file changed
+33
-5
lines changedLines changed: 33 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
629 | 638 | | |
630 | 639 | | |
631 | 640 | | |
| |||
844 | 853 | | |
845 | 854 | | |
846 | 855 | | |
847 | | - | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
848 | 863 | | |
849 | 864 | | |
850 | 865 | | |
| |||
1013 | 1028 | | |
1014 | 1029 | | |
1015 | 1030 | | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
1016 | 1044 | | |
1017 | 1045 | | |
1018 | 1046 | | |
| |||
1093 | 1121 | | |
1094 | 1122 | | |
1095 | 1123 | | |
1096 | | - | |
| 1124 | + | |
1097 | 1125 | | |
1098 | 1126 | | |
1099 | 1127 | | |
1100 | 1128 | | |
1101 | | - | |
| 1129 | + | |
1102 | 1130 | | |
1103 | 1131 | | |
1104 | 1132 | | |
| |||
1128 | 1156 | | |
1129 | 1157 | | |
1130 | 1158 | | |
1131 | | - | |
| 1159 | + | |
1132 | 1160 | | |
1133 | 1161 | | |
1134 | 1162 | | |
| |||
0 commit comments