PromucFlow_constructor/app/client/packages/rts
Shrikant Sharat Kandula b9ce30ef97
fix: Restore doesn't work when backup file is renamed (#37666)
When backups are renamed from their original generated name, restore
operation can't process that backup anymore. This PR should fix that.


## Automation

/test sanity

### 🔍 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/12004342912>
> Commit: ef62c35bd16142dfecd268797c4846a894d2c628
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12004342912&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Mon, 25 Nov 2024 06:54:45 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new function to determine the contents path within backup
archives, enhancing backup restoration capabilities.
  
- **Bug Fixes**
- Improved error handling for invalid backup file indices and password
attempts during restoration.

- **Refactor**
- Streamlined output and error handling in the backup process, including
cleanup and email notifications for backup errors.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-25 12:53:10 +05:30
..
src fix: Restore doesn't work when backup file is renamed (#37666) 2024-11-25 12:53:10 +05:30
.env.example
.eslintrc.json fix: add testing library eslint rules (#31028) 2024-02-12 18:59:10 +03:00
.lintstagedrc.json chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
.prettierignore
build.js chore: Port ctl code to Typescript (#37606) 2024-11-21 15:37:11 +05:30
build.sh chore: rts workflow APIs code split (#29474) 2023-12-09 14:04:08 +05:30
jest.config.js
package.json chore: Reduce lint exceptions in ctl (#37643) 2024-11-22 15:57:56 +05:30
README.md
start-server.sh chore: Fix path to RTS server.js in start-server.sh 2023-11-06 10:45:23 +05:30
tsconfig.json fix: removing unused dependencies and explicitly installing used ones (#36573) 2024-09-30 12:28:46 +03:00

Appsmith Realtime Server

This is the code for the Appsmith realtime server.