Skip to content

feat: Add deployment/ci federated content and data - #48041

Merged
jeremenichelli merged 1 commit into
masterfrom
jeremias/docs-1187-pre-fetch-deploymentci-routes-to-markdown
Jul 21, 2026
Merged

jeremenichelli merged 1 commit into
masterfrom
jeremias/docs-1187-pre-fetch-deploymentci-routes-to-markdown

Conversation

@jeremenichelli

@jeremenichelli jeremenichelli commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Adds support for docs/guides/deployment/ci/[...] routes to be fetched pre-build and provide markdown counterparts. How to test:

  • Open the preview link for this PR.
  • Go to Build > Deployment
  • Visit all pages under the CI / CD section. They should all look the same as their production counterparts.
  • Add .md to each route, the server should return a markdown version of each page.
  • Try 'Copy as Markdown' button and check content is copied correctly.

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features

    • Added CI deployment guide content for type generation, testing, and backups.
    • Enabled support for nested CI guide pages.
    • Expanded guide metadata to include descriptions and optional table-of-contents video.
  • Bug Fixes

    • Improved federated guide rendering so titles and leading headings are handled more reliably.
    • Updated CI guide routing/page generation for more consistent navigation.

@jeremenichelli
jeremenichelli requested a review from awaseem July 17, 2026 15:19
@jeremenichelli
jeremenichelli requested a review from a team as a code owner July 17, 2026 15:19
@jeremenichelli jeremenichelli added documentation Improvements or additions to documentation ai Vectors, embeddings, all-things-AI labels Jul 17, 2026
@supabase

supabase Bot commented Jul 17, 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 17, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment, Open in v0 Jul 21, 2026 10:16am
6 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 21, 2026 10:16am
design-system Skipped Skipped Jul 21, 2026 10:16am
studio-self-hosted Skipped Skipped Jul 21, 2026 10:16am
studio-staging Skipped Skipped Jul 21, 2026 10:16am
ui-library Skipped Skipped Jul 21, 2026 10:16am
zone-www-dot-com Skipped Skipped Jul 21, 2026 10:16am

Request Review

@coderabbitai

coderabbitai Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2b564053-590e-40c4-88d0-576cc6f6afce

📥 Commits

Reviewing files that changed from the base of the PR and between 330e33a and e817a75.

📒 Files selected for processing (6)
  • apps/docs/.gitignore
  • apps/docs/app/guides/deployment/ci/[[...slug]]/page.tsx
  • apps/docs/app/guides/deployment/ci/[slug]/page.tsx
  • apps/docs/scripts/federated-content/fetch-federated-content.ts
  • apps/docs/scripts/federated-content/sources/ci.ts
  • apps/docs/scripts/federated-content/types.ts

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.


📝 Walkthrough

Walkthrough

The federated-content pipeline now supports CI documentation metadata and heading-removal configuration. Three setup-cli CI pages are mapped into generated content and served through a new catch-all deployment CI route with static generation and metadata support.

Changes

CI federated documentation

Layer / File(s) Summary
Federated content pipeline
apps/docs/scripts/federated-content/types.ts, apps/docs/scripts/federated-content/fetch-federated-content.ts
Adds optional page metadata fields and dropLeadingHeading configuration, and serializes description and tocVideo into frontmatter.
CI source configuration
apps/docs/scripts/federated-content/sources/ci.ts, apps/docs/.gitignore
Maps three setup-cli CI documents and ignores their generated content directory.
CI guide route
apps/docs/app/guides/deployment/ci/[[...slug]]/page.tsx, apps/docs/app/guides/deployment/ci/[slug]/page.tsx
Adds catch-all CI guide rendering, static parameter generation, and metadata generation while removing the previous single-segment route.

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

Sequence Diagram(s)

sequenceDiagram
  participant CI Source
  participant Federated Fetcher
  participant Generated Content
  participant Next.js Route
  participant GuideTemplate
  CI Source->>Federated Fetcher: Provide mapped remote CI pages and metadata
  Federated Fetcher->>Generated Content: Serialize markdown and frontmatter
  Next.js Route->>Generated Content: Fetch deployment/ci content
  Next.js Route->>GuideTemplate: Render guide markdown
