-
Notifications
You must be signed in to change notification settings - Fork 4.2k
fix: Adding an additional check to show correct cyclic dependency errors in the Reactive flow #41090
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
Conversation
…o fix/reactive-cyclic-dependencies
WalkthroughThe change updates Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant DependencyMapUtils
Caller->>DependencyMapUtils: detectReactiveDependencyMisuse(node, configTree)
DependencyMapUtils->>DependencyMapUtils: getAllTransitiveDependencies(node, configTree)
DependencyMapUtils->>DependencyMapUtils: Filter dependencies by configTree and entity type
DependencyMapUtils->>DependencyMapUtils: Check for trigger and data paths
DependencyMapUtils->>DependencyMapUtils: Compare entity names of paths
alt Same entity for trigger and data
DependencyMapUtils-->>Caller: Throw misuse error
else
DependencyMapUtils-->>Caller: No error
end
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
…o fix/reactive-cyclic-dependencies
/build-deploy-preview skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/16125536298. |
Deploy-Preview-URL: https://ce-41090.dp.appsmith.com |
Description
Adding an additional check to show correct cyclic dependency errors in the Reactive flow
Fixes #41070
Automation
/ok-to-test tags="@tag.All"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/16123657082
Commit: 278e7c4
Cypress dashboard.
Tags:
@tag.All
Spec:
Mon, 07 Jul 2025 18:39:20 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit