Page MenuHomePhabricator

[lib] Don't send activity updates for pending threads
ClosedPublic

Authored by michal on Jul 13 2023, 5:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 19, 6:45 PM
Unknown Object (File)
Wed, Jun 19, 6:45 PM
Unknown Object (File)
Wed, Jun 19, 6:45 PM
Unknown Object (File)
Thu, Jun 13, 3:55 AM
Unknown Object (File)
Wed, Jun 12, 12:51 AM
Unknown Object (File)
Mon, Jun 10, 7:23 PM
Unknown Object (File)
May 17 2024, 5:27 PM
Unknown Object (File)
May 15 2024, 8:58 PM
Subscribers

Details

Summary

ENG-4393

After activating id migration, activityUpdateResponder started throwing errors, because the conversion logic didn't expect pending ids. This diff stops clients from sending updates for pending thread. They were already ignored by the keyserver anyway, so there should be no behaviour changes on the keyserver.

Test Plan
  • Create a new pending thread
    • Without this diff there are invalid_client_id_prefix in the keyserver console. After this diff there are no error.
  • Checked that activity updates for other threads are still sent

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Will this solve the problem for older clients? Or are older clients unaffected due to hasMinStateVersion checks?

EDIT – this was answered on Linear here

This revision is now accepted and ready to land.Jul 17 2023, 5:08 AM