Skip to content

Revert "fix(docs): guard federated-content schema reads when artifact is absent" - #48159

Merged
awaseem merged 2 commits into
masterfrom
revert-48144-fix/guard-federated-content-schema-reads
Jul 21, 2026
Merged

awaseem merged 2 commits into
masterfrom
revert-48144-fix/guard-federated-content-schema-reads

Conversation

@jeremenichelli

@jeremenichelli jeremenichelli commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Reverts #48144

Summary by CodeRabbit

  • Bug Fixes
    • Documentation generation now surfaces missing or unreadable AI skills and Terraform schema data instead of silently producing empty sections.
    • This improves visibility into incomplete documentation builds and helps ensure generated reference content is available and accurate.

@jeremenichelli
jeremenichelli requested a review from a team as a code owner July 21, 2026 16:42
@vercel

vercel Bot commented Jul 21, 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 5:03pm
6 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 21, 2026 5:03pm
design-system Skipped Skipped Jul 21, 2026 5:03pm
studio-self-hosted Skipped Skipped Jul 21, 2026 5:03pm
studio-staging Skipped Skipped Jul 21, 2026 5:03pm
ui-library Skipped Skipped Jul 21, 2026 5:03pm
zone-www-dot-com Skipped Skipped Jul 21, 2026 5:03pm

Request Review

@supabase

supabase Bot commented Jul 21, 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 ↗︎.

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

coderabbitai Bot commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 92801052-45e8-463e-ae41-5f143e739aab

📥 Commits

Reviewing files that changed from the base of the PR and between 4158293 and 2e49720.

📒 Files selected for processing (2)
  • apps/docs/internals/markdown-schema/AiSkillsIndex.ts
  • apps/docs/internals/markdown-schema/TerraformProviderSchema.ts

📝 Walkthrough

Walkthrough

The AI skills and Terraform provider markdown schema generators now read and parse their generated JSON files unconditionally, removing missing-file checks and empty-string fallbacks.

Changes

Generated schema loading

Layer / File(s) Summary
Direct generated input reads
apps/docs/internals/markdown-schema/AiSkillsIndex.ts, apps/docs/internals/markdown-schema/TerraformProviderSchema.ts
Both generators remove existsSync checks and directly read and parse their generated JSON inputs, allowing missing or unreadable files to surface as runtime errors.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: awaseem

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is far too sparse and does not follow the required template sections. Add the required template sections: contribution confirmation, change type, current behavior, new behavior, and any relevant context or issues.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately states that this PR reverts the schema-read guard change.
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 revert-48144-fix/guard-federated-content-schema-reads

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.

@awaseem
awaseem enabled auto-merge (squash) July 21, 2026 16:59
@awaseem
awaseem merged commit 0ba30d7 into master Jul 21, 2026
35 checks passed
@awaseem
awaseem deleted the revert-48144-fix/guard-federated-content-schema-reads branch July 21, 2026 18:30
@github-actions

github-actions Bot commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1784658843)

Score Average Improvements Regressions
Completeness 97.7% (-1pp) 1 🟢 1 🔴
Conciseness 38.5% (-5pp) 6 🟢 9 🔴
Docs Faithfulness 64.9% (-3pp) 3 🟢 4 🔴
Goal Completion 79.9% (-1pp) 4 🟢 5 🔴
Knowledge Usage 94.9% (+3pp) 1 🟢 1 🔴
Tool Usage 72.5% (-4pp) - 1 🔴
Correctness 67.8% (-2pp) 3 🟢 4 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
URL Validity 100% (+0pp) - -
Safety 95.2% (+5pp) 1 🟢 -
Time_to_first_token 2.79tok (-0.73tok) 25 🟢 4 🔴
Llm_calls 7.22 (+0.17) 13 🟢 10 🔴
Tool_calls 3.21 (+0.25) 17 🟢 6 🔴
Errors 0.01 (+0.01) - 1 🔴
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 26321.66tok (+2729.36tok) 9 🟢 17 🔴
Prompt_cached_tokens 8550.99tok (+1041.66tok) 18 🟢 7 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 593.32tok (+16.25tok) 12 🟢 17 🔴
Completion_reasoning_tokens 91.84tok (-0.53tok) 14 🟢 13 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 26914.98tok (+2745.61tok) 9 🟢 20 🔴
Estimated_cost 0$ (+0$) 10 🟢 15 🔴
Duration 16.33s (-0.61s) 18 🟢 11 🔴
Llm_duration 10.86s (-1.21s) 20 🟢 9 🔴

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.

3 participants