From 30b26ee9d074ab6f0940f4473a2d6a3679973507 Mon Sep 17 00:00:00 2001 From: Liangsheng Yin Date: Wed, 5 Nov 2025 01:15:01 +0800 Subject: [PATCH] Add io struct naming check back (#12634) --- python/sglang/srt/managers/io_struct.py | 3 +++ test/srt/run_suite.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/python/sglang/srt/managers/io_struct.py b/python/sglang/srt/managers/io_struct.py index b30c9216f..2908b05bf 100644 --- a/python/sglang/srt/managers/io_struct.py +++ b/python/sglang/srt/managers/io_struct.py @@ -1517,3 +1517,6 @@ def _check_all_req_types(): raise ValueError( f"{name} is a subclass of BaseReq but not follow the naming convention." ) + + +_check_all_req_types() diff --git a/test/srt/run_suite.py b/test/srt/run_suite.py index a26328ce9..1aa100e53 100644 --- a/test/srt/run_suite.py +++ b/test/srt/run_suite.py @@ -108,7 +108,6 @@ suites = { TestFile("test_radix_attention.py", 105), TestFile("test_radix_cache_unit.py", 5), TestFile("test_reasoning_parser.py", 5), - TestFile("test_regex_constrained.py", 64), TestFile("test_request_queue_validation.py", 30), TestFile("test_retract_decode.py", 450), TestFile("test_score_api.py", 310),