-
[OPIK-7192] [BE][FE] refactor: gate Agent Insights behind the Ollie toggle (#7397)
发布于
2026-07-27 10:08:41 +00:00 Remove the standalone Agent Insights feature toggle and gate the feature
solely on the existing Ollie toggle, so a single switch enables/disables it.- FE: drop AGENT_INSIGHTS_ENABLED from the toggle enum/defaults; the
Diagnostics menu item and Signals page now gate on ollieEnabled only. - BE: remove agentInsightsEnabled from ServiceTogglesConfig and repoint all
gate sites (freeform-SQL endpoint, report publisher/subscriber, cron job
setup, readonly-freeform-sql health check) to isOllieEnabled(). - Deployment/dev: TOGGLE_AGENT_INSIGHTS_ENABLED -> TOGGLE_OLLIE_ENABLED in
docker-compose, dev-runner, the readonly-user provisioning script and the
ClickHouse config comment. - Regenerate the OpenAPI specs and TypeScript rest_api types without the field.
Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com
下载附件
- FE: drop AGENT_INSIGHTS_ENABLED from the toggle enum/defaults; the