Repository navigation
Conversation
fix(config): validate plugin toolsets after discovery
|
780fe7f to
0e7c3e8
Compare
0e7c3e8 to
7c47675
Compare
2310b3a to
6d2039a
Compare
|
Independent confirmation of the cold-registry bug addressed here. An enabled custom plugin toolset was reported as unknown during configuration validation even though In a fresh process, I independently tested a minimal local fix that calls the existing idempotent
These results validate the root cause and discovery-before-validation approach, not this PR exact head; I have not run this PR branch or completed the full repository suite. The retry-on-warning and discovery-failure handling here are more complete than my minimal local patch. Posting the evidence here instead of opening a duplicate PR. |
6d2039a to
a7511e8
Compare
a7511e8 to
a5faa8c
Compare
Config migration should recognize a toolset contributed by an enabled plugin before warning that the saved selection is invalid. Upstream commit
361dc5cf69fb9b2677e8b2c1e1ac95a92e40cfd1now provides the runtime behavior, so this rebased PR retains only regression coverage for #86231.The test creates a real temporary plugin through
ctx.register_tool, runs migration against its saved toolset selection, and verifies that the plugin name is accepted while an unrelated unknown name still produces a warning. It lives in a dedicated test module to respect the current code-health file limit.Validation on Python 3.14.7: the four config, plugin-validation, toolset-validation and doctor modules pass (257 passed, 4 platform skips);
python scripts/checkpasses all 11 checks. Rebased ontodce1e9b37581dd62e480a9064dc04a709c2940d3.