Conversation
SaxonF
added this pull request to stack #6600
September 14, 2026 11:20
Pins the five `/v2/projects/{ref}/notebooks` routes into the OpenAPI
overrides and regenerates the contracts, effect client, and spec snapshot
so `list`/`get`/`create`/`update`/`delete` notebook operations are
available as typed operations.
supabase/infrastructure ships these routes ahead of the platform spec, so
the override is an add paired with a remove that keeps it idempotent once
the deployed spec carries them — at which point the whole block should be
deleted rather than left masking upstream.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
SaxonF
force-pushed
the
notebooks/01-api-notebook-endpoints
branch
from
September 14, 2026 23:50
a3b3310 to
b33241b
Compare
SaxonF
removed this pull request from stack #6600
September 15, 2026 00:30
SaxonF
added this pull request to stack #6612
September 15, 2026 00:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the five
/v2/projects/{ref}/notebooksroutes — list, get, create, update, delete — to the generated Management API client, so the notebook commands later in this stack have a typed client to drive.What changed
scripts/openapi-overrides.jsonpins the notebook paths into the spec.src/generated/{openapi.json,contracts.ts,effect-client.ts}regenerated from it.Reviewer notes
The only hand-written part is the override block; everything else is codegen output.
supabase/infrastructureships these routes ahead of the deployed platform spec, so the override is anaddpaired with aremoveat the same path. The remove keeps the add idempotent once the deployed spec carries the routes itself — at which point the whole block should be deleted rather than left in place masking upstream. That intent is recorded in the block's$comment.The churn in the existing webhook
$commentstrings is the overrides writer re-serializing the file and escaping the literal em-dashes as\u2014; no semantic change.Note that the
page/filterquery parameters these operations declare arestyle: deepObject, which the client does not serialize correctly yet. That is fixed in the next PR in this stack.