Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
✅ CMS Sync Successful Content has been synced to Strapi CMS with deployment status: 📊 Summary
🔗 RelationsThe following relations were automatically resolved:
📄 Processed DocumentsView 10 document(s)
|
|
Claude finished @manika-signoz's task in 1m 33s —— View job PR Review: hotfix: fix oom build issue
SummaryThe mechanical replacement of IssuesStale references to These files still tell authors/agents to use the removed component:
These should be updated in this PR to avoid confusing future contributors who follow the authoring guide or use the template. Fix stale contributing references → Checklist items from PR description
VerdictThe core change is sound — straightforward find-and-replace with no semantic difference. The one actionable gap is the stale contributing docs/templates listed above, which should be fixed to keep the authoring guide consistent with the codebase. --- | Branch: |
|
✅ CMS Sync Successful Content has been synced to Strapi CMS with deployment status: 📊 Summary
🔗 RelationsThe following relations were automatically resolved:
📄 Processed DocumentsView 10 document(s)
|
|
✅ CMS Sync Successful Content has been synced to Strapi CMS with deployment status: 📊 Summary
🔗 RelationsThe following relations were automatically resolved:
📄 Processed DocumentsView 10 document(s)
|
This reverts commit a09b0d3.
Summary
Removes the
KeyPointCalloutMDX component and replaces all usages withAdmonition, which was already the underlying implementation. Updates MDX component registration, agent markdown stubs, and related tests.Motivation / Problem
Large Next.js builds were hitting memory limits (OOM).
KeyPointCalloutwas a thin wrapper aroundAdmonitionthat added an extra MDX component surface across many pages. Consolidating onAdmonitiondirectly reduces redundant component handling during the build.Changes
KeyPointCalloutfromcomponents/MDXComponents.tsx(previously delegated toAdmonition).<KeyPointCallout …>/</KeyPointCallout>with<Admonition …>/</Admonition>across blog, docs, comparisons, guides, and OpenTelemetry content MDX files.KeyPointCalloutfromKNOWN_AGENT_MDX_COMPONENT_NAMESand remove its stub inutils/docs/agentMarkdownStubs.ts.KeyPointCallout-specific stub and copy-markdown behavior intests/agent-markdown-stubs.test.jsandtests/markdown-core.test.js.Description
This PR eliminates the
KeyPointCalloutabstraction so callouts useAdmonitionin sources and at build time, which should lower memory pressure during production builds while keeping the same on-page UI.Type of Change
data/docs/**data/blog/**app/**,components/**,hooks/**,utils/**, config, etc.next.config.jsredirectsImpact
If breaking change, describe migration steps:
Content authors should use
<Admonition>instead of<KeyPointCallout>; there is no public API change for site visitors.Context & Screenshots
No visual change intended:
KeyPointCalloutrendered asAdmonitionbefore.Before / After (if applicable)
Before: MDX used
<KeyPointCallout title="…">which mapped to<Admonition>inMDXComponents.After: MDX uses
<Admonition title="…">directly; fewer registered MDX components and no duplicate stub path for agent markdown.Checklist
General
maintype: description)For all changes
yarn build) with no errorsyarn lintand fixed any issuesyarn check:doc-redirects/yarn check:docs-metadataif applicable)For docs changes (
data/docs/**)constants/docsSideNav.tsif adding or moving a docpublic/img/docs/<topic>/For blog changes
title,date,author,tags(andcanonicalUrlif applicable)public/img/blog/<YYYY-MM>/For site code changes
For renamed or moved docs
next.config.jsunderasync redirects()constants/docsSideNav.tsyarn check:doc-redirectsto verifyTesting
Steps to test:
yarn buildand confirm the build completes without OOM (compare tomainif needed).KeyPointCalloutand confirm callouts still look correct (collapsed/expanded behavior wheredefaultCollapsedwas used).yarn test(or the relevant test subset for agent markdown / markdown core) and ensure nothing regresses.Note: Submit as Draft by default. Mark "Ready for review" when checks pass and content is ready.