We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e903f88 commit ceb8537Copy full SHA for ceb8537
2 files changed
changes/10318.fix.md
@@ -0,0 +1 @@
1
+Restore `etcd` and `valkey_stat` access for webapp plugins (Cloud) after DI refactoring by injecting them into the root app context
src/ai/backend/manager/server.py
@@ -92,6 +92,8 @@ async def webapp_plugin_ctx(
92
cors_options = r.system.cors_options
93
root_app["_db"] = r.infrastructure.db
94
root_app["_config_provider"] = r.bootstrap.config_provider
95
+ root_app["_etcd"] = r.bootstrap.etcd
96
+ root_app["_valkey_stat"] = r.infrastructure.valkey.stat
97
for plugin_name, plugin_instance in plugin_ctx.plugins.items():
98
if pidx == 0:
99
log.info("Loading webapp plugin: {0}", plugin_name)
0 commit comments