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

Add tests for or prevent non-member events in state_events_at_start in MSC2716 batch sending #12110

Closed
tulir opened this issue Mar 1, 2022 · 1 comment
Assignees
Labels
A-Testing Issues related to testing in complement, synapse, etc T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@tulir
Copy link
Member

tulir commented Mar 1, 2022

Synapse 1.53 broke this branch of batch sending: https://github.com/matrix-org/synapse/blob/v1.53.0/synapse/handlers/room_batch.py#L232-L253

#12083 seems to somehow fix it, but the feature should get some tests or be removed entirely.

@MadLittleMods MadLittleMods added T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. z-testing labels Mar 1, 2022
@MadLittleMods MadLittleMods self-assigned this Mar 26, 2022
MadLittleMods added a commit to matrix-org/complement that referenced this issue Mar 30, 2022
MadLittleMods added a commit that referenced this issue Mar 30, 2022
Part of #12110

Complement test: matrix-org/complement#354

Previously, they didn't resolve because async `filter_events_for_client`
removes all outlier state except for out-of-band membership.
MadLittleMods added a commit that referenced this issue Apr 4, 2022
…nts (MSC2716) (#12329)

Part of #12110

Complement test: matrix-org/complement#354

Previously, they didn't resolve because async `filter_events_for_client`
removes all outlier state except for out-of-band membership.

And fundamentally, we have the state at these events so they shouldn't be marked as outliers.
MadLittleMods added a commit to matrix-org/complement that referenced this issue Apr 4, 2022
@MadLittleMods
Copy link
Contributor

Closing as #12329 was merged to fix this use case in Synapse and Complement tests added in matrix-org/complement#354

@richvdh richvdh added A-Testing Issues related to testing in complement, synapse, etc and removed z-testing labels Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Testing Issues related to testing in complement, synapse, etc T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

3 participants