Skip to content

DX-119909: support runtime reload of mutable MCP settings#110

Draft
aniket-s-kulkarni wants to merge 4 commits into
mainfrom
DX-119909-runtime-reload-mutable-mcp-settings
Draft

DX-119909: support runtime reload of mutable MCP settings#110
aniket-s-kulkarni wants to merge 4 commits into
mainfrom
DX-119909-runtime-reload-mutable-mcp-settings

Conversation

@aniket-s-kulkarni
Copy link
Copy Markdown
Contributor

Summary

  • add runtime-mutable metadata and safe reload logic for approved MCP settings
  • split settings storage into process-wide base settings plus request-scoped overrides
  • preserve LaunchDarkly precedence by switching runtime mutable reads to .get(...)
  • broaden the MCP refresh loop to reload settings before reevaluating log_level
  • add focused regression coverage for reload, override isolation, and mutable subtree materialization

Test Plan

  • uv run pytest tests/config/test_settings.py tests/config/test_launchdarkly_integration.py tests/api/test_transport_retry.py tests/api/dremio/test_sql.py tests/servers/test_mcp.py tests/test_fastmcp_basic.py tests/test_simple_fastmcp_server.py tests/tools/test_tools.py tests/tools/test_output_validation.py -q

Jira

Reviewer Verdict

  • Override accepted for the deployment-specific assumption that runtime config entries are not removed after startup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant