Management API: take the advisors endpoints out of experimental #54375
Unanswered
martijn00
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The Management API advisor endpoints are still marked experimental:
GET /v1/projects/{ref}/advisors/securityGET /v1/projects/{ref}/advisors/performanceBoth descriptions in
https://api.supabase.com/api/v1-jsonsay: "This is an experimental endpoint. It is subject to change or removal in future versions."Meanwhile the advisors have become something tools build on:
supabase db advisors --remotecalls these two endpoints (api.v1.getSecurityAdvisorsandgetPerformanceAdvisorsinapps/cli/src/commands/db/advisors/advisors.linked.ts).Our case
We fail CI on new advisor findings against a baseline of accepted ones. Locally that runs the lints on the local stack; for a hosted branch the same check has to read these endpoints, and it depends on the response shape (
lints[].name,level,categories,cache_key,metadata), which the experimental label says can change at any time.nameis also a closed enum in the spec, so a strict client breaks on the first new lint.Ask
lints[].namean open string (or document that new values can appear).splinter_versionfield in the response, so a tool can tell a new finding from a new lint.All reactions