Skip to content

Redirect the old /docs/apps/zero URL to the Zero runtime page - #33

Merged
batuhan merged 3 commits into
mainfrom
fix/apps-zero-redirect
Aug 28, 2026
Merged

Redirect the old /docs/apps/zero URL to the Zero runtime page#33
batuhan merged 3 commits into
mainfrom
fix/apps-zero-redirect

Conversation

@batuhan

@batuhan batuhan commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

https://spacefast.com/docs/apps/zero returns 404. It's an old URL that external tools still hand out; the page now lives at /docs/zero-runtime, and /docs/zero already redirects there.

This adds a second authored redirect so /docs/apps/zero lands on the same page, plus the matching hop assertion in verify:routes.

Built _redirects:

/docs/apps/zero /docs/zero-runtime 301
/docs/zero /docs/zero-runtime 301

Verified locally with bun run build, bun run verify:routes, bun run validate, bun run audit, bun run check, bun run verify:public-safety — all pass.

View in Indent View in Slack
Tag @indent to continue the conversation here.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Summary by CodeRabbit

  • Bug Fixes
    • Added a permanent redirect from /docs/apps/zero to /docs/zero-runtime.
    • Improved route verification to confirm the legacy path follows the expected redirect chain and reaches the correct destination.
The Zero page has lived at /docs/zero-runtime since the Primitives
section landed, and /docs/zero already redirects there. The older
/docs/apps/zero URL is still handed out by external tools and returns
404, so route it to the same destination and assert the hop in
verify:routes.
@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 2c0aaa76-c0fe-42cb-8505-b23b78e222da

📥 Commits

Reviewing files that changed from the base of the PR and between 64fcece and 4e72300.

📒 Files selected for processing (1)
  • scripts/verify-routes.mjs

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The change adds a 301 redirect for /docs/apps/zero and verifies the former apps/zero route reaches /zero-runtime through two 301 redirects.

Changes

Zero documentation redirect

Layer / File(s) Summary
Redirect rule and route verification
scripts/redirect-rules.mjs, scripts/verify-routes.mjs
The redirect rules include /docs/apps/zero to /docs/zero-runtime. Route verification checks both 301 responses and the final successful response.

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

Merge Risk: ⚪ Minimal · up to 4e723

The old documentation URL will redirect to the current Zero runtime page, with matching route validation. No actionable merge-blocking risk remains after normal checks and review.

Suggested reviewers: aheckler

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: redirecting the old /docs/apps/zero URL to the Zero runtime page.
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: 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
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/apps-zero-redirect

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.

@spacefast
spacefast Bot temporarily deployed to preview/fix/apps-zero-redirect August 24, 2026 16:17 Inactive
@spacefast
spacefast Bot temporarily deployed to preview/fix/apps-zero-redirect August 28, 2026 23:04 Inactive
@batuhan
batuhan merged commit fc39d88 into main Aug 28, 2026
4 checks passed
@batuhan
batuhan deleted the fix/apps-zero-redirect branch August 28, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant