[iris] Compress checkpoints with zstd, prune old ones, improve restart UX#4143
Merged
[iris] Compress checkpoints with zstd, prune old ones, improve restart UX#4143
Conversation
…t UX Checkpoint sqlite3 files are now compressed with zstandard (level 3) before upload. Downloads prefer .zst but fall back to uncompressed for backward compat. Old checkpoints (>3 days) are pruned best-effort after each write. The restart command gains --skip-checkpoint and --checkpoint-timeout (default 5 min) flags with progress feedback.
yonromai
approved these changes
Mar 25, 2026
Contributor
yonromai
left a comment
There was a problem hiding this comment.
Approved.
I did not find a clear correctness regression in this change. The checkpoint format migration stays backward-compatible on restore, the pruning path is best-effort rather than on the critical path, and the focused checkpoint test file passed locally.
Residual risk is mostly around the new restart CLI flags being validated by static review rather than dedicated CLI tests in this PR.
Generated with Codex.
Helw150
pushed a commit
that referenced
this pull request
Apr 8, 2026
…t UX (#4143) Checkpoint sqlite3 files are now compressed with zstandard (level 3) before upload to remote storage. Downloads prefer .zst but fall back to uncompressed files for backward compatibility with checkpoints written before this change. Old checkpoints older than 3 days are pruned best-effort after each write. The controller restart command gains --skip-checkpoint and --checkpoint-timeout (default 5 minutes, was hardcoded 60s) flags, with progress feedback printed before the RPC call.
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.
Checkpoint sqlite3 files are now compressed with zstandard (level 3) before
upload to remote storage. Downloads prefer .zst but fall back to uncompressed
files for backward compatibility with checkpoints written before this change.
Old checkpoints older than 3 days are pruned best-effort after each write.
The controller restart command gains --skip-checkpoint and --checkpoint-timeout
(default 5 minutes, was hardcoded 60s) flags, with progress feedback printed
before the RPC call.