[CI] Tolerate UC/gateway model-catalog lag in Claude discovery test - #804
Closed
sunishsheth2009 wants to merge 1 commit into
Closed
sunishsheth2009 wants to merge 1 commit into
sunishsheth2009 wants to merge 1 commit into
Conversation
…atalog lag `test_case_07/09` asserted every ug-cached family default (newest per family from UC model-services) is a strict subset of Claude Code's own gateway-model picker cache. UC model-services can list a just-released model (e.g. a new opus tier) before Claude Code's gateway discovery surfaces it, so the strict subset fails on `main` even though discovery is working. Require the cached defaults to be well-formed `system.ai.claude-*` ids that overlap Claude Code's catalog instead.
Collaborator
Author
|
Recombining into #801: the two fixes must ship together — the test fix alone still fails CI on the Claude version error (2.1.268), and the version bump alone still fails on the opus-5-5 discovery assertion, so neither is green independently. Since the version pin lives only in the owned .github workflow, splitting didn't remove the CODEOWNERS requirement anyway. #801 carries both. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes the Claude system-model discovery integration test tolerant of a UC-vs-gateway model-catalog lag that is currently failing
main'se2egate (unrelated to any feature change).test_ug_claude_model_discovery.py::test_case_07/09asserted that every ug-cached family default — the newestsystem.ai.claude-*per family, discovered from UC model-services — is a strict subset of Claude Code's own gateway-model picker cache. UC model-services can list a just-released model (e.g. a new opus tier such asclaude-opus-5-5) before Claude Code's gateway discovery surfaces it in the picker cache, so the strict subset fails even though discovery is working.The assertion now requires the cached defaults to be well-formed
system.ai.claude-*ids that overlap Claude Code's catalog, rather than a strict subset of a catalog that can legitimately lag. Same spirit as #797 (tolerating transiently-incompatible models). Touches only the test; no product-code or workflow changes.Testing
ruff check/ruff format --checkclean; syntax validated. The live integration run exercises the assertion (this branch is on the main repo, so the integration suite runs).This pull request and its description were written by Isaac.