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: setting up linter engine after consolidated API is finished #33049
fix: setting up linter engine after consolidated API is finished #33049
Conversation
WalkthroughWalkthroughThe changes in the codebase streamline the initialization process by adjusting the order of function calls in Changes
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (2)
Files skipped from review as they are similar to previous changes (1)
Additional comments not posted (1)
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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
3d5435c
to
ea289b8
Compare
Description
windowMessageListener is throwing linting error saying
windowMessageListener is not defined
because it is missing from global data which gets created as part of linter.windowMessageListener is added based on
license_message_listener_enabled
feature flag. consolidated API sends all feature flags and as we are setting up linter engine before consolidated api is finished, it takes default value of feature flag from redux store. We don't update these feature flag values again leaving linter to have stale values ielicense_message_listener_enabled: false
.this fix ensures that linter set up is called after consolidated api is finished to get updated values for feature flags
Fixes # #32126
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/8908838242
Commit: c4cd0d6
Cypress dashboard url: Click here!
Communication
Should the DevRel and Marketing teams inform users about this change?