• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / mcp / 33527491243
96%

Build:
DEFAULT BRANCH: main
Ran 01 Sep 2026 03:45PM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Sep 2026 03:43PM UTC coverage: 96.592% (+0.07%) from 96.52%
33527491243

push

github

web-flow
feat: group lints in `get_advisors` response (#390)

## Problem

`get_advisors` returns a list with one object per finding, each carrying
the same keys. The [lint
SQL](https://github.com/supabase/supabase/blob/<a class=hub.com/supabase/mcp/commit/d5ee11bea0cba0149d16715aabb088d03c10be36">d5ee11bea<a href="https://github.com/supabase/mcp/commit/48d593adeb0401e547caee4cdca5258cd7410ab1">/packages/pg-meta/src/sql/studio/advisor/lints.ts)
emits `title`, `description` and `remediation` as literals on each row,
so 300 instances of the same lint means those same three strings 300
times.

See diagnosis
[thread](https://supabase.slack.com/archives/C051L8U2EJF/p1787774307978489)
with
[metrics](https://supabase.slack.com/archives/C051L8U2EJF/p1787777939555179?thread_ts=1787774307.978489&amp;cid=C051L8U2EJF)
demonstrating that is is the longest tail context hog in studio&#39;s AI
Assistant.

## Fix

Groups findings by lint.

- Findings only merge when all seven [shared
fields](https://github.com/supabase/mcp/pull/390/changes#diff-<a class="double-link" href="https://github.com/supabase/mcp/commit/38cc0dc8b54f71f78652c17cbd5d29002718be0c">38cc0dc8b</a>4f3b0493e36f448f428e2b3eR132-R140)
match
- Merged findings appear as a `findings` list on the `lints` entry, with
convenience `count`
- Drops `cache_key`, which primarily exists for [the dashboard
UI](https://github.com/supabase/supabase/blob/d5ee11bea0cba0149d16715aabb088d03c10be36/apps/studio/pages/project/%5Bref%5D/advisors/security.tsx#L64)

**Before**

```jsonc
{ "lints": [
  { "name": "lint_a", "title": "…", "level": "WARN", "facing": "…", "categories": ["…"], "description": "…", "remediation": "…",
    "detail": "… object_1 …", "metadata": { "name": "object_1" }, "cache_key": "…" },
  { "name": "lint_a", "title": "…", "level": "WARN", "facing": "…", "categories": ["…"], "description": "…", "remediation": "…",
    "detail": "… object_2 …", "metadata": { "name": "object_2" }, "cache_key": "…" },
  { "name": "lint_a", "title": "…", "level": "WARN", "facing": "…", "categories": ["…"], "description": "…", "remediation": "…",
    "detail": "… object_3 …", "metadata": { "name": "object_3" }, "cache_key": "…" },
  { "name": "lint_a", "title":... (continued)

371 of 405 branches covered (91.6%)

Branch coverage included in aggregate %.

52 of 52 new or added lines in 1 file covered. (100.0%)

3002 of 3087 relevant lines covered (97.25%)

50.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33527491243.1 01 Sep 2026 03:45PM UTC 33
96.59
GitHub Action Run
Source Files on build 33527491243
  • Tree
  • List 33
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33527491243
  • 48d593ad on github
  • Prev Build on main (#33520556873)
  • Next Build on main (#33669055202)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc