Skip to content

chore: release main - #586

Merged
barryroodt merged 1 commit into
mainfrom
release-please--branches--main
Nov 26, 2026
Merged

barryroodt merged 1 commit into
mainfrom
release-please--branches--main

Conversation

@supabase-releaser

@supabase-releaser supabase-releaser Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

mcp-utils: 0.11.1

0.11.1 (2026-11-26)

Bug Fixes

  • mcp-ui: shared project card for create-project and create-branch (#578) (efe189f)
mcp-server-supabase: 0.20.0

0.20.0 (2026-11-26)

Features

  • debugging: add project issues DEBUG-311 (#546) (01f8021)
  • mcp-server-supabase: add optional schemas parameter to generate_typescript_types (#592) (7532f53)

Bug Fixes

  • debugging: link docs once per issue in get_issues (#610) (74801d8)
  • mcp-server-supabase: detect import maps uploaded with a ./ prefix (#591) (6b8f4dc)
  • mcp-server-supabase: keep a declined or cancelled SQL confirmation final (#581) (03afe8e)
  • mcp-server-supabase: match Studio's notebook row_limit and clarify skip and blank-input messages (#593) (ad07f1b)
  • mcp-server-supabase: skip cost confirmation for $0 projects on clients without forms (#608) (50cfc37)
  • mcp-server-supabase: stop reusing a removed import map on edge function redeploy (#588) (56093a6)
  • mcp-ui: shared project card for create-project and create-branch (#578) (efe189f)
  • mcp: confirm UPDATEs without WHERE that follow a comment and set a dollar-quoted value (#612) (468907a)
  • mcp: confirm UPDATEs without WHERE that use inheritance syntax (#565) (687b3ee)
  • mcp: confirm UPDATEs without WHERE when a column name ends in where (#557) (57fa34b)

This PR was generated with Release Please. See documentation.

@coveralls

coveralls commented Nov 20, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 45786700862

Coverage remained the same at 98.402%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 6717
Covered Lines: 6636
Line Coverage: 98.79%
Relevant Branches: 1480
Covered Branches: 1430
Branch Coverage: 96.62%
Branches in Coverage %: Yes
Coverage Strength: 2338.57 hits per line

💛 - Coveralls

israel2606

This comment was marked as off-topic.

@supabase-releaser
supabase-releaser Bot force-pushed the release-please--branches--main branch 9 times, most recently from 8df491f to 8914f36 Compare November 25, 2026 12:27
@supabase-releaser
supabase-releaser Bot force-pushed the release-please--branches--main branch from 8914f36 to 0857db3 Compare November 25, 2026 14:32
@Rodriguespn
Rodriguespn force-pushed the release-please--branches--main branch from 0857db3 to 58b03f6 Compare November 25, 2026 16:25
@supabase-releaser
supabase-releaser Bot force-pushed the release-please--branches--main branch from 58b03f6 to 07b09fa Compare November 26, 2026 07:57
barryroodt pushed a commit that referenced this pull request Nov 26, 2026
## What kind of change does this PR introduce?

Bug fix (response size). Follow-up to #546, as @barryroodt asked on #574
([comment](#574 (comment))).
Refs #124.

## What is the current behavior?

Every finding in `get_issues` repeats its issue's `docs_url`. In
splinter, each lint has one fixed remediation link, so these copies add
no data for splinter lints. On a project the size of the Mockamaster
capture in #546 (547 findings in 11 issues), the copies are about 22% of
the default response.

## What is the new behavior?

Findings no longer carry `docs_url`. The issue keeps its `docs_url`, so
every finding still reaches the link through its issue. Nothing else in
the output changes.

| Call | Before | After | Saved (chars / tokens) |
|---|---:|---:|---:|
| default | 62,296 chars, 15,225 tokens | 48,243 chars, 11,614 tokens |
22.6% / 23.7% |
| `severity: warning` | 43,789 chars, 10,533 tokens | 34,836 chars,
8,252 tokens | 20.4% / 21.7% |

I ran the real splinter SQL in PGlite on the supabase/evals#552 seed and
fed the lints to the real `get_issues` on `main`. Splinter also flags 41
unused indexes there, because a fresh database has no index scans. I
left those out to match 547 findings in 11 issues. With them, the
default call goes from 69,279 to 53,346 chars (23.0%). Tokens are OpenAI
`o200k_base`; I did not count Claude tokens. In every call I ran, each
removed link was equal to its issue's link, and the rest of the output
is byte-identical.

There is exactly one way this change can lose data: two findings of the
same lint with different docs links, where the second link is now gone.
I checked splinter at
[`cc529aa9`](https://github.com/supabase/splinter/blob/cc529aa9d3eeffd2e64576c7591e60b22abd205c/splinter.sql):
each of its 31 lints has one constant remediation, so this can't happen
there. I can't see the platform-only and health lints, though: can you
confirm that none of them gives two findings of one lint different
links?

## How to Review

1. **Output contract**
   - `packages/mcp-server-supabase/src/issues.ts`
- `docs_url` leaves the finding schema and the finding object. The
issue-level `docs_url` does not change. `get_issues` uses this schema as
its output schema, so `tools/list` changes too.

2. **Tests**
- `packages/mcp-server-supabase/src/server.debugging.test.ts`: a new
size test calls `get_issues` through the server harness on 547 findings
in 11 issues. The default response must stay under
`LARGE_PROJECT_ISSUES_BUDGET` (48,000 chars).
- `packages/mcp-server-supabase/src/issues.test.ts`: one #546 test gave
two findings of one issue different links. It now checks the issue's
link, and that a finding has no `docs_url`.

**Review questions**

- [ ] Is 48,000 chars a good budget? It is about 10% above today's
43,493 for this fixture, so it catches growth early. It is well under
the 25,000-token limit from #124.
- [ ] If a platform-only or health lint can give different links
(question above), should I keep `docs_url` on a finding only when it
differs from the issue's link?
- [ ] Should this land before the release in #586? Then no published
version has `docs_url` on findings.
- [ ] Do the tests check output, not implementation details?

## Verification

- With `main`'s `issues.ts`, the new size test fails with `expected
56866 to be less than 48000`. On this branch it passes at 43,493.
- `pnpm format:check`, `tsc --noEmit`, and `vitest run --project unit`:
1028/1028 passed.

## Additional context

This changes the `get_issues` output schema: `issues[].affected[]` no
longer has `docs_url`. So it is best merged before that schema goes into
a ChatGPT submission. If #586 merges first, the field is in a published
release. Then I will mark the commit as breaking, as CONTRIBUTING asks
for a contract step.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
@supabase-releaser
supabase-releaser Bot force-pushed the release-please--branches--main branch from 07b09fa to eddddf4 Compare November 26, 2026 08:51
@barryroodt
barryroodt merged commit cc2ea9c into main Nov 26, 2026
6 of 7 checks passed
@supabase-releaser

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants