Commit d04001a
fix(tests): validate provider types exist in backward compat test
The backward compatibility test previously only validated YAML schema
structure but did not verify that referenced provider types actually
exist in the registry. This would have allowed breaking changes like
renaming "meta-reference" to "builtin" (236a230) to pass without
detection(although the PR was correctly marked as a breaking change).
This commit enhances the test to use `validate_and_prepare_providers()`,
the same validation function the stack uses at runtime, which now checks:
- Provider types exist in registry
- No conflicts with auto-routed APIs
- Provider deprecation warnings/errors
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Derek Higgins <derekh@redhat.com>1 parent 839b48a commit d04001a
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
0 commit comments