PromucFlow_constructor/app/server
sneha122 785dfdd55a
fix: generate crud run behaviour updates (#40792)
## Description
This PR ensures reactivity aspects are enabled for generate page from
data flow as well. With these changes whenever we generate a page from
data, we need to check the reactivity feature flag:
if it's enabled, generated actions which are bound to widgets become
automatic.
If it's disabled, generated actions which are bound to widgets become
page load.


**Steps to test**
1. On the DP, sign up with any @integration-appsmith.com email domain
and generate page from data, check the select query for its run
behaviour -> It should be automatic
2. On the DP, sign up with any other email and generate page from data,
check the select query for its run behaviour -> It should be page load


Fixes #40789
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/15342086197>
> Commit: e07e20226a64406a281eb1ad6cf1277bd46186ae
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15342086197&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Fri, 30 May 2025 08:37:41 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **New Features**
- The run behavior of certain actions (SelectQuery, FindQuery,
ListFiles) when creating CRUD pages from database tables now adapts
based on a feature flag. If enabled, actions run automatically; if not,
they run on page load as before.

- **Tests**
- Added new tests to verify correct action run behavior for both enabled
and disabled feature flag scenarios.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-05-30 16:12:46 +05:30
..
.run
appsmith-git fix: eliminate concurrency bug in file deletion logic by removing side effects from parallel stream (#40744) 2025-05-23 12:34:58 +00:00
appsmith-interfaces fix: Handle burst traffic for fetching feature flags during cron job (#40808) 2025-05-30 07:28:44 +00:00
appsmith-plugins chore: added automatic option to run behaviour behind feature flag (#40608) 2025-05-16 16:29:31 +05:30
appsmith-server fix: generate crud run behaviour updates (#40792) 2025-05-30 16:12:46 +05:30
envs chore: Move signup_disabled and form_login_enabled from envs to DB (#39882) 2025-03-26 11:26:00 +05:30
mongo-seed
reactive-caching feat: Restrict cron execution for single pod in clustered environment (#39171) 2025-02-25 17:20:11 +05:30
scripts chore: Revert "chore: delete redundant files" (#35022) 2024-07-18 16:18:10 +05:30
.gitignore
build.sh
buildpack-run.sh
pom.xml chore: Added capability of running ITs on maven (#38354) 2024-12-25 02:08:49 +05:30
Procfile
README.md
system.properties

Appsmith Server

This is the server-side repository for the Appsmith framework.

For details on setting up your development machine, please refer to this Setup Guide.