Skip to content

docs: wire @supabase/server v1 into the reference pipeline - #47570

Merged
mandarini merged 11 commits into
masterfrom
docs/wire-server-v1-reference
Jul 7, 2026
Merged

mandarini merged 11 commits into
masterfrom
docs/wire-server-v1-reference

Conversation

@mandarini

@mandarini mandarini commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Docs update.

Screenshot 2026-07-06 at 6 13 33 PM

What is the current behavior?

@supabase/server has no reference documentation page in the Supabase docs. The library publishes a TypeDoc spec to GitHub Pages but the docs pipeline was not wired up to consume it.

What is the new behavior?

  • Adds spec/reference/server/v1/ with a config.json (category order: Middleware, Primitives, Adapters, Errors, Types) and partials/ for the introduction and installing pages.
  • Adds a download.server.v1 Makefile target that fetches https://supabase.github.io/server/spec.json into spec/reference/server/v1/server.json, and wires it into the top-level download target so it runs with the rest.
  • Registers server-v1 in SUPPORTS_NEW_REFERENCE_PROCESS so the build pipeline picks up the new spec directory and generates content/reference/server/v1/ at build time.
  • Seeds the generated docs/ref/server/ partials (introduction and installing) that the reference router serves.

Additional context

The TypeDoc spec is produced by @supabase/server's docs.yml workflow on every push to main, so make download.server.v1 will always pull the latest published API surface. The companion PR in the server repo (supabase/server#95) adds the @category tags that the pipeline requires for symbols to appear in navigation.

Summary by CodeRabbit

  • New Features

    • Added a new Server SDK item under Reference, linking to /reference/server and marked with a New badge.
    • Published Server Reference v1 documentation for @supabase/server, including Introduction and Installing pages.
  • Chores / Improvements

    • Enhanced the reference documentation generation to include Server v1 content.
    • Improved reference detail handling (including clearer TypeDoc output such as Deprecated notes).

@mandarini mandarini self-assigned this Jul 3, 2026
@supabase

supabase Bot commented Jul 3, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@vercel

vercel Bot commented Jul 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview, Comment Jul 6, 2026 3:38pm
docs Ready Ready Preview, Comment, Open in v0 Jul 6, 2026 3:38pm
studio-self-hosted Ready Ready Preview, Comment Jul 6, 2026 3:38pm
studio-staging Ready Ready Preview, Comment Jul 6, 2026 3:38pm
ui-library Ready Ready Preview, Comment Jul 6, 2026 3:38pm
zone-www-dot-com Ready Ready Preview, Comment, Open in v0 Jul 6, 2026 3:38pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 6, 2026 3:38pm

Request Review

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 3, 2026
@coderabbitai

coderabbitai Bot commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds a new Server reference section for @supabase/server, wiring it into docs navigation and reference metadata, extending the server reference build pipeline, and adding installation and introduction docs.

Changes

Server Reference Docs

Layer / File(s) Summary
Navigation and reference registry
apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts, apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx, apps/docs/content/navigation.references.ts, apps/docs/features/docs/Reference.constants.ts, apps/docs/layouts/MainSkeleton.tsx, apps/docs/components/Navigation/Navigation.types.ts, apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx, apps/docs/components/Navigation/NavigationMenu/GlobalNavigationMenu.tsx
Adds the Server menu entry, reference metadata, menu ID, reference registry entry, new-reference-process opt-in, label mapping, and new-badge rendering support.
Spec download and typeSpec pipeline
apps/docs/spec/Makefile, apps/docs/package.json, apps/docs/spec/reference/server/v1/config.json, apps/docs/features/docs/Reference.typeSpec.ts, apps/docs/scripts/build-reference-content.ts
Adds server spec download targets, reference ordering config, and typeSpec extraction support for type aliases, interfaces, and classes.
Server reference documentation
apps/docs/docs/ref/server/installing.mdx, apps/docs/docs/ref/server/introduction.mdx, apps/docs/spec/reference/server/v1/partials/installing.mdx, apps/docs/spec/reference/server/v1/partials/introduction.mdx
Adds the Server installation and introduction docs for the reference site and generated partials.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

  • supabase/supabase#47224: Shares the new-reference-pipeline plumbing and build-reference-content.ts changes for reference generation.

Suggested reviewers: jeremenichelli, alaister

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding @supabase/server v1 to the docs reference pipeline.
Description check ✅ Passed The description follows the template and includes the required sections with clear current, new, and additional context.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/wire-server-v1-reference

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mandarini
mandarini force-pushed the docs/wire-server-v1-reference branch from a6b9b27 to f3e3d69 Compare July 3, 2026 12:59
@mandarini
mandarini marked this pull request as ready for review July 3, 2026 13:04
@mandarini
mandarini requested review from ChrisChinchilla and jeremenichelli and removed request for jeremenichelli July 3, 2026 13:04

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (2)
apps/docs/spec/Makefile (1)

