Skip to content

A test keeps the 2,000-message cap off Signal history, as the age rule already has one - #1037

Closed
unRekable wants to merge 1 commit into
mainfrom
fix/signal-history-cap-test
Closed

unRekable wants to merge 1 commit into
mainfrom
fix/signal-history-cap-test

Conversation

@unRekable

Copy link
Copy Markdown
Collaborator

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 on Store::prune now says that Signal is left whole.

Type

  • feature
  • fix
  • perf
  • refactor
  • chore
  • docs

Platforms

  • windows
  • macos
  • linux
  • android
  • ios

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, then cargo nextest run --workspace --features tinyclient/gui (3679 passed, 28 skipped, the new test among them), then cargo 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 docs change: docs/architecture.md and the pages under docs/product/ still describe retention without the Signal exception.

…rsation whole and still trims a network that serves its messages again
@itz4blitz

Copy link
Copy Markdown
Collaborator

Shipped in the 0.2.94 release via #1046.

@itz4blitz itz4blitz closed this Dec 5, 2026
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