-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add tests for MSC3787 #367
Conversation
I don't feel it's fair to ask a contributor to also write the gomatrixserverlib changes for something like this, so sending up for review as-is. |
For Thursday meeting: the synapse-core team needs to figure out how to resource this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - re gomatrixserverlib changes: it's acceptable to have just Synapse <-> Synapse and Client <-> Synapse tests for now, but it's incomplete without Complement <-> Synapse federation tests, which implies changes to gomatrixserverlib to add support for this room version.
I feel it is unfair to just leave those changes for inevitably the Dendrite team (who use gomatrixserverlib). The onus should be on the person implementing feature X to add support for the test framework to talk feature X IMO.
Sytest also has to do this, but the difference here is that Complement actually implements the Matrix federation protocol, unlike Sytest which just does the absolute bare minimum checks in https://github.com/matrix-org/sytest/tree/develop/lib/SyTest/Federation
I think this just needs matrix-org/synapse#12623 and we can merge it? |
I reran CI and it's still unhappy because the big
|
I have no idea what I'm doing either. In this CI run by Sean. There were three failures:
In the most recent CI run, two of those failures now pass. The middle one remains.
|
Nice job getting it working! I think you've found a legitimate test failure. I found three places in Synapse where we consider the https://github.com/matrix-org/synapse/blob/942c30b16b86cb05d2109b13bc2c1dc9ac2fea70/synapse/handlers/room_summary.py#L664-L668 The next step would be to figure out what those three places should do and fix Synapse? |
I assume @DMRobertson is working on this and its not ready yet for review? If its please just shove it back on the queue |
This passes now. I don't know what the next steps are. For cross-referencing:
|
Some tests are enabled on dendrite now, it seems
Yes please — since we squash commits into GMSL, it's best to pin commit IDs from the |
Disclaimer: I have no idea what I'm doing, but tried to reduce code duplication as much as possible.
See diff.