-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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:prevent execution of js function when jscollection is saving #13592
fix:prevent execution of js function when jscollection is saving #13592
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Unable to find test scripts. Please add necessary tests to the PR. |
e002d74
to
264e564
Compare
Unable to find test scripts. Please add necessary tests to the PR. |
3 similar comments
Unable to find test scripts. Please add necessary tests to the PR. |
Unable to find test scripts. Please add necessary tests to the PR. |
Unable to find test scripts. Please add necessary tests to the PR. |
/ok-to-test sha=264e564 |
Unable to find test scripts. Please add necessary tests to the PR. |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2312408113. |
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2312408113. Click to view performance test results
|
1 similar comment
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2312408113. Click to view performance test results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any unit or cypress tests around this?
@eco-monk I have added unit tests. Because of the nature of the issue, cypress tests can't be used here. Manually, testing this requires throttling the internet speed. |
264e564
to
f99ace7
Compare
Unable to find test scripts. Please add necessary tests to the PR. |
1 similar comment
Unable to find test scripts. Please add necessary tests to the PR. |
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2323625717. Click to view performance test results
|
1 similar comment
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2323625717. Click to view performance test results
|
Unable to find test scripts. Please add necessary tests to the PR. |
5 similar comments
Unable to find test scripts. Please add necessary tests to the PR. |
Unable to find test scripts. Please add necessary tests to the PR. |
Unable to find test scripts. Please add necessary tests to the PR. |
Unable to find test scripts. Please add necessary tests to the PR. |
Unable to find test scripts. Please add necessary tests to the PR. |
f99ace7
to
c3689dd
Compare
/ok-to-test sha=c3689dd |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2351585665. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge conflicts resolved.
Unable to find test scripts. Please add necessary tests to the PR. |
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2351585665. Click to view performance test results
|
1 similar comment
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2351585665. Click to view performance test results
|
Description
This PR prevents execution of JS functions with stale values. execution only starts after editors values are saved.
While still saving
After saving
Fixes #13512
Fixes #13960
Type of change
How Has This Been Tested?
Unit tests
getJSResponseViewState
Manual
Tested by throttling the internet speed and ensuring that recent values are used for execution even when application is still in the saving state when execution is triggered.
Checklist:
Test coverage results 🧪
🟢 Total coverage has increased