Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOP-5395: Persistence Module not updating updated_documents collection #1082

Merged
merged 3 commits into from
Feb 13, 2025

Conversation

anabellabuckvar
Copy link
Contributor

@anabellabuckvar anabellabuckvar commented Feb 13, 2025

Stories/Links:

DOP-5395
Persistence Module not updating updated_documents collection

Notes

Hotfix so that persistence module updates and uploads all documents with 'docsworker-xlarge' as the parser user. Should be undone in DOP-5405

Example: { page_id:
"compass/docsworker-xlarge/master/query-with-natural-language" }

README updates

    • This PR introduces changes that should be reflected in the README, and I have made those updates.
    • This PR does not introduce changes that should be reflected in the README

@@ -267,9 +267,16 @@ 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 pageIdArr = pages[0].page_id.split('/').slice(0, 3);
Copy link
Contributor

@branberry branberry Feb 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'll probably be better to use replace as the index of where buildbot might be could change.

@anabellabuckvar anabellabuckvar merged commit 79dd628 into main Feb 13, 2025
8 of 9 checks passed
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.

2 participants