Repository navigation
perf(config): check roadmap.decisions against a light point table - #4611
Conversation
The settings validator of roadmap.decisions imported the decision registry, and the registry imports point modules that import pydantic_ai. A light command with the key set imported 1403 modules in place of 816. The validator now checks the keys and modes against POINT_CUTS of devops_cli.roadmap.decision_table, which imports no point module. A test keeps the table equal to REGISTRY. Registry.check goes, because no caller is left. The startup-imports row gets a probe that loads a config file with roadmap.decisions set and fails when pydantic_ai loads.
Measurements
The one more module is Fail to passThe new probe of the On this branch the probe gives no problem, and
Other checks
Live stepsNone. The ConfigMap does not change. The runner, Service and MCP server images get the light check when the release moves their digests. |
92ad72a to
31c4b0c
Compare
|
Update: commit 34c6f45 also deletes |
With
roadmap.decisionsset, the settings validator imported the decision registry, whose point modules importpydantic_ai. Thusdevops config get ai.providerimported 1403 modules in place of 816, and the runner Jobs, the Service and the MCP server paid this at each start.The validator now checks the keys and the modes against
POINT_CUTSof the new moduledevops_cli.roadmap.decision_table, which imports no point module. A test keeps the table equal toREGISTRY.Registry.checkandDecisionPoint.fittedgo, because no caller is left. The error messages do not change.The
startup-importsrow gets a probe that loads a config file withroadmap.decisionsset and fails when the load importspydantic_ai.Closes #4501
Change:
openspec/changes/archive/2026-11-11-4501-roadmap-decisions-imports-pydantic-ai-at/