Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster room joins: Add happy path tests for device list tracking #475

Merged
merged 8 commits into from
Sep 29, 2022

Conversation

squahtx
Copy link
Contributor

@squahtx squahtx commented Sep 23, 2022

This change tests device list tracking for pre-existing and new members
in partial state rooms.

In particular, we test that:

  • remote device lists are correctly cached or not cached
  • local users are told about potential device list changes in /sync's
    device_lists.changed/left
  • local users are told about potential device list changes in /keys/changes

Best reviewed commit by commit.
The first half of the commits overlap with #473.

@squahtx squahtx force-pushed the squah/faster_room_joins_device_list_tracking_incoming_1 branch from 7526731 to 58dfb70 Compare September 23, 2022 18:45
@squahtx
Copy link
Contributor Author

squahtx commented Sep 23, 2022

Expected to fail until the last bullet in matrix-org/synapse#12993 (comment) is resolved.

@richvdh
Copy link
Member

richvdh commented Sep 28, 2022

Now that matrix-org/synapse#13913 is merged, this should pass?

@richvdh
Copy link
Member

richvdh commented Sep 28, 2022

(I kicked CI)

@squahtx
Copy link
Contributor Author

squahtx commented Sep 28, 2022

Now that matrix-org/synapse#13913 is merged, this should pass?

Yes, that's right. And it looks like it does.

@squahtx squahtx merged commit cde55d3 into main Sep 29, 2022
@squahtx squahtx deleted the squah/faster_room_joins_device_list_tracking_incoming_1 branch September 29, 2022 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants