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

supabase / mcp / 43249724899
98%

Build:
DEFAULT BRANCH: main
Ran 12 Nov 2026 03:39PM UTC
Jobs 1
Files 46
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

12 Nov 2026 03:36PM UTC coverage: 98.07%. Remained the same
43249724899

push

github

web-flow
fix: tell agents the log window, project readiness, docs query and SQL size rules up front (#542)

## What kind of change does this PR introduce?

Bug fix (tool description text only).

## What is the current behavior?

A weekly scan of server-side failed tool calls shows agents hitting
rules the tool descriptions don't state, or state wrongly. Per-day
numbers are approximate and assume a flat rate:

- **Logs:** the params say the API "caps" the range at 24h, but the
server rejects longer windows. And passing only a start silently sets
the end to now. That gives ~3,100/day "The log window can be at most 24
hours" and ~500/day "start must be before end".
- **New projects:** agents run SQL before the project is ready, which
causes ~930/day password-auth failures right after `create_project`.
- **search_docs:** agents write invalid GraphQL, ~350/day.
- **Large SQL:** ~160/day "Request body is too large" from
`apply_migration`/`execute_sql`.

## What is the new behavior?

- `query_logs`/`get_logs` say the window must be 24h or less with start
before end. They also say to pass both timestamps for a past range, and
to make one call per 24h slice for longer ranges.
- `get_project` says `ACTIVE_HEALTHY` means ready, and `create_project`
says to poll for it before using database tools.
- `search_docs` has a working example query. I validated it against the
live Content API schema (`graphql` validate, 0 errors) and ran it once
live (HTTP 200, 5 results).
- `apply_migration`/`execute_sql` say very large SQL is rejected and
should be split.

The `tools/list` contract (CONTRIBUTING) stays backward compatible. Only
descriptions and param `describe()` text change: no names, schemas,
annotations or `_meta`. I didn't add schema checks because they'd be
dropped from the JSON Schema and would change error classes.

## Additional context

To measure the effect, compare
`mcp_jsonrpc_requests_total{tool_name="query_logs",outcome="tool_error"}`
summed over all `error_class`... (continued)

1291 of 1338 branches covered (96.49%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 3 files covered. (100.0%)

6127 of 6226 relevant lines covered (98.41%)

283.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43249724899.1 12 Nov 2026 03:39PM UTC 46
98.07
GitHub Action Run
Source Files on build 43249724899
  • Tree
  • List 46
  • Changed 4
  • Source Changed 4
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43249724899
  • 23f0df0f on github
  • Prev Build on main (#43248581715)
  • Next Build on main (#43397663556)
  • 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