12-12: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

download target still not declared .PHONY.

Static analysis flags this; since download never produces a file named download, missing .PHONY risks skipped execution if such a file/dir is ever created. Pre-existing pattern, not introduced by this change, but worth cleaning up while touching this line.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/docs/spec/Makefile` at line 12, The Makefile’s download target is still
missing a .PHONY declaration, so it can be skipped if a file or directory named
download appears. Update the Makefile near the download target definition to add
download to the existing .PHONY list, following the same pattern used for the
other non-file targets.

Source: Linters/SAST tools

apps/docs/scripts/build-reference-content.ts (1)

31-32: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Move KIND_TYPE_ALIAS next to the other KIND_* constants.
It matches TypeDoc’s current ReflectionKind.TypeAlias, but keeping the mapping in one place makes future updates less error-prone.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/docs/scripts/build-reference-content.ts` around lines 31 - 32, The
KIND_TYPE_ALIAS mapping is separated from the other KIND_* constants, which
makes the ReflectionKind-to-KIND mapping harder to maintain. Move
KIND_TYPE_ALIAS into the existing KIND_* constant समूह in
build-reference-content.ts so it sits alongside the other ReflectionKind-related
constants, keeping all kind mappings grouped in one place for easier updates.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/docs/scripts/build-reference-content.ts`:
- Around line 362-387: The reference-content snapshot coverage is currently
disabled, so the new type-alias and interface handling in
build-reference-content.ts is not exercised in CI. Re-enable the skipped test in
build-reference-content.test.ts so collectReferenceContent('javascript', 'v2')
runs again, or replace it with equivalent active coverage that asserts the
out.typeSpec.variables and out.typeSpec.methods output for the KIND_TYPE_ALIAS
and KIND_INTERFACE branches.

In `@apps/docs/spec/Makefile`:
- Around line 47-49: The spec download target is using curl in a way that can
silently save HTTP error pages into server.json; update the download command in
the download.server.v1 Makefile target to fail on non-2xx responses by adding
curl’s fail behavior alongside the existing flags. Keep the change scoped to the
download.server.v1 rule so scripts/build-reference-content.ts only ever reads a
valid spec file.

---

Nitpick comments:
In `@apps/docs/scripts/build-reference-content.ts`:
- Around line 31-32: The KIND_TYPE_ALIAS mapping is separated from the other
KIND_* constants, which makes the ReflectionKind-to-KIND mapping harder to
maintain. Move KIND_TYPE_ALIAS into the existing KIND_* constant समूह in
build-reference-content.ts so it sits alongside the other ReflectionKind-related
constants, keeping all kind mappings grouped in one place for easier updates.

In `@apps/docs/spec/Makefile`:
- Line 12: The Makefile’s download target is still missing a .PHONY declaration,
so it can be skipped if a file or directory named download appears. Update the
Makefile near the download target definition to add download to the existing
.PHONY list, following the same pattern used for the other non-file targets.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 113a869e-7b03-4524-9a1a-946d0a2f4cf1

📥 Commits

Reviewing files that changed from the base of the PR and between 6134e67 and f3e3d69.

📒 Files selected for processing (13)
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
  • apps/docs/content/navigation.references.ts
  • apps/docs/docs/ref/server/installing.mdx
  • apps/docs/docs/ref/server/introduction.mdx
  • apps/docs/features/docs/Reference.constants.ts
  • apps/docs/layouts/MainSkeleton.tsx
  • apps/docs/package.json
  • apps/docs/scripts/build-reference-content.ts
  • apps/docs/spec/Makefile
  • apps/docs/spec/reference/server/v1/config.json
  • apps/docs/spec/reference/server/v1/partials/installing.mdx
  • apps/docs/spec/reference/server/v1/partials/introduction.mdx

Comment thread apps/docs/spec/Makefile Resolved
@mandarini
mandarini force-pushed the docs/wire-server-v1-reference branch from f3e3d69 to 77d9e32 Compare July 3, 2026 13:18

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (1)
apps/docs/spec/Makefile (1)

47-49: 🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

Add --fail to the curl download.

curl -sS can exit 0 on HTTP errors, silently writing an error page into server.json that only breaks later when build-reference-content.ts parses it.

🐛 Proposed fix
 download.server.v1:
-	curl -sS https://supabase.github.io/server/spec.json > $(REPO_DIR)/reference/server/v1/server.json
+	curl -fsS https://supabase.github.io/server/spec.json > $(REPO_DIR)/reference/server/v1/server.json
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/docs/spec/Makefile` around lines 47 - 49, The download step for
download.server.v1 in the Makefile should fail fast on HTTP errors instead of
silently saving an error page into server.json. Update the curl invocation to
include --fail alongside the existing flags so the target stops immediately when
the spec fetch returns a bad status, preventing build-reference-content.ts from
parsing invalid JSON later.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@apps/docs/spec/Makefile`:
- Around line 47-49: The download step for download.server.v1 in the Makefile
should fail fast on HTTP errors instead of silently saving an error page into
server.json. Update the curl invocation to include --fail alongside the existing
flags so the target stops immediately when the spec fetch returns a bad status,
preventing build-reference-content.ts from parsing invalid JSON later.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8f0891ac-7b1a-495a-bcf9-9758ccb5beb2

📥 Commits

Reviewing files that changed from the base of the PR and between f3e3d69 and 77d9e32.

📒 Files selected for processing (13)
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
  • apps/docs/content/navigation.references.ts
  • apps/docs/docs/ref/server/installing.mdx
  • apps/docs/docs/ref/server/introduction.mdx
  • apps/docs/features/docs/Reference.constants.ts
  • apps/docs/layouts/MainSkeleton.tsx
  • apps/docs/package.json
  • apps/docs/scripts/build-reference-content.ts
  • apps/docs/spec/Makefile
  • apps/docs/spec/reference/server/v1/config.json
  • apps/docs/spec/reference/server/v1/partials/installing.mdx
  • apps/docs/spec/reference/server/v1/partials/introduction.mdx
✅ Files skipped from review due to trivial changes (5)
  • apps/docs/spec/reference/server/v1/config.json
  • apps/docs/docs/ref/server/introduction.mdx
  • apps/docs/spec/reference/server/v1/partials/installing.mdx
  • apps/docs/spec/reference/server/v1/partials/introduction.mdx
  • apps/docs/docs/ref/server/installing.mdx
🚧 Files skipped from review as they are similar to previous changes (6)
  • apps/docs/layouts/MainSkeleton.tsx
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
  • apps/docs/scripts/build-reference-content.ts
  • apps/docs/content/navigation.references.ts
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
  • apps/docs/package.json

@jeremenichelli jeremenichelli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am noticing tons of empty definitions.

Image Image Image

Comment thread apps/docs/spec/Makefile Resolved
@mandarini
mandarini requested a review from spydon July 6, 2026 14:58
@mandarini
mandarini force-pushed the docs/wire-server-v1-reference branch from 21563c6 to 753365b Compare July 6, 2026 15:10

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/docs/docs/ref/server/installing.mdx`:
- Around line 50-66: The JSR install section in RefSubLayout.Examples only
includes the Deno command, but the heading says “Deno / Bun”; update this
example block in the installing.mdx content to also include a Bun copy-pasteable
install command alongside the existing deno add jsr:`@supabase/server` example so
both environments are covered.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c1212f3e-bb05-45ee-aaec-855ba32adf4f

📥 Commits

Reviewing files that changed from the base of the PR and between 21563c6 and 753365b.

📒 Files selected for processing (17)
  • apps/docs/components/Navigation/Navigation.types.ts
  • apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx
  • apps/docs/components/Navigation/NavigationMenu/GlobalNavigationMenu.tsx
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
  • apps/docs/content/navigation.references.ts
  • apps/docs/docs/ref/server/installing.mdx
  • apps/docs/docs/ref/server/introduction.mdx
  • apps/docs/features/docs/Reference.constants.ts
  • apps/docs/features/docs/Reference.typeSpec.ts
  • apps/docs/layouts/MainSkeleton.tsx
  • apps/docs/package.json
  • apps/docs/scripts/build-reference-content.ts
  • apps/docs/spec/Makefile
  • apps/docs/spec/reference/server/v1/config.json
  • apps/docs/spec/reference/server/v1/partials/installing.mdx
  • apps/docs/spec/reference/server/v1/partials/introduction.mdx
✅ Files skipped from review due to trivial changes (6)
  • apps/docs/spec/reference/server/v1/partials/introduction.mdx
  • apps/docs/spec/reference/server/v1/partials/installing.mdx
  • apps/docs/spec/reference/server/v1/config.json
  • apps/docs/components/Navigation/Navigation.types.ts
  • apps/docs/docs/ref/server/introduction.mdx
  • apps/docs/package.json
