Skip to content

fix: clear additional cartridge keys on disconnect#96

Merged
tarrencev merged 2 commits intomainfrom
fixdisconnect-rs
Feb 13, 2026
Merged

fix: clear additional cartridge keys on disconnect#96
tarrencev merged 2 commits intomainfrom
fixdisconnect-rs

Conversation

@tarrencev
Copy link
Contributor

Summary

  • Extend 'clear_controller_storage' to remove additional '@cartridge/*' entries that can persist across disconnect:
    • '@cartridge/features'
    • per-address policy keys under '@cartridge/policies//...'
    • domain-scoped active keys matching '@cartridge/{http,https}://.../active'
  • Keep existing scoped cleanup behavior for account/session/deployment/admin keys and active/controller selectors.

Testing

  • Added coverage in to assert:
    • policy entries for the disconnected address are removed
    • is removed
    • domain active key is removed
    • disconnected-address policy for one account is removed while other-address policy persists

@tarrencev tarrencev merged commit cc79095 into main Feb 13, 2026
5 checks passed
@tarrencev tarrencev deleted the fixdisconnect-rs branch February 13, 2026 22:09
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.

1 participant

Comments