Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion modules/persistence/src/services/pages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,12 @@ const updatePages = async (pages: Page[], collection: string, githubUser: string
console.time(timerLabel);

try {
// TEMPORARY FIX FOR NETLIFY BUILDS
// TODO: DOP-5405 remove parser user from page id
const pageIdPrefix = pages[0].page_id.split('/').slice(0, 3).join('/').replace('buildbot', 'docsworker-xlarge');

// Find all pages that share the same project name + branch. Expects page IDs
// to include these two properties after parse
const pageIdPrefix = pages[0].page_id.split('/').slice(0, 3).join('/');
const previousPagesCursor = await findPrevPageDocs(pageIdPrefix, collection, githubUser);
const { mapping: prevPageDocsMapping, pageIds: prevPageIds } = await createPageAstMapping(previousPagesCursor);

Expand Down
Loading