Source search-labs content from Contentstack instead of crawling - #3887
Open
Mpdreamz wants to merge 1 commit into
Open
Source search-labs content from Contentstack instead of crawling#3887Mpdreamz wants to merge 1 commit into
Mpdreamz wants to merge 1 commit into
Conversation
search-labs (blog, tutorials, notebooks, integrations) is now published through Contentstack, so essc unblocks the relevant content types, adds rich-text (ProseMirror JSON) body/description mapping for them, and stops crawling search-labs in the labs pipeline. Also retries Contentstack's transient 422s, which previously aborted production sync runs before finalize. Co-Authored-By: Claude Sonnet 5 (1M context) <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
reakaleek
approved these changes
Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
search-labs (blog, tutorials, notebooks, integrations) is now published through Contentstack rather than only existing as crawlable HTML, and the production Contentstack sync was intermittently failing on transient 422 responses, aborting the whole run before finalize.
What
esscnow sources search-labs content from Contentstack instead of crawling it: the relevant content types are unblocked inSourcingState, andContentStackMappergained rich-text (ProseMirror JSON) body/description extraction to handle their structure, plus asearch-labs/glossarynavigation-section classification consistent with the labs crawler's existing labels. Thelabscrawler no longer discovers or crawls the search-labs sitemap. Separately, the Contentstack HTTP client's resilience policy now retries422 Unprocessable Entityalongside the existing transient-status handling, fixing the production sync failures.How
Rich-text bodies/descriptions arrive as a ProseMirror-style JSON AST (
{ type, children, text }) rather than the HTML strings every other content type uses. Instead of a parallel JSON-aware text/heading extractor, a newRenderRichTextwalker renders that AST into a lightweight HTML-ish string, so it flows through the existingStripHtml/ExtractHeadingsregex pipeline unchanged.Made with Cursor