PromucFlow_constructor/app/server/appsmith-interfaces
Manish Kumar a36d57b362
chore: FS layer has additional reset responsibility before reconstruction (#39989)
## Description
### This helps in resetting the file system to last commit in the
following flows
- Import
- Checkout ref (Branch/tag)
- pull
- merge
- discard

Fixes https://github.com/appsmithorg/appsmith/issues/39934  


## Automation

/ok-to-test tags="@tag.Git"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14176842029>
> Commit: a8202cb9d34b24ff33b3bd5d55fb090123102760
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14176842029&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Git`
> Spec:
> <hr>Mon, 31 Mar 2025 17:39:11 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

- **New Features**
- Introduced a repository reset option allowing users to revert to the
latest commit on the current branch without needing to specify extra
details.
- Enhanced the artifact restoration process by applying this reset step
to ensure a consistent repository state before rebuilding data.
- **Bug Fixes**
- Updated error notifications during reference creation for improved
clarity.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-03-31 19:59:59 +02:00
..
src chore: FS layer has additional reset responsibility before reconstruction (#39989) 2025-03-31 19:59:59 +02:00
pom.xml chore(deps): bump commons-io:commons-io from 2.13.0 to 2.17.0 in /app/server/appsmith-interfaces (#36683) 2024-11-15 12:41:06 +05:30