config: stop handing the record to code that does not read it (#36252)

This commit is contained in:
Cheng Wan
2026-08-26 05:02:17 -07:00
committed by GitHub
parent d7b144f64e
commit ae5feb4b9c
60 changed files with 168 additions and 280 deletions
@@ -209,8 +209,7 @@ class TestStartupWeightLoadSelector(CustomTestCase):
# The parallel sizes come from the bags, so the config has to be published.
publish(server_args, role="test")
self.addCleanup(reset_context)
options = StartupWeightLoadOptions.from_server_args(
server_args=server_args,
options = StartupWeightLoadOptions.from_published_config(
is_draft_worker=False,
)