Page MenuHomePhabricator

[lib] Pass userStateBeforeRecovery to setNewSession call in resolveKeyserverSessionInvalidation
ClosedPublic

Authored by ashoat on May 28 2024, 10:17 AM.
Tags
None
Referenced Files
F5519206: D12232.id40756.diff
Fri, Apr 11, 2:09 PM
Unknown Object (File)
Thu, Apr 10, 10:28 PM
Unknown Object (File)
Thu, Apr 10, 7:21 PM
Unknown Object (File)
Thu, Apr 10, 4:27 AM
Unknown Object (File)
Sun, Apr 6, 8:30 AM
Unknown Object (File)
Thu, Mar 13, 10:32 AM
Unknown Object (File)
Feb 28 2025, 3:02 PM
Unknown Object (File)
Feb 28 2025, 3:02 PM
Subscribers
None

Details

Summary

This resolves ENG-8244. This was an oversight... we should be passing userStateBeforeRecovery to setNewSession here in order to avoid triggering invalidSessionRecovery.

Test Plan
  1. Log in a test user in a multi-keyserver environment
  2. Delete the user's cookie in MariaDB
  3. Background and foreground the app
  4. Confirm that we no longer trigger a loop of the error mentioned in the Linear task

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage