Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Enable spaces summary (MSC2946) tests in complement #9756

Closed
7 tasks
clokep opened this issue Apr 6, 2021 · 3 comments · Fixed by matrix-org/complement#101 or #9771
Closed
7 tasks

Enable spaces summary (MSC2946) tests in complement #9756

clokep opened this issue Apr 6, 2021 · 3 comments · Fixed by matrix-org/complement#101 or #9771
Assignees
Labels
A-Spaces Hierarchical organization of rooms T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Comments

@clokep
Copy link
Member

clokep commented Apr 6, 2021

(Making this here, not the complement repo, since it probably requires some implementation changes?)

We should run the Spaces Summary tests in complement with Synapse. They do not currently pass, however.

Things to do:

  • Enable spaces in the homeserver config.
  • Enable the msc2946 build tag for complement.sh
  • Fix broken tests:
    • query whole graph
    • max_rooms_per_space
    • limit
    • redact link

Related to #9446

Note that the federation tests do pass, it is just a few of the client tests which fail.

@clokep clokep added T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. A-Spaces Hierarchical organization of rooms labels Apr 6, 2021
@clokep clokep self-assigned this Apr 6, 2021
@clokep
Copy link
Member Author

clokep commented Apr 6, 2021

@richvdh was there any other context for this? I failed to record in my notebook what you thought the issue was? From looking into this a bit I think it is the extra link that goes back up to the root that Dendrite and Synapse are handling differently. If you remember any context I'd love to hear it, but if not that's OK!

@clokep
Copy link
Member Author

clokep commented Apr 6, 2021

Ah, if I recall it was something about the Dendrite implementation looking both "up" and "down" the tree when generating the summary, but Synapse only looking "down"? Do we think the solution is to match the Dendrite implementation or update the tests?

@richvdh
Copy link
Member

richvdh commented Apr 7, 2021

sorry, just found this. As discussed earlier: I think we probably want to update the tests to match the latest thinking on the behaviour for the API... then at some point Dendrite will probably have to be updated too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Spaces Hierarchical organization of rooms T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Projects
None yet
2 participants