Skip to content
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: handle clone errors gracefully #28451

Merged
merged 9 commits into from
Oct 31, 2023

Conversation

ohansFavour
Copy link
Contributor

@ohansFavour ohansFavour commented Oct 29, 2023

Description

This PR introduces custom transmission (clone) error handlers.

PR fixes following issue(s)

Fixes #28454

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Chore (housekeeping or task changes that don't impact user perception)
  • This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

  • Manual
  • JUnit
  • Jest
  • Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:

Dev activity

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • PR is being merged under a feature flag

QA activity:

  • Speedbreak features have been covered
  • Test plan covers all impacted features and areas of interest
  • Test plan has been peer reviewed by project stakeholders and other QA members
  • Manually tested functionality on DP
  • We had an implementation alignment call with stakeholders post QA Round 2
  • Cypress test cases have been added and approved by SDET/manual QA
  • Added Test Plan Approved label after Cypress tests were reviewed
  • Added Test Plan Approved label after JUnit tests were reviewed

@ohansFavour ohansFavour removed the request for review from ApekshaBhosale October 29, 2023 20:22
@ohansFavour ohansFavour changed the title Fix/handle clone errors gracefully fix: handle clone errors gracefully Oct 29, 2023
@ohansFavour
Copy link
Contributor Author

/ok-to-test

@ohansFavour
Copy link
Contributor Author

/build-deploy-preview skip-tests=true

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/6685642361.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 28451.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=28451&runId=6685642361_1

@github-actions github-actions bot added the Bug Something isn't working label Oct 29, 2023
@github-actions
Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6685643478.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 28451.
recreate: .

@github-actions
Copy link

Deploy-Preview-URL: https://ce-28451.dp.appsmith.com

@github-actions
Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6685642361.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Widgets/ListV2/DataIdentifierProperty_spec.ts

To know the list of identified flaky tests - Refer here

@github-actions
Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6685642361.
Commit: ``.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

@ohansFavour
Copy link
Contributor Author

/ok-to-test

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/6692073758.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 28451.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=28451&runId=6692073758_1

@github-actions
Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6692075302.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 28451.
recreate: .

@ohansFavour
Copy link
Contributor Author

/build-deploy-preview skip-tests=true

@github-actions
Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6692079011.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 28451.
recreate: .

@github-actions
Copy link

Deploy-Preview-URL: https://ce-28451.dp.appsmith.com

@github-actions
Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6692073758.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Widgets/Select/Select3_Spec.ts

  2. cypress/e2e/Smoke/GenerateCRUD/Generate_Crud_New_Page_spec.ts
To know the list of identified flaky tests - Refer here

@github-actions
Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6692073758.
Commit: ``.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

arunvjn
arunvjn previously approved these changes Oct 30, 2023
Copy link
Contributor

@arunvjn arunvjn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good!

@ohansFavour
Copy link
Contributor Author

/ok-to-test

@ohansFavour
Copy link
Contributor Author

/build-deploy-preview skip-tests=true

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/6704905850.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 28451.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=28451&runId=6704905850_1

@github-actions
Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6704909539.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 28451.
recreate: .

@github-actions
Copy link

Deploy-Preview-URL: https://ce-28451.dp.appsmith.com

@github-actions
Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6704905850.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/Apps/MongoDBShoppingCart_spec.ts

  2. cypress/e2e/Regression/ClientSide/Templates/Fork_Template_Existing_app_spec.js
  3. cypress/e2e/Regression/ClientSide/Widgets/Select/Select3_Spec.ts
  4. cypress/e2e/Regression/ServerSide/Postgres_DataTypes/UUID_Spec.ts
To know the list of identified flaky tests - Refer here

@github-actions
Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6704905850.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/Apps/MongoDBShoppingCart_spec.ts

  2. cypress/e2e/Regression/ClientSide/Templates/Fork_Template_Existing_app_spec.js
  3. cypress/e2e/Regression/ClientSide/Widgets/Select/Select3_Spec.ts
To know the list of identified flaky tests - Refer here

@github-actions
Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6704905850.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/Apps/MongoDBShoppingCart_spec.ts

  2. cypress/e2e/Regression/ClientSide/Templates/Fork_Template_Existing_app_spec.js
To know the list of identified flaky tests - Refer here

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6704905850.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Templates/Fork_Template_Existing_app_spec.js

To know the list of identified flaky tests - Refer here

@Aishwarya-U-R Aishwarya-U-R merged commit 215adcf into release Oct 31, 2023
13 of 15 checks passed
@Aishwarya-U-R Aishwarya-U-R deleted the fix/handle-clone-errors-gracefully branch October 31, 2023 18:29
@github-actions github-actions bot added Critical This issue needs immediate attention. Drop everything else FE Coders Pod Issues related to users writing javascript in appsmith JS Evaluation Issues related to JS evaluation on the platform Needs Triaging Needs attention from maintainers to triage labels Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Critical This issue needs immediate attention. Drop everything else FE Coders Pod Issues related to users writing javascript in appsmith JS Evaluation Issues related to JS evaluation on the platform Needs Triaging Needs attention from maintainers to triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: App crashes after js object's name is edited
3 participants