Repository navigation
Conversation
…rsation whole and still trims a network that serves its messages again
4 of 11 tasks
Collaborator
|
Shipped in the 0.2.94 release via #1046. |
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.
What changed and why
Retention spares Signal, because no request brings one of its messages back (the fix for #1016, in #1028). The age rule had a test; the 2,000-per-conversation cap had none, so taking Signal off that side broke nothing. A test now fills a Discord and a Signal conversation with 2,100 recent messages each, runs
prune, and checks that Discord's oldest 100 went and that Signal's all stay. The doc comment onStore::prunenow says that Signal is left whole.Type
Platforms
Proof
No scenario: only a test and one doc sentence change, nothing changes for the user. The behaviour is the fix in #1028, with its scenario
e2e/scenarios/audit-signal-history-kept. Run on this branch on Windows before this pull request:cargo build --workspace --all-targets --features tinyclient/gui, thencargo nextest run --workspace --features tinyclient/gui(3679 passed, 28 skipped, the new test among them), thencargo test --workspace --doc --features tinyclient/gui.Not shown: the issue's live "Verify" step (a linked Signal account, a history transfer, seven days and a daily prune). That needs a real account and was not run.
Compatibility
No protocol change.
Risk and rollback
Nothing changes for the user. Revert the commit.
Release note
None.
Part of #1016. Left for a
docschange:docs/architecture.mdand the pages underdocs/product/still describe retention without the Signal exception.