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
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
Unknown Object (File)
Feb 3 2025, 12:05 PM
Unknown Object (File)
Feb 3 2025, 11:10 AM
Unknown Object (File)
Jan 30 2025, 2:55 PM
Unknown Object (File)
Jan 30 2025, 2:55 PM
Unknown Object (File)
Dec 31 2024, 11:16 AM
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
Lint Not Applicable
Unit
Tests Not Applicable