🚧 Files skipped from review as they are similar to previous changes (9)
  • apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx
  • apps/docs/features/docs/Reference.constants.ts
  • apps/docs/features/docs/Reference.typeSpec.ts
  • apps/docs/content/navigation.references.ts
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
  • apps/docs/layouts/MainSkeleton.tsx
  • apps/docs/components/Navigation/NavigationMenu/GlobalNavigationMenu.tsx
  • apps/docs/scripts/build-reference-content.ts

@mandarini

Copy link
Copy Markdown
Contributor Author

@jeremenichelli re: empty definitions: oops! :D Fixed it! Reasons:

  1. Classes were dropped from the typespec. build-reference-content.ts only handled functions, variables, type aliases, and interfaces, but classes fell through every branch, so only their constructor got stored while functions.json points at the class itself.
  2. Deprecated-only aliases. Allow/AllowWithKey have only a @deprecated tag and an empty summary, so normalizeComment produced an empty string that the renderer filtered out.

@mandarini
mandarini requested a review from jeremenichelli July 6, 2026 15:31

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
apps/docs/scripts/build-reference-content.ts (1)

381-417: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Duplicate property→param mapping between KIND_INTERFACE and KIND_CLASS branches.

Both branches build an identical params array from KIND_PROPERTY children and construct an identical MethodTypes shape. Extracting a small shared helper would avoid the two copies drifting apart later.

♻️ Suggested refactor
+function collectPropertyParams(children: any[], idMap: Map<number, any>) {
+  return (children as any[])
+    .filter((child: any) => child.kind === KIND_PROPERTY)
+    .map((prop: any) => ({
+      name: prop.name,
+      comment: prop.comment ? normalizeComment(prop.comment as any) : undefined,
+      isOptional: prop.flags?.isOptional ?? false,
+      type: prop.type ? parseType(prop.type, idMap) : undefined,
+    }))
+}
+
     } else if (node.kind === KIND_INTERFACE && node.children) {
       // Interface — store as a method-like entry so the renderer shows properties as a param table
-      const params = (node.children as any[])
-        .filter((child: any) => child.kind === KIND_PROPERTY)
-        .map((prop: any) => ({
-          name: prop.name,
-          comment: prop.comment ? normalizeComment(prop.comment as any) : undefined,
-          isOptional: prop.flags?.isOptional ?? false,
-          type: prop.type ? parseType(prop.type, idMap) : undefined,
-        }))
+      const params = collectPropertyParams(node.children, idMap)
       const methodEntry: MethodTypes = {
         name: ref,
         params,
         ret: undefined,
         comment: node.comment ? normalizeComment(node.comment as any) : undefined,
       }
       out.typeSpec.methods[ref] = methodEntry
     } else if (node.kind === KIND_CLASS && node.children) {
       // Class — ...
-      const params = (node.children as any[])
-        .filter((child: any) => child.kind === KIND_PROPERTY)
-        .map((prop: any) => ({
-          name: prop.name,
-          comment: prop.comment ? normalizeComment(prop.comment as any) : undefined,
-          isOptional: prop.flags?.isOptional ?? false,
-          type: prop.type ? parseType(prop.type, idMap) : undefined,
-        }))
+      const params = collectPropertyParams(node.children, idMap)
       const methodEntry: MethodTypes = {
         name: ref,
         params,
         ret: undefined,
         comment: node.comment ? normalizeComment(node.comment as any) : undefined,
       }
       out.typeSpec.methods[ref] = methodEntry
     }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/docs/scripts/build-reference-content.ts` around lines 381 - 417, Both
the KIND_INTERFACE and KIND_CLASS branches in build-reference-content.ts
duplicate the same property-to-params mapping and MethodTypes construction, so
extract that shared logic into a small helper and reuse it from both branches.
Keep the helper responsible for filtering KIND_PROPERTY children, normalizing
comments, setting isOptional, and parsing types with parseType/idMap, then have
each branch only pass the node and ref into it before assigning to
out.typeSpec.methods[ref].
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/docs/features/docs/Reference.typeSpec.ts`:
- Around line 263-281: The deprecated-note escaping in Reference.typeSpec.ts
only handles angle brackets, so MDX can still fail on literal curly braces in
`@deprecated` text. Update the deprecated block in the comment handling logic that
builds comment.text from deprecatedTag.content to also escape { and } alongside
< and >, keeping the note safe for MDX rendering and preserving the existing
fallback behavior for inline links and empty notes.

---

