-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: [Git] Avoid 404 when checking out a branch #21894
Conversation
/ok-to-test |
/build-deploy-preview env=release |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4561697286. |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4561699126. |
Deploy-Preview-URL: https://appsmith-37bjl7crx-get-appsmith.vercel.app |
The following are new failures, please fix them before merging the PR:
|
/ok-to-test |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4564964391. |
The following are new failures, please fix them before merging the PR:
|
/ok-to-test |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4574501771. |
The following are new failures, please fix them before merging the PR:
|
/ok-to-test |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4575836992. |
The following are new failures, please fix them before merging the PR:
|
The following are new failures, please fix them before merging the PR:
Identified Flaky tests |
/ok-to-test |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4594531270. |
The following are new failures, please fix them before merging the PR:
|
The following are new failures, please fix them before merging the PR:
Identified Flaky tests |
Description
After checkout, we will now check if the resource the user was accessing is available in the incoming branch. Instead of calling the apis to check this, we will listen to the success action and then handle check if the current resource is still available in the branch. If not, we will navigate the user to the home page of the app so that they do not see a 404 error
Fixes #17234
Fixes #20883
Media
Type of change
How Has This Been Tested?
Manual
Cypress
Updated the existing cypress tests that avoided the error to make sure they test the fix instead
Test Plan
Issues raised during DP testing
Checklist:
Dev activity
QA activity: