From 3d67678c206756319ce0ac088c06e91058e5fb43 Mon Sep 17 00:00:00 2001 From: zhx Date: Thu, 4 Jun 2026 21:26:50 +0800 Subject: [PATCH] Include statistics service in testbox controls --- deploy/server.mjs | 2 +- deploy/tencent_tat/hyapp_testbox_config.py | 1 + src/pages/test-services/TestServicesPage.tsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/server.mjs b/deploy/server.mjs index e9ae55c..686b461 100644 --- a/deploy/server.mjs +++ b/deploy/server.mjs @@ -18,7 +18,7 @@ const hyappTestbox = { }; const hyappTestboxConfigServices = process.env.HYAPP_TESTBOX_CONFIG_SERVICES || - "gateway-service,room-service,wallet-service,user-service,activity-service,cron-service,game-service,notice-service,admin-server"; + "gateway-service,room-service,wallet-service,user-service,activity-service,cron-service,game-service,notice-service,statistics-service,admin-server"; const platformInventoryPath = resolve( process.env.DEPLOY_PLATFORM_INVENTORY || join(deployDir, "tencent_tat", "inventory.prod.example.json"), ); diff --git a/deploy/tencent_tat/hyapp_testbox_config.py b/deploy/tencent_tat/hyapp_testbox_config.py index b0f0852..92513cf 100755 --- a/deploy/tencent_tat/hyapp_testbox_config.py +++ b/deploy/tencent_tat/hyapp_testbox_config.py @@ -24,6 +24,7 @@ DEFAULT_SERVICES = ( "cron-service", "game-service", "notice-service", + "statistics-service", "admin-server", ) SERVICE_NAME_RE = re.compile(r"^[a-z0-9][a-z0-9-]*$") diff --git a/src/pages/test-services/TestServicesPage.tsx b/src/pages/test-services/TestServicesPage.tsx index 03a1b57..bf553d5 100644 --- a/src/pages/test-services/TestServicesPage.tsx +++ b/src/pages/test-services/TestServicesPage.tsx @@ -44,6 +44,7 @@ const TESTBOX_SERVICES = [ "cron-service", "game-service", "notice-service", + "statistics-service", "admin-server", ] as const;