Page MenuHomePhabricator

Rename new_content_prekeys and new_notif_prekeys
ClosedPublic

Authored by varun on Fri, Jun 14, 8:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 20, 2:16 AM
Unknown Object (File)
Wed, Jun 19, 2:14 PM
Unknown Object (File)
Tue, Jun 18, 3:27 PM
Unknown Object (File)
Tue, Jun 18, 1:20 PM
Unknown Object (File)
Tue, Jun 18, 1:20 PM
Unknown Object (File)
Tue, Jun 18, 1:20 PM
Unknown Object (File)
Tue, Jun 18, 1:18 PM
Unknown Object (File)
Tue, Jun 18, 1:16 PM
Subscribers

Details

Summary

We only upload one of each type of prekey, so these fields should not be plural

Depends on D12436

Test Plan

ran flow, checked all invocations of RefreshUserPrekeys to make sure client code reflected the field name changes

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

fix variable names in identity

shared/protos/identity_auth.proto
86–92 ↗(On Diff #41340)

keep lines under 80 characters

shared/protos/identity_unauth.proto
70–71 ↗(On Diff #41340)

unrelated formatting change to match style guide

varun requested review of this revision.Fri, Jun 14, 9:13 AM

Proto changes won't break compatibility, right?

This revision is now accepted and ready to land.Fri, Jun 14, 2:39 PM

Proto changes won't break compatibility, right?

they will. we need to do a new staging release right after this stack is landed. we will also need to do a new keyserver release when we do the next identity prod release

we will also need to do a new keyserver release when we do the next identity prod release

Next keyserver release includes a major migration that will probs take 15-30min to process, so I'm planning to do it late at night. Does that mean the identity release needs to happen late at night as well? Will any bad things happen if I deploy keyserver without identity being updated as well?

we will also need to do a new keyserver release when we do the next identity prod release

Next keyserver release includes a major migration that will probs take 15-30min to process, so I'm planning to do it late at night. Does that mean the identity release needs to happen late at night as well? Will any bad things happen if I deploy keyserver without identity being updated as well?

your keyserver will not be able to send new prekeys to identity during prekey rotation if you deploy keyserver without identity being updated as well. maybe this is fine? we could manually run the prekey rotation cron job the following morning after we do the identity prod release. we could also exclude this commit (2842940) from the keyserver release and then do a separate keyserver release with just this commit during the day at the same time as the identity prod release