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)
Mon, Dec 16, 8:38 AM
Unknown Object (File)
Mon, Dec 16, 8:38 AM
Unknown Object (File)
Mon, Dec 16, 8:37 AM
Unknown Object (File)
Mon, Dec 16, 7:43 AM
Unknown Object (File)
Fri, Dec 6, 7:41 PM
Unknown Object (File)
Nov 24 2024, 12:47 PM
Unknown Object (File)
Nov 24 2024, 12:20 PM
Unknown Object (File)
Nov 24 2024, 10:58 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