Skip to content

Add a scheduled model-watch check - #8

Merged
MarcelloDuarte merged 1 commit into
mainfrom
model-watch
Jul 31, 2026
Merged

Add a scheduled model-watch check#8
MarcelloDuarte merged 1 commit into
mainfrom
model-watch

Conversation

@MarcelloDuarte

Copy link
Copy Markdown
Contributor

Three separate audits have now found the same bug in a different place: a model ID written down once, retired by the provider, noticed by us much later.

  • The chat default gemini-3-pro-preview was shut down 9 March and found in July.
  • startVideo() defaulted to veo-3.0, dead since 30 June.
  • generateImage() defaulted to Imagen, which dies 17 August.

This asks Google weekly what it actually serves, and fails when either:

  1. a model ID we ship is no longer listed and is not marked @deprecated, or
  2. a deprecated constant is still wired up as a default, which is a scheduled outage for every caller who passes no model.

On failure it opens one issue, and will not open another while that one is open.

It lives outside the test suite on purpose: it makes a network call, so it must never be able to fail a PR. An unreachable endpoint or an empty list exits clean, because our own connectivity problem is not evidence of a retirement.

It will fail on its first run, correctly: IMAGEN_4_FAST is deprecated and still the image default. That is the real 17-day deadline, and an issue tracking it is the point.

Every model ID here is a string written down once that the provider can retire
underneath us, and that has now happened three times unnoticed: the chat
default was shut down in March and found in July, the video default had been
dead a month, and the image default had seventeen days left.

Weekly, this asks the provider what it currently serves and fails when a live
ID has gone or when a deprecated one is still serving as a default. On failure
it opens a single issue rather than one per week.

Deliberately outside the test suite: it talks to the network, so it must never
be able to fail a pull request. An unreachable provider exits clean rather than
being reported as a mass retirement.
@MarcelloDuarte
MarcelloDuarte merged commit 77cb7ea into main Jul 31, 2026
6 checks passed
@MarcelloDuarte
MarcelloDuarte deleted the model-watch branch July 31, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant