config: publishing is the process entry's job (#36251)

This commit is contained in:
Cheng Wan
2026-08-26 04:58:41 -07:00
committed by GitHub
parent 702de26310
commit d7b144f64e
21 changed files with 209 additions and 108 deletions
@@ -292,7 +292,7 @@ class TestServerInfoControlPlaneUpdates(CustomTestCase):
tokenizer_manager.record_config_updates("test", weight_version="v2")
self.assertEqual(tokenizer_manager.config_value("weight_version"), "v2")
overlaid = tokenizer_manager.resolved_config_dict(
dataclasses.asdict(server_args)
server_args.resolved_dict()
)
self.assertEqual(overlaid["weight_version"], "v2")
finally:
@@ -313,9 +313,9 @@ class TestServerInfoExistingFieldsPreserved(CustomTestCase):
"""
def test_every_server_args_field_appears_in_response(self):
# `dataclasses.asdict(server_args)` is spread into the response;
# asserting every dataclass field surfaces is the strongest
# backward-compat guarantee that's still implementation-agnostic.
# `server_args.resolved_dict()` is spread into the response; asserting
# every dataclass field surfaces is the strongest backward-compat
# guarantee that's still implementation-agnostic.
args = ServerArgs(model_path="dummy")
info = _call_server_info_with(args)