feat(changelog): expose machine-readable endpoint for AI tools#7890
feat(changelog): expose machine-readable endpoint for AI tools#7890aidankmcalister merged 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThis PR introduces a machine-readable changelog endpoint ( ChangesChangelog LLM Content Support
🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/site/src/app/changelog.md/route.ts`:
- Around line 15-23: The Promise.all over entries can reject if any
getReleaseNotePreview fails, so change the entries.map handler in
entriesWithPreview to catch preview errors per entry: when computing summary (in
the async callback that references getReleaseNotePreview), wrap the await
getReleaseNotePreview(...) in a try/catch (or use Promise.allSettled for the
previews) and on error return null/empty for that entry’s summary; keep the rest
of the entry processing unchanged so a single preview failure no longer rejects
the whole Promise.all.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 919ca8a8-7ffb-4423-b025-7076ea45ea74
📒 Files selected for processing (4)
apps/docs/src/app/llms.txt/route.tsapps/docs/src/lib/llms.tsapps/site/src/app/changelog.md/route.tsapps/site/src/app/llms-content.ts
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Adds
/changelog.md— a plain-text markdown index of all Prisma changelogentries that AI tools can fetch to check for recent breaking changes before
implementing Prisma features.
Updates site and docs llms.txt surfaces to reference the changelog and include
guidance to verify against it before relying on training data.
Linear: DR-8494
Summary by CodeRabbit
New Features
Documentation