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
F3360474: D11496.id38643.diff
Sun, Nov 24, 12:47 PM
F3360156: D11496.id38609.diff
Sun, Nov 24, 12:20 PM
F3359803: D11496.diff
Sun, Nov 24, 10:58 AM
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
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