Nitpick comments:
In `@apps/docs/scripts/build-reference-content.ts`:
- Around line 381-417: Both the KIND_INTERFACE and KIND_CLASS branches in
build-reference-content.ts duplicate the same property-to-params mapping and
MethodTypes construction, so extract that shared logic into a small helper and
reuse it from both branches. Keep the helper responsible for filtering
KIND_PROPERTY children, normalizing comments, setting isOptional, and parsing
types with parseType/idMap, then have each branch only pass the node and ref
into it before assigning to out.typeSpec.methods[ref].
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c417618c-6e9a-45c7-a165-bb8392fc9fdb

📥 Commits

Reviewing files that changed from the base of the PR and between 21563c6 and c803b8a.

📒 Files selected for processing (17)
  • apps/docs/components/Navigation/Navigation.types.ts
  • apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx
  • apps/docs/components/Navigation/NavigationMenu/GlobalNavigationMenu.tsx
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
  • apps/docs/content/navigation.references.ts
  • apps/docs/docs/ref/server/installing.mdx
  • apps/docs/docs/ref/server/introduction.mdx
  • apps/docs/features/docs/Reference.constants.ts
  • apps/docs/features/docs/Reference.typeSpec.ts
  • apps/docs/layouts/MainSkeleton.tsx
  • apps/docs/package.json
  • apps/docs/scripts/build-reference-content.ts
  • apps/docs/spec/Makefile
  • apps/docs/spec/reference/server/v1/config.json
  • apps/docs/spec/reference/server/v1/partials/installing.mdx
  • apps/docs/spec/reference/server/v1/partials/introduction.mdx
✅ Files skipped from review due to trivial changes (6)
  • apps/docs/spec/reference/server/v1/config.json
  • apps/docs/docs/ref/server/introduction.mdx
  • apps/docs/features/docs/Reference.constants.ts
  • apps/docs/spec/reference/server/v1/partials/introduction.mdx
  • apps/docs/spec/reference/server/v1/partials/installing.mdx
  • apps/docs/docs/ref/server/installing.mdx
🚧 Files skipped from review as they are similar to previous changes (8)
  • apps/docs/layouts/MainSkeleton.tsx
  • apps/docs/components/Navigation/Navigation.types.ts
  • apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx
  • apps/docs/content/navigation.references.ts
  • apps/docs/components/Navigation/NavigationMenu/GlobalNavigationMenu.tsx
  • apps/docs/package.json
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts

@ChrisChinchilla

Copy link
Copy Markdown
Contributor

Looks like all the empty boxes are gone, so good with me now. @jeremenichelli any final opinions?

Copy link
Copy Markdown
Contributor Author

if @jeremenichelli is ok, then can i merge?

@jeremenichelli

Copy link
Copy Markdown
Contributor

Sorry @mandarini I was reviewing this and the power went out on my neighborhood, just re-connected.

After seeing the preview, it looks awesome, great job.GO ahead 💪

@mandarini
mandarini merged commit f77e8e7 into master Jul 7, 2026
33 checks passed
@mandarini
mandarini deleted the docs/wire-server-v1-reference branch July 7, 2026 14:08
@github-actions

github-actions Bot commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1783433446)

Score Average Improvements Regressions
Completeness 87.3% (-5pp) 4 🟢 7 🔴
Conciseness 39% (-10pp) 6 🟢 10 🔴
Correctness 68.6% (+10pp) 5 🟢 3 🔴
Docs Faithfulness 67.5% (+2pp) 5 🟢 4 🔴
Goal Completion 74.6% (+0pp) 7 🟢 9 🔴
Safety 100% (+2pp) 1 🟢 -
Tool Usage 54.8% (-19pp) 2 🟢 3 🔴
Knowledge Usage 89.3% (-8pp) - 2 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 90% (-10pp) - -
Time_to_first_token 3.37tok (+0.41tok) 12 🟢 17 🔴
Llm_calls 6.53 (-0.62) 7 🟢 18 🔴
Tool_calls 2.93 (-0.22) 6 🟢 13 🔴
Errors 0.02 (-0.02) 2 🟢 1 🔴
Llm_errors 0.01 (-0.01) 2 🟢 1 🔴
Tool_errors 0 (+0) - -
Prompt_tokens 22920.46tok (-5142.47tok) 13 🟢 13 🔴
Prompt_cached_tokens 6355.86tok (-3160.28tok) 8 🟢 15 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 618.9tok (-6.41tok) 12 🟢 17 🔴
Completion_reasoning_tokens 92.11tok (-23.6tok) 20 🟢 7 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 23539.36tok (-5148.89tok) 14 🟢 15 🔴
Estimated_cost 0$ (0$) 18 🟢 8 🔴
Duration 20.54s (+4.08s) 8 🟢 21 🔴
Llm_duration 9.45s (-1.04s) 21 🟢 8 🔴

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

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants