docs(nx-cloud): document record expiration and align file server default with hash window#189
Merged
Merged
Conversation
…ver default to 29 days The legacy `clearRecordsOlderThanDays` value kept the file server's `NX_CACHE_EXPIRATION_PERIOD_IN_DAYS` and the aggregator's hash expiration env vars in sync. It was removed in v1 with no replacement documented in MIGRATION.md. The v1 chart shipped `NX_CACHE_EXPIRATION_PERIOD_IN_DAYS: "1"` while leaving the aggregator env unset — so by default Mongo retained hashes for 28 days but files were deleted after 1, producing "artifact not found" errors on cache reads for ~27 days after install. This change: - bumps the chart's file server default to 29 (one day past the aggregator's 28-day hash default) and explains why in a comment - adds a "Configuring record and artifact expiration" section to MIGRATION.md covering defaults, the safe-ordering rule, and an override example - patch-bumps the chart to 1.2.4
joshvanallen
approved these changes
Apr 29, 2026
stevepentland
approved these changes
Apr 29, 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.
The issue
clearRecordsOlderThanDaysremoved in v1The fix
1→291.2.4