chore: Update instance variables via organization config update#39856
chore: Update instance variables via organization config update#39856
Conversation
WalkthroughThe changes adjust how organization configuration values are handled. Key fields in the configuration class are now marked as transient to avoid persistence, and the boolean getter for email verification has been replaced with a standard getter. New helper methods have been added to manage instance variables, and method signatures for updating these variables have been updated from a JSONObject to a Map. Minor logic improvements in null handling and operation sequencing have also been introduced in both service and test classes. Changes
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 (5)
🪧 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
|
Failed server tests
|
…mithorg#39856) ## Description Changes made in this PR are temporary and will be removed once we have seperate API to fetch instance config. This is just to enable the skipped tests [theappsmith.slack.com/archives/C0134BAVDB4/p1742273278029189](https://theappsmith.slack.com/archives/C0134BAVDB4/p1742273278029189). Fixes #`Issue Number` _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ /test Settings ### 🔍 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/13991283921> > Commit: 648757f > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13991283921&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Settings` > Spec: > <hr>Fri, 21 Mar 2025 12:22:32 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 - **New Features** - Enhanced organization settings management with streamlined instance variable updates. - **Bug Fixes** - Improved email verification handling to ensure robust, null-safe behavior. - **Refactor** - Optimized workflows for updating organization configurations for more immediate and consistent updates. - **Tests** - Updated test routines to validate the refined configuration and email verification processes. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Description
Changes made in this PR are temporary and will be removed once we have seperate API to fetch instance config. This is just to enable the skipped tests theappsmith.slack.com/archives/C0134BAVDB4/p1742273278029189.
Fixes #
Issue Numberor
Fixes
Issue URLWarning
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.
/test Settings
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/13991283921
Commit: 648757f
Cypress dashboard.
Tags:
@tag.SettingsSpec:
Fri, 21 Mar 2025 12:22:32 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit