DeprecationRadar flagged 24 deprecated model ids and endpoints in a 9-file fixture repo
A CI check that matches hard-coded Gemini, Anthropic and OpenAI model ids and legacy Google Maps endpoints against a 241-row table quoted from 10 official vendor pages.
By David Discua
Measured in the lab
- 24
- findings in the fixture repo
- 241
- table entries
- 10
- official pages quoted
- 250/250
- quotes found live, in order
- 258 of 258 table quote parts found in the committed quote set (offline)
- Live refresh found 250 of 250 quotes on 10 of 10 pages
- deep-research-pro-preview-12-2025 flagged 2 days before shutdown
- Exit code 1 with --fail-on error
- SARIF output with 24 results across 22 rules
From reports/summary.json · run on October 21, 2026. fixture scan as of the table's fetch date; offline quote check keyless; live page refresh needs network, no keys
How it is wired
01/03Ten official vendor pages feed a table of quoted dates.
Client repos hard-code model ids and Google API endpoints, and vendors then auto-route those ids to another model, shut them down, or move the API to Legacy status. DeprecationRadar greps a repo for those strings and answers with the vendor's own words: the id, the line, the quote from the official page, the date on that page and the days left. On our 9-file fixture repo it found 24 deprecated ids and endpoints as of October 21, 2026, four of them two days from shutdown. The catch is that the table is only as current as its last refresh.
The catch
Every row in data/deprecations.yaml carries the source URL, the fetch date, a verbatim quote and the date exactly as the page prints it, and the loader rejects any row whose date is not inside its own quote. That keeps the table honest on the day it was fetched. Vendors keep publishing, so you need to run refresh on a schedule (the reusable workflow does it weekly) and edit rows by hand when a quote disappears. The tool never rewrites a row from a page.
Some dates are softer than they look. The Gemini deprecations page calls its shutdown dates "the earliest possible dates", so those rows say "earliest shutdown". Matching is text-based, so an id built at runtime from string pieces or an env var is missed. Only first-party APIs are covered, and Bedrock-style anthropic.claude-* ids are skipped on purpose because partner platforms publish their own dates. The optional Gemini-written migration note was not run live in this lab, so the run used the template note. The reusable workflow has not run on GitHub yet.
What we ran (keyless)
bun install --frozen-lockfile
bun run src/cli.ts scan fixtures/mixed-repo --today 2026-10-21 --md radar.md
bun run src/cli.ts refresh --offline
bun run report
From reports/summary.json, run on October 21, 2026:
| Measure | Value |
|---|---|
| Table entries (Gemini / Anthropic / OpenAI / Google Maps) | 241 (63 / 21 / 142 / 15) |
| Table quote parts found offline | 258/258 |
| Fixture files scanned | 9 |
| Findings (error / warning / note) | 24 (12 / 4 / 8) |
| SARIF results / rules | 24 / 22 |
Exit code with --fail-on error | 1 |
Days to shutdown: deep-research-pro-preview-12-2025 | 2 |
Days to shutdown: claude-sonnet-4-5-20250929 | 40 |
Days to shutdown: gpt-4o-2024-08-06 | 85 |
| Scan time | 10 ms |
The live refresh on the same day fetched 10 of 10 pages, found 250 of 250 committed excerpts in order, and turned up 0 dated rows the table does not track. That step needs network access and no keys. In the fixture scan, gemini-3.7-flash came back as a warning because the Gemini release notes say requests to it are auto-routed to gemini-3.8-flash since October 8, 2026. Legacy Places and Distance Matrix URLs came back as notes, since Google gives them a Legacy date of March 1, 2025 and no shutdown date.
How it is wired
Literal ids match on token boundaries, so gpt-4 never matches gpt-4.1, and short ids like o1 only count inside a string literal. Endpoints and SDK calls use regexes. Severity follows the days left: past or within 30 days is an error, within 90 is a warning, later is a note. Output is SARIF for code scanning, Markdown for the job summary and JSON, and the exit code follows --fail-on.
Minilab (open source)
DeprecationRadar has no upstream project. Its table quotes short excerpts from 10 official pages by Google, Anthropic and OpenAI, listed with their URLs in sources/quotes.json. Point scan at your own repo, run refresh before you trust a date, and compare your counts with reports/summary.json.
Run it yourself
SkilledDragonCorp/deprecationradar
Clone, install and run the report with no API keys. The numbers above are what that run writes.
bun install --frozen-lockfile && bun run src/cli.ts scan fixtures/mixed-repo --today 2026-10-21 --md radar.mdSkilledDragon is not affiliated with Google, Anthropic or OpenAI. Dates come from the vendors' own pages as fetched on October 21, 2026; re-run the refresh before relying on them. Marks belong to their owners.
All labs