magicblock-labs / magicblock-labs/redsuite
Validate subscription recovery under cache pressure
- Dominant language
- Rust
- Stars
- 1
- Forks
- 0
- Avg merge
- 3h 58m
- Merged PRs (30d)
- 48
Description
Outcome
Reconnection and cache eviction must not remove protected accounts, overwrite local execution, or lose the tracking needed to finish undelegation.
The current LRU scenarios measure eviction and refetch behavior without combining it with these account lifecycle states.
Scope
Prepare three groups: read-only accounts updated on base, delegated accounts modified only on ER, and accounts waiting for undelegation completion.
Access enough additional read-only accounts to force cache churn. Repeatedly disconnect base WebSockets, create new subscriptions while resubscription is running, and release delayed older observations after newer state has been seen through another channel.
Continue transactions using already-materialized delegated accounts throughout the sequence.
Acceptance criteria
- Delegated and undelegating accounts remain present and cannot be replaced by stale remote state.
- Read-only accounts eventually reflect the latest confirmed base values.
- Undelegation completion is still discovered during or after reconnect.
- Warmed traffic and new subscriptions recover within the scenario deadline rather than remaining permanently stalled.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.