dosubot[bot] commented on issue #30866: URL: https://github.com/apache/superset/issues/30866#issuecomment-2569132871
<!-- Answer --> If you're still encountering issues with the feature flags not being applied correctly, here are a few things to check: 1. **Configuration in `superset_config.py`:** Ensure that the `FEATURE_FLAGS` dictionary in your `superset_config.py` file correctly sets `ENABLE_DASHBOARD_SCREENSHOT_ENDPOINTS` and `ENABLE_DASHBOARD_DOWNLOAD_WEBDRIVER_SCREENSHOT` to `False`. This should override the default settings <sup>[[1]](https://github.com/apache/superset/blob/master/superset/config.py)</sup>. 2. **Environment Variables:** Check if there are any environment variables prefixed with `SUPERSET_FEATURE_` that might be overriding your configuration. These can affect the feature flags if set incorrectly. 3. **Custom Functions:** If you have custom functions like `GET_FEATURE_FLAGS_FUNC` or `IS_FEATURE_ENABLED_FUNC`, verify that they are not altering the feature flags unexpectedly. 4. **Frontend Initialization:** Ensure that the frontend is correctly initializing the feature flags. If `uiCore.initFeatureFlags()` is not called or is called with incorrect values, the feature flags might not be set as expected in the frontend environment <sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/test/utils/featureFlag.test.ts)</sup>. 5. **Merging Logic:** Double-check the merging logic between `DEFAULT_FEATURE_FLAGS` and `FEATURE_FLAGS` to ensure it is functioning as intended. If these steps don't resolve the issue, it might be helpful to review the logs for any errors or exceptions that could indicate why the feature flags are not being applied. A maintainer has already been looped in. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/453c3d5e-d6ef-44de-bab9-c6638c6b8908?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/453c3d5e-d6ef-44de-bab9-c6638c6b8908?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/453c3d5e-d6ef-44de-bab9-c6638c6b8908?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/453c3d5e-d6ef-44de-bab9-c6638c6b8908?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/453c3d5e-d6ef-44de-bab9-c6638c6b8908?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/453c3d5e-d6ef-44de-bab9-c6638c6b8908?feedback_type=other)</sup> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
