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)
Wed, Nov 13, 12:59 AM
Unknown Object (File)
Wed, Nov 13, 12:04 AM
Unknown Object (File)
Wed, Nov 13, 12:04 AM
Unknown Object (File)
Tue, Nov 12, 10:08 PM
Unknown Object (File)
Oct 11 2024, 10:12 AM
Unknown Object (File)
Oct 11 2024, 10:11 AM
Unknown Object (File)
Oct 11 2024, 9:53 AM
Unknown Object (File)
Oct 11 2024, 9:02 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
Branch
ashoat/fixprod
Lint
No Lint Coverage
Unit
No Test Coverage

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