Skip to content

fix: prepare llms.txt for an asynchronous Fumadocs index - #59

Merged
next-devin merged 4 commits into
mainfrom
fumadocs-migration
Oct 6, 2026
Merged

next-devin merged 4 commits into
mainfrom
fumadocs-migration

Conversation

@next-devin

Copy link
Copy Markdown
Contributor

The Dependabot Fumadocs 16.10.3 → 16.15.12 update in #40 fails compilation because the LLM index API becomes asynchronous. Await the index before rewriting its URLs; this also works with the current synchronous implementation.

Keep Fumadocs on the supported 16.10 patch line. An attempted 16.15 migration also changes static search from Orama to ZBSearch. Even after enabling English stemming in the exporter and browser, the subscriptions guide falls outside the existing first-ten-results requirement for subscription. Document the migration requirements and retain the existing search probes and budgets.

Validation on Node 22 with the current Fumadocs version: clean installation, production build, dependency compatibility check, search quality and size checks, and production dependency audit passed. The exported llms.txt retains its content, absolute links, and single top-level heading. Production audit reports zero vulnerabilities.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
nextcommerce-docs 61190c9 Commit Preview URL

Branch Preview URL
Oct 06 2026, 05:20 AM

@next-devin
next-devin marked this pull request as ready for review October 6, 2026 05:21
@next-devin
next-devin merged commit 5efcf70 into main Oct 6, 2026
4 checks passed
@kilo-code-bot

kilo-code-bot Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 0

The async await of generator.index() in app/llms.txt/route.ts:11 is the correct forward-compatible change: it resolves the future Fumadocs 16.15 asynchronous index API while remaining compatible with the current synchronous implementation. Combined with export const dynamic = 'force-static', Next.js still prerenders the response at build time, so behavior is unchanged on the supported 16.10 line. The added MAINTENANCE.md sections accurately document the lockfile-only Dependabot strategy, the cross-package version invariants, the new check-dependency-compatibility CI gate, and the unresolved 16.15 search-ranking regression that must be fixed before any migration.

Files Reviewed (2 files)
  • app/llms.txt/route.ts
  • docs/MAINTENANCE.md

Reviewed by minimax-m3 · Input: 26.1K · Output: 2.7K · Cached: 120.8K

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.

1 participant