Page MenuHomePhabricator

[lib] Fix keyserver sending updated RoleInfos to old clients
ClosedPublic

Authored by ashoat on Mar 31 2024, 7:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 2:24 PM
Unknown Object (File)
Tue, May 7, 2:24 PM
Unknown Object (File)
Tue, May 7, 2:23 PM
Unknown Object (File)
Tue, May 7, 2:22 PM
Unknown Object (File)
Apr 13 2024, 2:22 PM
Unknown Object (File)
Apr 11 2024, 10:38 AM
Unknown Object (File)
Apr 10 2024, 6:27 PM
Unknown Object (File)
Apr 9 2024, 3:46 AM
Subscribers

Details

Summary

@atul's recent changes caused a major issue where new RoleInfos were being delivered to older clients, causing validation failures.

This diff makes it so keyserver can continue outputting the old-style RoleInfos to current clients.

Test Plan

I deployed this to prod and:

  1. Confirmed web app refreshed without issue
  2. Confirmed web app could log out / back in
  3. Confirmed native could receive a message without seeing validation errors
  4. Confirmed native could press a notif without seeing validation errors
  5. Confirmed native could log out / back in

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat published this revision for review.Mar 31 2024, 7:15 PM

Thanks for catching and resolving this.

I definitely thought through this scenario, specifically when I introduced https://phab.comm.dev/D11286... shouldn't have missed it.

This revision is now accepted and ready to land.Apr 1 2024, 12:43 PM