-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: remove dependency listening to success or failure of mock ds api for initializing app #39135
Conversation
WalkthroughThe pull request updates the loadPluginsAndDatasources method in AppEditorEngine by removing the success and error actions associated with fetching mock datasources. Instead of blocking application progress on API errors, a comment now explains that the application should continue operating even if the mock datasources API fails. No additional methods or exported entity changes have been introduced. Changes
Sequence Diagram(s)sequenceDiagram
participant Engine as AppEditorEngine
participant PluginService
participant DatasourceService as ConsolidatedAPI
Engine->>PluginService: Load plugins
Engine->>DatasourceService: Fetch datasources
DatasourceService-->>Engine: Return datasources
Engine->>Engine: Process and load datasources
Note right of Engine: Bypasses mock datasource API error handling
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (8)
🔇 Additional comments (1)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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
|
… for initializing app (appsmithorg#39135)
Description
Removing the listener to mock api error or success action to avoid breaking the apps and continue initialization process of the app. This will avoid breaking of apps if the mock datasource api is not working.
Fixes #39114
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.All"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/13199761170
Commit: 8bbb33d
Cypress dashboard.
Tags:
@tag.All
Spec:
Fri, 07 Feb 2025 14:50:20 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit