PromucFlow_constructor/app/server
sneha122 4f6b1e627b
fix: disallows page load to automatic transition in run behaviour for older actions (#40755)
## Description
This PR updates run behaviour logic so that it does not transition from
page load to automatic for older actions. This allows users to be
intentional about their choice to be automatic with older actions.

Fixes #40752   
_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/15271052226>
> Commit: 1aaa57506bd227d3e78eebce2919911a8ec54c43
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15271052226&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 27 May 2025 09:39:01 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

- **Tests**
- Added a new test to verify that executables with "ON_PAGE_LOAD" run
behavior are not incorrectly updated when a specific feature flag is
enabled.

- **Refactor**
- Simplified internal logic for checking run behavior, making the code
more concise without changing functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-05-27 15:24:30 +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 feat: backend changes for updating run behaviour to automatic (#40671) 2025-05-21 13:31:17 +05:30
appsmith-plugins chore: added automatic option to run behaviour behind feature flag (#40608) 2025-05-16 16:29:31 +05:30
appsmith-server fix: disallows page load to automatic transition in run behaviour for older actions (#40755) 2025-05-27 15:24:30 +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 test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
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.