Conversation
…er_output, and webpages_text Consolidates sc-42543 and sc-42544 into a single weekly job (Sunday 2AM UTC). Dumps all three large collections sequentially and uploads each as its own tarball. Rotation keeps 3 weeks of snapshots. Controlled by backup.mongo.extraBackupEnabled. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…y loops Retry loops for linker_output and webpages_text were missing the rm -rf cleanup before retrying, unlike the history loop. Without this, a partial dump from a failed attempt could persist on disk and be silently uploaded as a corrupt backup on a subsequent retry. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
BrendanGalloway
approved these changes
Mar 11, 2026
🧪 CI InsightsHere's what we observed from your CI run for 17dcde4. 🟢 All jobs passed!But CI Insights is watching 👀 |
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.
Summary
0 2 * * 0— Sunday 2 AM UTC)history,linker_output, andwebpages_textsequentially in one initContainer; uploads each as a separate tarballbackup.mongo.extraBackupEnabledflag (disabled by default, enabled in production)Shortcut: sc-42601 (subtask of sc-42396)
Files changed
helm-chart/sefaria/templates/cronjob/mongo-backup-extra.yamlhelm-chart/sefaria/templates/configmap/create-extra-backup-dumps.yamlhelm-chart/sefaria/templates/configmap/upload-extra-backup-dumps.yamlhelm-chart/sefaria/values.yamlextraBackupEnabled: falsebuild/ci/production-values.yamlextraBackupEnabled: trueTest plan
helm templatewithextraBackupEnabled: truerenders all 3 resources (CronJob + 2 ConfigMaps)helm templatewith default values (flag absent/false) renders 0 extra resources🤖 Generated with Claude Code