Commit Graph

3037 Commits

Author SHA1 Message Date
Jon Chambers 13fc0ffbca Assume that PNI registration IDs are always present on `Device` records 2025-05-14 14:39:11 -04:00
Jon Chambers 93ba6616d1 Perform device list validations in the scope of a pessimistic account lock 2025-05-14 14:39:11 -04:00
Jon Chambers a4b98f38a6 Use a `Callable` for tasks performed within the scope of a pessimistic lock 2025-05-14 14:39:11 -04:00
Jon Chambers b95d08aaea Drop `PqKeysUtil` 2025-05-14 14:39:11 -04:00
Jon Chambers b400d49e77 Require PQ keys when changing numbers or distributing key material 2025-05-14 14:39:11 -04:00
Jon Chambers e43487155f Remove commands for removing accounts/devices without PQ or PNI key material 2025-05-14 14:39:11 -04:00
Jon Chambers dee3723d97 Remove an unused user-agent argument 2025-05-14 14:39:11 -04:00
Jon Chambers b7e986f43c Add an integration test for changing phone numbers 2025-05-14 14:39:11 -04:00
Jon Chambers 664fb23e97 Resolve warnings/suggestions throughout `AccountsTest` 2025-05-14 11:30:59 -04:00
Chris Eager 714ef128a1
Compare using PNI in account reclamation 2025-05-13 16:41:42 -07:00
Ravi Khadiwala 7cf3fce624 Log unexpected account reclaim mismatches 2025-05-13 14:17:18 -05:00
ravi-signal 0cc5431867
Update noise-gRPC protocol errors 2025-05-13 14:16:23 -05:00
Ravi Khadiwala b8d5b2c8ea Match account idle duration in RemoveExpiredBackupsCommand 2025-05-13 14:15:50 -05:00
Ravi Khadiwala 894ca6d290 remove ANDROID_SKIP_LOW_URGENCY_PUSH_EXPERIMENT 2025-05-13 13:59:28 -05:00
Ravi Khadiwala 847b25f695 Add experiment to coalesce android notifications 2025-05-13 13:59:28 -05:00
Ravi Khadiwala 703a05cb15 Support scheduling background FCMs 2025-05-13 13:59:28 -05:00
Jon Chambers 30c194c557
Exclude `RateLimitExceededException` from fail-open checks 2025-05-12 15:24:57 -07:00
Jonathan Klabunde Tomer cc7b030a41
Send disconnection requests after non-API device unlinks 2025-05-06 13:36:41 -07:00
Jon Chambers 7a91c4d5b7 Correct metric names 2025-05-05 13:53:22 -04:00
Jon Chambers 287da6e7e3 Ignore already-locked accounts in PNI key cleanup operations 2025-05-05 13:53:22 -04:00
Katherine 7cf89764e7
Update `FullTreeHead` to use `FullAuditorTreeHead` 2025-05-05 10:44:57 -07:00
Jon Chambers d316c72beb
Add commands for removing accounts/devices without PNI key material 2025-05-05 12:10:47 -04:00
Katherine Yen 82d187cc45 Update key transparency protobufs 2025-05-02 10:40:53 -04:00
Jon Chambers 009252c831 Configure IP-keyed rate limiters to fail open 2025-05-02 10:30:29 -04:00
Jon Chambers 0c1146aaa5 Configure rate limiters with large initial capacities to fail open 2025-05-02 10:30:29 -04:00
Jon Chambers 4fd06594a0 Configure fast-regenerating rate limiters to fail open 2025-05-02 10:30:29 -04:00
Jon Chambers 4e175be88f Allow the "inbound message bytes" limiter to fail open 2025-05-02 10:30:29 -04:00
Jon Chambers 771a700acd Configure fail-open policy on individual rate limiters 2025-05-02 10:30:29 -04:00
Jon Chambers e9bd5da2c3 Allow fail-open behavior for a wider range of exceptions 2025-05-02 10:30:29 -04:00
Jon Chambers f64244f33a Remove an unused TURN rate limiter 2025-05-02 10:30:29 -04:00
ravi-signal 0398e02690
Add NoiseDirect framing protocol 2025-04-30 15:05:05 -05:00
Chris Eager e285bf1a52 Fix test by using generic `exists` command 2025-04-29 13:05:10 -05:00
Jon Chambers 26b3b75054 Only fetch last-resort PQ keys for accounts with linked devices 2025-04-28 16:59:08 -04:00
Jon Chambers cdb651b68f
Add commands for removing devices without PQ keys 2025-04-28 15:45:27 -04:00
Jonathan Klabunde Tomer 21c1d71551 take advantage of list non-nullitude 2025-04-25 10:06:42 -05:00
Jonathan Klabunde Tomer 38befdb260 default lists to empty 2025-04-25 10:06:42 -05:00
Jonathan Klabunde Tomer 63c79173b2 limit prekey uploads to 100 2025-04-25 10:06:42 -05:00
Ameya Lokare d2ad003891 Remove free memory and OS memory gauges 2025-04-25 10:05:29 -05:00
Chris Eager eb89773819 Remove unused parameter 2025-04-25 10:05:18 -05:00
Jon Chambers f62f79c95c Add a counter for cases where clients use both an authenticated identity and UAK when fetching profiles 2025-04-24 11:47:43 -04:00
Jon Chambers 144c4c9223 Add a "sync" dimension to the "sent message" counter 2025-04-24 10:33:39 -05:00
Ravi Khadiwala ab4fc4f459 Add skip low urgency push experiment 2025-04-24 10:32:46 -05:00
Jonathan Klabunde Tomer 51569ce0a5
Use cached partition topology for metrics/logs 2025-04-24 08:29:58 -07:00
Jon Chambers f191c68efc Close remote connections only after all active server calls have completed 2025-04-22 17:00:48 -04:00
Jon Chambers bb8ce6d981 Introduce `ClosableEpoch` 2025-04-22 17:00:48 -04:00
Katherine e0ee75e0d0
Fix Daylight Savings bug in recommended notification time calculation 2025-04-22 16:56:10 -04:00
Jon Chambers 1ef3a230a1 Tag queue size distribution with client platform 2025-04-22 16:55:16 -04:00
Jon Chambers b1805d4bf1 Add a "persisted bytes" counter 2025-04-22 16:55:16 -04:00
Jon Chambers cac979c7fd Count individual persisted messages 2025-04-22 16:55:16 -04:00
Jon Chambers 4072dcdda5 Introduce `DevicePlatformUtil` 2025-04-22 16:55:16 -04:00