Make model-watch keyless, and fix the three things it found - #9
Merged
Conversation
Reads Google\x27s published model list instead of the v1beta endpoint. A watchdog on a public repository must not depend on anyone attaching a billable API key to it. A deprecated default is now reported rather than failed. Failing on something we already know about leaves the job permanently red, and a permanently red scheduled job is wallpaper: the next real failure gets ignored with it. Failing only on the unacknowledged case makes it self-clearing. It found three real problems on its first real run: - MODEL_3_PRO_IMAGE was gemini-3-pro-image-preview, shut down 25 June when it graduated. It is the default for image editing, so that was broken too. - MODEL_VEO_3_1_FAST does not exist. I added it an hour ago; Google publishes a lite variant, not a fast one. Removed rather than deprecated: an ID that was never real cannot have callers. - gemini-1.5-pro and -flash are retired and were unmarked.
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.
Two corrections to the workflow I merged, both fair hits.
No API key. It now reads Google's published model list (plain text, HTTP 200, no credential) rather than the
v1betaendpoint. A watchdog on a public repository must not require a billable key.No permanent red. A deprecated-but-still-default constant is now reported, not failed. We already know about Imagen; failing on it would leave the job red until 17 August, and a permanently red scheduled job is wallpaper that hides the next real failure. It now fails only on the unacknowledged case, which makes it self-clearing: mark the constant
@deprecatedand it goes green.It found three real problems on its first real run
MODEL_3_PRO_IMAGEwas a fourth dead default.gemini-3-pro-image-previewwas shut down on 25 June when it graduated togemini-3-pro-image. It is the default for image editing, so that path was broken as well.MODEL_VEO_3_1_FASTdoes not exist. I added it in v0.15.2 an hour ago. Google publishesveo-3.1-lite-generate-preview, not a fast variant. Corrected toMODEL_VEO_3_1_LITE, and removed rather than deprecated, because an ID that was never real cannot have callers.gemini-1.5-proandgemini-1.5-flashare retired and were unmarked.The watchdog now exits clean.