Skip to content

fix: fix git sync related bugs for Custom JS Lib feature#19352

Merged
mohanarpit merged 19 commits intoreleasefrom
fix/19038_fix_git_related_issues_in_custom_js_lib_3
Jan 10, 2023
Merged

fix: fix git sync related bugs for Custom JS Lib feature#19352
mohanarpit merged 19 commits intoreleasefrom
fix/19038_fix_git_related_issues_in_custom_js_lib_3

Conversation

@sumitsum
Copy link
Copy Markdown
Contributor

@sumitsum sumitsum commented Dec 30, 2022

Description

  • Fix git import / export / status related bugs. Please check out this issue for more details : [Bug]: [CustomJSLib] Fix git sync related bugs on the server side  #19038
  • Remove feature flag usage from the server side, since it was interfering with the JUnit TCs. Please note that the overall feature is still under feature flag since the client side also uses the same feature flag.

Fixes #19038

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Manual
  • JUnit TC

Test plan is the same as the one present for #17895

Issues raised during QA

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:

  • Test plan has been approved by relevant developers
  • Test plan has been peer reviewed by QA
  • Cypress test cases have been added and approved by either SDET or manual QA
  • Organized project review call with relevant stakeholders after Round 1/2 of QA
  • Added Test Plan Approved label after reveiwing all Cypress test

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 30, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
appsmith ⬜️ Ignored (Inspect) Jan 10, 2023 at 4:53AM (UTC)

@sumitsum sumitsum marked this pull request as draft December 30, 2022 10:10
…o fix/19038_fix_git_related_issues_in_custom_js_lib_3
remove feature flag usage from server side
@sumitsum sumitsum marked this pull request as ready for review January 2, 2023 11:52
@sumitsum sumitsum requested a review from AnaghHegde January 2, 2023 11:52
@github-actions github-actions bot added Query & JS Pod Issues related to the query & JS Pod Bug Something isn't working Custom JS Libraries Issues related to adding custom JS library Integrations Product Issues related to a specific integration Mongo Issues related to Mongo DB plugin Needs Triaging Needs attention from maintainers to triage labels Jan 2, 2023
@sumitsum sumitsum changed the title fix git sync related bugs fix: fix git sync related bugs for Custom JS Lib feature Jan 2, 2023
@github-actions github-actions bot added Bug Something isn't working and removed Bug Something isn't working labels Jan 2, 2023
Copy link
Copy Markdown
Contributor

@AnaghHegde AnaghHegde left a comment

Choose a reason for hiding this comment

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

All the changes done to ImportExportServiceV2 needs to copied to ImportExportService. The export and import by file is still using the same service. I am afraid we don't have any other way till we finish this up. Apologies for the inconvenience.

Comment thread app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/FileUtilsImpl.java Outdated
@sumitsum sumitsum requested a review from AnaghHegde January 3, 2023 07:59
AnaghHegde
AnaghHegde previously approved these changes Jan 3, 2023
…o fix/19038_fix_git_related_issues_in_custom_js_lib_3
@sumitsum
Copy link
Copy Markdown
Contributor Author

sumitsum commented Jan 4, 2023

/ok-to-test sha=18ea7b2

@ramsaptami
Copy link
Copy Markdown
Contributor

Related test cases will be scripted by Arun post implementing front-end changes for change log
Git related scenarios have been tested and verified.
CC: @sumitsum @arunvjn

@AnaghHegde
Copy link
Copy Markdown
Contributor

@ramsaptami I don't see the git discard scenario covered in the test plan. Can we ensure that git discard is also handled correctly?

…o fix/19038_fix_git_related_issues_in_custom_js_lib_3
@sumitsum sumitsum requested a review from AnaghHegde January 9, 2023 10:41
@sumitsum
Copy link
Copy Markdown
Contributor Author

sumitsum commented Jan 9, 2023

/ok-to-test sha=eae0aa0

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 9, 2023

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

@sumitsum
Copy link
Copy Markdown
Contributor Author

sumitsum commented Jan 9, 2023

/ok-to-test sha=58482db

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 9, 2023

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

@ramsaptami
Copy link
Copy Markdown
Contributor

@AnaghHegde Yep, will add those in. Thanks for reviewing!

fix JUnit TC
@sumitsum
Copy link
Copy Markdown
Contributor Author

/ok-to-test sha=4dddfdd

@github-actions
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

The following are new failures, please fix them before merging the PR cypress/integration/Smoke_TestSuite/ServerSideTests/JsFunctionExecution/JSFunctionExecution_spec.ts

1 similar comment
@github-actions
Copy link
Copy Markdown

The following are new failures, please fix them before merging the PR cypress/integration/Smoke_TestSuite/ServerSideTests/JsFunctionExecution/JSFunctionExecution_spec.ts

Copy link
Copy Markdown
Contributor

@sidhantgoel sidhantgoel left a comment

Choose a reason for hiding this comment

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

Looks good, 1 question, 1 change request

@sumitsum sumitsum requested a review from sidhantgoel January 10, 2023 11:44
@sumitsum sumitsum self-assigned this Jan 10, 2023
@Rhitottam
Copy link
Copy Markdown
Contributor

/perf-test

@github-actions
Copy link
Copy Markdown

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

@mohanarpit mohanarpit merged commit d33d35f into release Jan 10, 2023
@mohanarpit mohanarpit deleted the fix/19038_fix_git_related_issues_in_custom_js_lib_3 branch January 10, 2023 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Custom JS Libraries Issues related to adding custom JS library Integrations Product Issues related to a specific integration Mongo Issues related to Mongo DB plugin Needs Triaging Needs attention from maintainers to triage Query & JS Pod Issues related to the query & JS Pod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: [CustomJSLib] Fix git sync related bugs on the server side

7 participants