Skip to content

fix(feedback): accept null project_id and surface the feedback length limit - #521

Merged
Rodriguespn merged 1 commit into
mainfrom
Rodriguespn/ai-1429-1430-submit-feedback
Nov 5, 2026
Merged

Rodriguespn merged 1 commit into
mainfrom
Rodriguespn/ai-1429-1430-submit-feedback

Conversation

@Rodriguespn

@Rodriguespn Rodriguespn commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Fixes two submit_feedback issues from customer reports:

  • AI-1430: calling submit_feedback without project_id returned an MCP error. OpenAI strict mode sends null for optional fields it leaves out (docs), and the schema rejected null. Now submit_feedback and delete_feedback treat null as omitted. They also reject an empty project_id, which stored feedback that could never be deleted.
  • AI-1429: the 1000-character feedback limit wasn't visible to the model. It was already maxLength in the schema, but some clients drop that, so the feedback parameter and tool descriptions now state it too.

How to review

New tests in server.test.ts cover the null and empty project_id cases and the advertised limit.

Closes AI-1429, AI-1430

@Rodriguespn
Rodriguespn requested a review from a team as a code owner November 5, 2026 12:16
… limit

Treat a null project_id as omitted on submit_feedback and delete_feedback,
since OpenAI strict mode sends null for optional fields. Reject an empty
project_id, which stored feedback that delete_feedback could never match.
State the 1000-character feedback limit in the parameter and tool
descriptions for clients that drop maxLength.

Closes AI-1429, AI-1430

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Rodriguespn
Rodriguespn force-pushed the Rodriguespn/ai-1429-1430-submit-feedback branch from ca83ba1 to 3956e18 Compare November 5, 2026 12:32
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 42028067979

Warning

No base build found for commit 95745e5 on main.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 97.861%

Details

  • Patch coverage: 11 of 11 lines across 1 file are fully covered (100%).

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 5993
Covered Lines: 5895
Line Coverage: 98.36%
Relevant Branches: 1208
Covered Branches: 1152
Branch Coverage: 95.36%
Branches in Coverage %: Yes
Coverage Strength: 259.29 hits per line

💛 - Coveralls

@Rodriguespn
Rodriguespn merged commit 994f56c into main Nov 5, 2026
5 checks passed
@supabase-releaser supabase-releaser Bot mentioned this pull request Nov 5, 2026
@Rodriguespn Rodriguespn added the publish-preview Runs `publish-preview` workflow to publish preview packages via https://pkg.pr.new/ label Nov 5, 2026
barryroodt pushed a commit that referenced this pull request Nov 5, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>mcp-server-supabase: 0.16.0</summary>

##
[0.16.0](mcp-server-supabase-v0.15.0...mcp-server-supabase-v0.16.0)
(2026-11-05)


### Features

* bound run_notebook cost
([#511](#511))
([e90d110](e90d110))
* **mcp-server-supabase:** run selected notebook cells
([#514](#514))
([8d04248](8d04248))
* **notebooks:** add delete_notebook tool with elicitation confirmation
([#510](#510))
([f36f74a](f36f74a))
* **notebooks:** enable create_notebook and run_notebook tools
([#509](#509))
([addc4e5](addc4e5))


### Bug Fixes

* **feedback:** accept null project_id and surface the feedback length
limit ([#521](#521))
([994f56c](994f56c))
* hint agents to re-copy malformed project refs
([#522](#522))
([0c650bf](0c650bf))
* **notebooks:** return caller errors for client-caused notebook
refusals ([#512](#512))
([5f0d393](5f0d393))
* **pg-meta:** report partition FKs once and add partition_of to
list_tables ([#508](#508))
([2c7fa82](2c7fa82))
* **pg-meta:** return complete check expressions for NOT VALID and NO
INHERIT constraints ([#517](#517))
([c54bb40](c54bb40))
* **sql:** skip destructive confirmation for planner-only EXPLAIN
([#519](#519))
([95745e5](95745e5))
* tolerate non-URL edge function paths in api platform
([#438](#438))
([00d07a4](00d07a4))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

publish-preview Runs `publish-preview` workflow to publish preview packages via https://pkg.pr.new/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants