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

feat: remote js execution code split #32853

Merged
merged 32 commits into from
May 4, 2024

Conversation

ayushpahwa
Copy link
Contributor

@ayushpahwa ayushpahwa commented Apr 22, 2024

Description

This PR is a code split PR for EE feature which allows remote JS execution for JS functions. The changes majorly relate to workflows code. Changelog:

  • Block certain js function executions in JsPaneSagas
  • Create store changes to allow test payload for a collection to be added to the redux store
  • Save and fetch methods for test payloads in index db.
  • Handle views of js response view based on local or remote execution.

Fixes #32318
Fixes #32320
Fixes #32321

Automation

/ok-to-test tags="@tag.Sanity, @tag.JS"

🔍 Cypress test results

Tip

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

Communication

Should the DevRel and Marketing teams inform users about this change?

  • Yes
  • No

@github-actions github-actions bot added the Enhancement New feature or request label May 2, 2024
@ayushpahwa ayushpahwa changed the title feat: remote js execution feat: remote js execution code split May 2, 2024
@github-actions github-actions bot added Task A simple Todo Workflows Workflows Pod For all issues related to the Workflows feature labels May 2, 2024
@ayushpahwa ayushpahwa marked this pull request as ready for review May 2, 2024 07:47
@ayushpahwa ayushpahwa added ok-to-test Required label for CI and removed ok-to-test Required label for CI labels May 2, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

app/client/src/ce/utils/actionExecutionUtils.ts Outdated Show resolved Hide resolved
app/client/src/ce/utils/actionExecutionUtils.ts Outdated Show resolved Hide resolved
@ayushpahwa ayushpahwa removed the ok-to-test Required label for CI label May 2, 2024
@ayushpahwa ayushpahwa added the ok-to-test Required label for CI label May 2, 2024
@@ -0,0 +1,3 @@
export default function JSRemoteExecutionView({}: any) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you have missed the CE version of this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated, please check

@ayushpahwa ayushpahwa added ok-to-test Required label for CI and removed ok-to-test Required label for CI labels May 3, 2024
ankitakinger
ankitakinger previously approved these changes May 3, 2024
Copy link
Contributor

@ankitakinger ankitakinger left a comment

Choose a reason for hiding this comment

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

LGTM

@ayushpahwa ayushpahwa added ok-to-test Required label for CI and removed ok-to-test Required label for CI labels May 3, 2024
@ayushpahwa ayushpahwa merged commit 9d25456 into release May 4, 2024
42 checks passed
@ayushpahwa ayushpahwa deleted the feat/storage-for-action-test-payload branch May 4, 2024 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request ok-to-test Required label for CI Task A simple Todo Workflows Pod For all issues related to the Workflows feature Workflows
Projects
None yet
3 participants