Repository navigation
add the supabase plugin - #109
Conversation
Watches the Supabase Management API through the OpenAPI spec in supabase/supabase, pinned by commit since the repo tags no spec releases; an event's version is the commit's date. Uses vercel's rule, now shared as deprecationsOnly: operation deprecations, and removals of operations marked deprecated first. diff gains Options.QuoteDeprecatedOperation, so a flag deprecation can quote the operation and the reason in its description. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: brandonphelps1212 <bphelps1212@gmail.com>
|
Claude finished @brandonphelps1212's task in 1m 42s —— View job ✅ Ready to merge: the plugin follows every repo rule, the build, vet, gofmt, race tests and leak guard all pass, and I found no correctness problems. Rules
BugsNone found. What I checked:
Verified
I couldn't compare the trimmed Non-blocking (optional)
Thanks for a careful PR. The volume analysis and the known-gaps section (the |
Signed-off-by: brandonphelps1212 <bphelps1212@gmail.com>
|
@claude review |
|
Claude finished @brandonphelps1212's task in 53s —— View job ✅ Ready to merge I checked the PR against every rule in AGENTS.md and found no blocking problems. I can't run the tests from here; Rules
Blocking bugsNone. What I checked:
Non-blocking suggestions
Thanks for a careful, well-documented PR. The volume analysis, the drop test that proves its fixture still shows the removals, and the honest note about the |
What this changes
Adds the
supabaseplugin on theopenapiformat plugin. Part of #69 (I11.1 · Watch Supabase), under #14.apps/docs/spec/api_v1_openapi.jsonin supabase/supabase.versionis that commit's date, because the API has no version beyond/v1and itsinfo.versionis a fixed1.0.0.vercel, now shared asdeprecationsOnly. Path templates are matched, so a path-parameter rename isn't a change.deprecatedflag);diff/: newOptions.QuoteDeprecatedOperation. A deprecation by the flag cites the whole operation instead of the baretrue, so the reason in its description ("This endpoint is deprecated - use the deploy endpoint.") is in the excerpt. It defaults to false, so the other openapi plugins are unchanged.Checklist
docs/plugins.md: newsupabaserow with statuspaused, likevercelandcloudflare. I compared the registered plugins with the table.git commit -s, DCO)plugins/openapi/testdata/golden/supabase.json):POST /v1/projects/{ref}/functionsdeprecation (2025-02-19), run as a daily ingest;693bdc38→eb21ae25: theGET …/analytics/endpoints/logs.alldeprecation (2026-06-29).testdata/README.mdlists each file: URL, date fetched, license, quote. The copies are trimmed to the operations involved, with values unchanged. They're re-indented, because the source is Prettier-formatted, and minified before 2025.8aef4a08→90b71e3e, where 14 analytics warehouse operations left the spec without being deprecated. A second test covers the/v1/branches/{branch_id}→{branch_id_or_ref}rename.providers/supabase.mdwritten fromproviders/_template.md, including Why this sourceenv.Get/kit/: the adapter uses the shared fetch layer underadapter/, like the other openapi adapters.go build ./... && go vet ./... && gofmt -l . && go test -race ./...pass locally, and so doesscripts/leak_guard.py --all.Notes for the reviewer
401, made-up ones included, so removals can't be checked from outside. Precision over recall: they're dropped.supabase-js(2.119) andsupabase-py(2.34) haven't had a major release in years.logs.alldescription became "This endpoint has been removed and always responds with410 Gone", with the operation still in the spec. A change of words only, so the diff doesn't see it.693bdc38→eb21ae25: 12 raw changes, 1 event (thelogs.alldeprecation).cloudflare, these events are versioned by date (2026-06-29). The patch-it client needs the same rule for date-versionedapi_operationevents before this plugin goes live.🤖 Generated with Claude Code