Tests: loopback.py is the one allowed opener for this computer's own servers

This commit is contained in:
Niko1221 committed 2026-10-20 14:34:20 +02:00
1 parent c7c0e37bc4
commit 0c79d7db94
1 file changed
+1
+1
View File
@@ -46,6 +46,7 @@ NETWORK_ALLOWED = {
("serve/mcp.py", "urlopen"): "the MCP servers the user configured, at request time",
("strata_control/tune_api.py", "urlopen"): "the loopback engine/server of a tuning job the user started",
("strata_control/tune_session.py", "urlopen"): "the loopback engine (127.0.0.1) the auto-tuner a user started measures",
("strata_control/loopback.py", "urlopen"): "the one opener for this computer's own servers (no proxy); any other address is passed on unchanged",
("strata_control/components.py", "urlopen"): "the component fetcher: only `strata install`/UPDATE call it",
}
#: Modules that import the installer on purpose, with the explicit command that reaches them.