Loading

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers the change and test steps, but it omits the required Current behavior and Additional context sections. Add the missing template sections for current behavior and additional context, and include any relevant issue links or screenshots if applicable.
✅ Passed checks (4 passed)
Check name Status Explanation
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.
Title check ✅ Passed The title clearly summarizes the main change: adding deployment/ci federated content and data.
✨ 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 jeremias/docs-1187-pre-fetch-deploymentci-routes-to-markdown

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.

@czenko czenko 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.

The following recording shows two things that I noted in another PR review:

  • Cursor pointer appears on the other links but not on the Markdown copy button
  • The delay from clicking to copied it significantly long -- about five seconds -- to the point of it seeming like it was not copied

Approved because I checked the content against the pages and they are correct. The issues spotted are likely not directly connected to this PR.

Screen.Recording.2026-07-17.at.3.33.47.PM.mov

@jeremenichelli
jeremenichelli force-pushed the jeremias/docs-1187-pre-fetch-deploymentci-routes-to-markdown branch from 330e33a to e817a75 Compare July 21, 2026 10:12
@jeremenichelli
jeremenichelli merged commit fe5aff6 into master Jul 21, 2026
34 of 35 checks passed
@jeremenichelli
jeremenichelli deleted the jeremias/docs-1187-pre-fetch-deploymentci-routes-to-markdown branch July 21, 2026 10:17
@github-actions

github-actions Bot commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1784629247)

Score Average Improvements Regressions
Completeness 100% (+0pp) - -
Conciseness 39.7% (-2pp) 9 🟢 8 🔴
Correctness 74.4% (+5pp) 3 🟢 2 🔴
Docs Faithfulness 59.5% (-7.000000000000001pp) 2 🟢 3 🔴
Goal Completion 82.2% (+2pp) 4 🟢 1 🔴
Knowledge Usage 94.9% (+5pp) 1 🟢 -
Safety 90.5% (+5pp) 2 🟢 1 🔴
Tool Usage 68.6% (-5pp) 1 🟢 2 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Time_to_first_token 3.47tok (+0.44tok) 8 🟢 21 🔴
Llm_calls 7.13 (-0.11) 9 🟢 16 🔴
Tool_calls 2.99 (-0.07) 12 🟢 13 🔴
Errors 0 (-0.02) 1 🟢 -
Llm_errors 0 (-0.01) 1 🟢 -
Tool_errors 0 (+0) - -
Prompt_tokens 22657.86tok (-2004.41tok) 12 🟢 14 🔴
Prompt_cached_tokens 7744.74tok (+570.85tok) 16 🟢 7 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 592.94tok (-14.06tok) 19 🟢 10 🔴
Completion_reasoning_tokens 100.31tok (+8.33tok) 12 🟢 15 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 23250.8tok (-2018.47tok) 15 🟢 14 🔴
Estimated_cost 0$ (0$) 15 🟢 12 🔴
Duration 18.37s (+0.25s) 15 🟢 14 🔴
Llm_duration 11.94s (-0.55s) 17 🟢 12 🔴

hunleyd added a commit that referenced this pull request Aug 8, 2026
…fomap-entry-for-pitr-archiving-stale' into hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale

* origin/hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale: (35 commits)
  chore: simplify CPU messaging for compute sizes (#48109)
  chore(studio): add valtio and react-hook-form ESLint ratchet rules (#48037)
  feat: Add ai/python federated content and data (#48043)
  feat: Add ai-skills federated content and data (#48045)
  feat: Add deployment/ci federated content and data (#48041)
  fix(studio): wire up siwc-enabled query param opt-in on sign-in/sign-up (#48126)
  fix(studio): stop stacking overlaid area series in report charts (#48034)
  Update Dev toolbar to support filtering feature flags (#48137)
  Update dev toolbar to support mocking org restrictions (#48136)
  feat: Add terraform federated content and data (#48010)
  Chore/add sessions database connections (#48094)
  fix(studio): guard panel collapse/resize on narrow viewports (#48098)
  Landing page agent focus (#47989)
  fix(studio): chip away explicit-tabindex ratchet debt (#48040)
  fix(studio): untangle nested buttons in editor tabs (#48101)
  fix(docs): broken link (#48117)
  docs: add VS Code to the AI coding agent plugin install picker (#48108)
  docs: add Kimi Code to MCP and AI coding agent plugin setup (#48099)
  fix: preserve function responses (#47920)
  fix(assistant): SQL approval buttons do nothing (#48102)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai Vectors, embeddings, all-things-AI documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants