dashboard test runner . backend

This commit is contained in:
Dobromir Popov
2026-07-11 16:11:42 +03:00
parent bb561a9665
commit f99237b4e6
11 changed files with 931 additions and 8 deletions

View File

@@ -363,7 +363,10 @@ def main() -> None:
common.add_argument(
"--enable-test-runner",
action="store_true",
help="Enable development test-runner hooks for this tracker",
help=(
"Enable the admin-only dashboard test runner API "
"(disabled by default; also honors MESHNET_ENABLE_TEST_RUNNER=1)"
),
)
common.add_argument(
"--no-file-logs",
@@ -442,6 +445,7 @@ def main() -> None:
hf_pricing_refresh_interval=args.hf_pricing_refresh_interval,
models_dir=args.models_dir,
routing_config=_routing_config_from_args(args),
enable_test_runner=args.enable_test_runner,
)
port = server.start()
print(f"meshnet-tracker listening on http://{args.host}:{port}", flush=True)