chore(kb, docs) - add in redirects for troubleshooting guides by kodster28 · Pull Request #52088 · supabase/supabase · GitHub
Skip to content

chore(kb, docs) - add in redirects for troubleshooting guides - #52088

Merged
kodster28 merged 4 commits into
masterfrom
troubleshooting-migration-redirects
Oct 21, 2026
Merged

kodster28 merged 4 commits into
masterfrom
troubleshooting-migration-redirects

Conversation

@kodster28

Copy link
Copy Markdown
Contributor

Problem

Having duplicate pages between /docs and /kb is an issue.

Solution

Easiest solution is to add in redirects covering the relevant paths. Should eventually remove the generation scripts from docs, but this is a clearer two-way door.

Preview links

n/a, can't evaluate redirects at the moment b/c not all apps have them set on the individual project

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: supabase/supabase/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7073565d-e13d-4876-b966-7a625bfa3438
📥 Commits

Reviewing files that changed from the base of the PR and between 5491fb6 and d692fa5.

📒 Files selected for processing: 1
  • apps/www/lib/redirects.js

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📝 Walkthrough

The redirect configuration adds permanent routes from troubleshooting guide URLs to knowledge base pages. It also adds a catch-all for eligible troubleshooting slugs.

Changes: Troubleshooting redirects

Layer / File(s) Summary
Troubleshooting redirect rules
apps/www/lib/redirects.js
Adds permanent redirects from hash-suffixed troubleshooting guide URLs to matching knowledge base pages. Adds a catch-all for other troubleshooting slugs, excluding _template and six-character hash-suffixed paths.

Priority: ⬇️ Low

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

Change: Other

Suggested reviewers: pamelachia

Merge Risk: ⚪ Minimal · up to d692f

No confirmed redirect failure blocks merging. The KB destinations could not be checked in the available environment.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly describes the main change: adding redirects for troubleshooting guides. It is concise and specific, although the wording "add in redirects" is slightly awkward.
Description check Passed The description includes the required Problem and Solution sections and explains the redirect approach. It omits the Review instructions and Checklist sections, but the main rationale and implementati…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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.
Full details: Description check

Explanation

The description includes the required Problem and Solution sections and explains the redirect approach. It omits the Review instructions and Checklist sections, but the main rationale and implementation are clear.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

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

LGTM to unblock. :shipit:

@kodster28
kodster28 merged commit c80e427 into master Oct 21, 2026
42 checks passed
@kodster28
kodster28 deleted the troubleshooting-migration-redirects branch October 21, 2026 19:06
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1792609791)

Score Average Improvements Regressions
Completeness 89.3% (-1pp) 4 🟢 6 🔴
Conciseness 64.1% (+0pp) 22 🟢 20 🔴
Correctness 78.7% (+1pp) 10 🟢 10 🔴
Docs Faithfulness 63% (+2pp) 4 🟢 6 🔴
Goal Completion 77.4% (0pp) 9 🟢 8 🔴
Knowledge Usage 90.5% (-2pp) - 1 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Safety 86.7% (-12pp) - 3 🔴
Tool Usage 86.6% (-1pp) 2 🟢 4 🔴
URL Validity 100% (+2pp) 1 🟢 -
Time_to_first_token 2.63tok (-0.14tok) 52 🟢 26 🔴
Llm_calls 10.52 (0) 30 🟢 28 🔴
Tool_calls 6.48 (-0.18) 13 🟢 20 🔴
Errors 0.06 (+0.01) 1 🟢 2 🔴
Llm_errors 0.02 (+0.01) - 2 🔴
Tool_errors 0.03 (-0.01) 1 🟢 -
Prompt_tokens 64637.34tok (+756.75tok) 35 🟢 39 🔴
Prompt_cached_tokens 47902.33tok (+631.41tok) 38 🟢 34 🔴
Prompt_cache_creation_tokens 16716.09tok (+125.32tok) 41 🟢 33 🔴
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 1412.51tok (-30.44tok) 53 🟢 25 🔴
Completion_reasoning_tokens 413.66tok (-4.68tok) 47 🟢 29 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 66049.85tok (+726.32tok) 39 🟢 39 🔴
Estimated_cost 0$ - -
Duration 13.78s (+0.01s) 56 🟢 22 🔴
Llm_duration 26.4s (+0.32s) 51 🟢 27 🔴

kodster28 added a commit that referenced this pull request Oct 22, 2026
Does the following:
- Removes duplicate redirect targets (3)
- Fixes one destination with a missing leading `/`
- Removes one unused redirect
(`/blog/2021/03/08/toad-a-link-shorterner-with-simple-apis-for-low-coders`)
- Adds a missing redirect from #52088 (for the main
`/docs/guides/troubleshooting` page)
- Updates many redirect chains to instead point to their final
destination, so consolidates redirect hops.

All new destinations return 200 status codes.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
kodster28 added a commit that referenced this pull request Oct 22, 2026
## Problem

KB now has definitive version of the troubleshooting guides. Need to
update the in content links to match work happening in #52088.

## Preview links

N/A... all atomic changes to links, so previews not very helpful here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants