-
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 MSC2716 and backfilling history #68
Commits on Jan 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 15ba451 - Browse repository at this point
Copy the full SHA 15ba451View commit details
Commits on Jan 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 55c5a8c - Browse repository at this point
Copy the full SHA 55c5a8cView commit details -
Switch to fire and forget sending over historical events which we don…
…'t expect to sync
Configuration menu - View commit details
-
Copy full SHA for 70036ac - Browse repository at this point
Copy the full SHA 70036acView commit details
Commits on Jan 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dabdf5a - Browse repository at this point
Copy the full SHA dabdf5aView commit details
Commits on Feb 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6b77b29 - Browse repository at this point
Copy the full SHA 6b77b29View commit details
Commits on Feb 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2b2a53f - Browse repository at this point
Copy the full SHA 2b2a53fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 975665d - Browse repository at this point
Copy the full SHA 975665dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 110352f - Browse repository at this point
Copy the full SHA 110352fView commit details
Commits on Feb 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8bbb929 - Browse repository at this point
Copy the full SHA 8bbb929View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22292b5 - Browse repository at this point
Copy the full SHA 22292b5View commit details
Commits on Feb 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3c332ba - Browse repository at this point
Copy the full SHA 3c332baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1675fec - Browse repository at this point
Copy the full SHA 1675fecView commit details
Commits on Feb 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 54061cb - Browse repository at this point
Copy the full SHA 54061cbView commit details
Commits on Feb 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3973312 - Browse repository at this point
Copy the full SHA 3973312View commit details
Commits on Feb 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5a71989 - Browse repository at this point
Copy the full SHA 5a71989View commit details
Commits on Feb 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c607f8d - Browse repository at this point
Copy the full SHA c607f8dView commit details
Commits on Feb 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fe050a9 - Browse repository at this point
Copy the full SHA fe050a9View commit details
Commits on Feb 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7625067 - Browse repository at this point
Copy the full SHA 7625067View commit details
Commits on Feb 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7d70586 - Browse repository at this point
Copy the full SHA 7d70586View commit details
Commits on Feb 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9292cf8 - Browse repository at this point
Copy the full SHA 9292cf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4400459 - Browse repository at this point
Copy the full SHA 4400459View commit details -
Configuration menu - View commit details
-
Copy full SHA for 606eca3 - Browse repository at this point
Copy the full SHA 606eca3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a8ccf1 - Browse repository at this point
Copy the full SHA 2a8ccf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dd26ef - Browse repository at this point
Copy the full SHA 1dd26efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f96f44 - Browse repository at this point
Copy the full SHA 4f96f44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f8c5c1 - Browse repository at this point
Copy the full SHA 7f8c5c1View commit details -
Add application service support to blueprints
Split out from #68
Configuration menu - View commit details
-
Copy full SHA for cf4d8e9 - Browse repository at this point
Copy the full SHA cf4d8e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee1ed9f - Browse repository at this point
Copy the full SHA ee1ed9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 614c66e - Browse repository at this point
Copy the full SHA 614c66eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccb20e6 - Browse repository at this point
Copy the full SHA ccb20e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12e6ec0 - Browse repository at this point
Copy the full SHA 12e6ec0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d1e9bf - Browse repository at this point
Copy the full SHA 0d1e9bfView commit details -
Some nits and remove the volume paths
- Seems like the `Volumes` syntax is to create an anonymous volume, https://stackoverflow.com/a/58916037/796832 - And lots of people not knowing what `Volumes` syntax is or what to do. Seems like Mounts is the thing to use - fsouza/go-dockerclient#155 - https://stackoverflow.com/questions/55718603/golang-docker-library-mounting-host-directory-volumes - https://stackoverflow.com/questions/48470194/defining-a-mount-point-for-volumes-in-golang-docker-sdk
Configuration menu - View commit details
-
Copy full SHA for 1b19990 - Browse repository at this point
Copy the full SHA 1b19990View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d9c3b9 - Browse repository at this point
Copy the full SHA 2d9c3b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1f07c2 - Browse repository at this point
Copy the full SHA c1f07c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e08e8c8 - Browse repository at this point
Copy the full SHA e08e8c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f78441 - Browse repository at this point
Copy the full SHA 2f78441View commit details -
Configuration menu - View commit details
-
Copy full SHA for 169a60d - Browse repository at this point
Copy the full SHA 169a60dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dd18af - Browse repository at this point
Copy the full SHA 0dd18afView commit details
Commits on Feb 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c6155af - Browse repository at this point
Copy the full SHA c6155afView commit details -
Configuration menu - View commit details
-
Copy full SHA for be23da8 - Browse repository at this point
Copy the full SHA be23da8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f353135 - Browse repository at this point
Copy the full SHA f353135View commit details
Commits on Feb 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 30b4f6a - Browse repository at this point
Copy the full SHA 30b4f6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 312feaa - Browse repository at this point
Copy the full SHA 312feaaView commit details -
Add more messages to fill up sync and limit response
See explanation in matrix-org/synapse#9247 (comment) > Basically, for initial sync we will return the latest N events, which can involve backfilled events, e.g. if you have a graph `A2 -> A1 -> B1 -> B2 -> B3` where An are "live" events and Bn are backfilled events (i.e. the server only has two live events, the rest are backfilled) then initial sync will return `A1`, `A2` and then a bunch of the backfilled events (up to the limit). Incremental syncs from that, however, will just return new events non-backfilled events received after `A2`. > > So I'm wondering if your tests are correctly seeing some backfilled events, due to the server not having enough non-backfilled recent events to fill up the timeline section in the initial sync
Configuration menu - View commit details
-
Copy full SHA for 923c41e - Browse repository at this point
Copy the full SHA 923c41eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63a59af - Browse repository at this point
Copy the full SHA 63a59afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 172ecf2 - Browse repository at this point
Copy the full SHA 172ecf2View commit details
Commits on Mar 12, 2021
-
Proper message order using Synapse backfilled events and point all to…
… the insert point See matrix-org/synapse#9247 (comment)
Configuration menu - View commit details
-
Copy full SHA for 711ca3c - Browse repository at this point
Copy the full SHA 711ca3cView commit details
Commits on Mar 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 95b20af - Browse repository at this point
Copy the full SHA 95b20afView commit details -
Configuration menu - View commit details
-
Copy full SHA for dee8369 - Browse repository at this point
Copy the full SHA dee8369View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8978f58 - Browse repository at this point
Copy the full SHA 8978f58View commit details
Commits on Mar 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c5264d3 - Browse repository at this point
Copy the full SHA c5264d3View commit details
Commits on Mar 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 16c50bb - Browse repository at this point
Copy the full SHA 16c50bbView commit details -
State test now passing after we just persist the event in Synapse and…
… skip all the auth stuff
Configuration menu - View commit details
-
Copy full SHA for e8ca419 - Browse repository at this point
Copy the full SHA e8ca419View commit details
Commits on Apr 14, 2021
-
Merge branch 'master' into eric/msc2716-backfilling-history
Conflicts: dockerfiles/synapse/homeserver.yaml
Configuration menu - View commit details
-
Copy full SHA for bfc260e - Browse repository at this point
Copy the full SHA bfc260eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6215726 - Browse repository at this point
Copy the full SHA 6215726View commit details -
Configuration menu - View commit details
-
Copy full SHA for 367db56 - Browse repository at this point
Copy the full SHA 367db56View commit details
Commits on Apr 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 88b4e98 - Browse repository at this point
Copy the full SHA 88b4e98View commit details
Commits on Apr 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 90d8f7e - Browse repository at this point
Copy the full SHA 90d8f7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac8e770 - Browse repository at this point
Copy the full SHA ac8e770View commit details
Commits on May 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e1d203c - Browse repository at this point
Copy the full SHA e1d203cView commit details -
Add tests to ensure historical messages are visible to federated user…
…s who are already in the room
Configuration menu - View commit details
-
Copy full SHA for ec5fc15 - Browse repository at this point
Copy the full SHA ec5fc15View commit details
Commits on May 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7150004 - Browse repository at this point
Copy the full SHA 7150004View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed82752 - Browse repository at this point
Copy the full SHA ed82752View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d65ac7 - Browse repository at this point
Copy the full SHA 8d65ac7View commit details
Commits on May 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0145930 - Browse repository at this point
Copy the full SHA 0145930View commit details -
Merge branch 'eric/msc2716-backfilling-history' of github.com:matrix-…
…org/complement into eric/msc2716-backfilling-history
Configuration menu - View commit details
-
Copy full SHA for 37e086d - Browse repository at this point
Copy the full SHA 37e086dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c720f4 - Browse repository at this point
Copy the full SHA 4c720f4View commit details
Commits on Jun 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f970444 - Browse repository at this point
Copy the full SHA f970444View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ee5ad1 - Browse repository at this point
Copy the full SHA 9ee5ad1View commit details
Commits on Jun 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 35c8f76 - Browse repository at this point
Copy the full SHA 35c8f76View commit details
Commits on Jun 21, 2021
-
Merge branch 'master' into eric/msc2716-backfilling-history
Conflicts: dockerfiles/synapse/workers-shared.yaml internal/client/client.go tests/msc2403_test.go
Configuration menu - View commit details
-
Copy full SHA for 3890321 - Browse repository at this point
Copy the full SHA 3890321View commit details -
Configuration menu - View commit details
-
Copy full SHA for 007877f - Browse repository at this point
Copy the full SHA 007877fView commit details -
The name conflict would result in the following error when some alice tests ran before the MSC2716 tests. ``` === RUN TestBackfillingHistory msc2716_test.go:54: Deploy times: 18.499364ms blueprints, 1.581230486s containers msc2716_test.go:60: Deployment.Client - HS name 'hs1' - user ID '@the-bridge-user:hs1' not found ```
Configuration menu - View commit details
-
Copy full SHA for c03e49e - Browse repository at this point
Copy the full SHA c03e49eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3611002 - Browse repository at this point
Copy the full SHA 3611002View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29582e5 - Browse repository at this point
Copy the full SHA 29582e5View commit details
Commits on Jun 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 603fd8f - Browse repository at this point
Copy the full SHA 603fd8fView commit details
Commits on Jun 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b6b615d - Browse repository at this point
Copy the full SHA b6b615dView commit details
Commits on Jun 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9a3da4e - Browse repository at this point
Copy the full SHA 9a3da4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcd84ad - Browse repository at this point
Copy the full SHA dcd84adView commit details -
Revert "Re-use one test setup with sub-tests"
This reverts commit dcd84ad.
Configuration menu - View commit details
-
Copy full SHA for 4875ef8 - Browse repository at this point
Copy the full SHA 4875ef8View commit details
Commits on Jun 30, 2021
-
Add test for multiple senders within a single chunk
Add tests for matrix-org/synapse#10276 Also removes the `?user_id` usage because it's no longer necessary. We now create the proper requester in Synapse for each given sender in the event.
Configuration menu - View commit details
-
Copy full SHA for e56c872 - Browse repository at this point
Copy the full SHA e56c872View commit details
Commits on Jul 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d63fb7f - Browse repository at this point
Copy the full SHA d63fb7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34756a0 - Browse repository at this point
Copy the full SHA 34756a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3224030 - Browse repository at this point
Copy the full SHA 3224030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ac2176 - Browse repository at this point
Copy the full SHA 3ac2176View commit details
Commits on Jul 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1d09b18 - Browse repository at this point
Copy the full SHA 1d09b18View commit details -
Add homeserver name to client request logging to differentiate who/where
Before: ``` === CONT TestBackfillingHistory client.go:356: GET /_matrix/client/r0/sync => 200 OK (31.496008ms) client.go:356: POST /_matrix/client/unstable/org.matrix.msc2716/rooms/!GkmAGvcDmllsuqLgZA:hs1/batch_send => 200 OK (96.308307ms) client.go:356: POST /_matrix/client/r0/join/!GkmAGvcDmllsuqLgZA:hs1 => 200 OK (808.747133ms) client.go:356: GET /_matrix/client/r0/rooms/!GkmAGvcDmllsuqLgZA:hs1/messages => 200 OK (83.415512ms) ``` After: ``` === CONT TestBackfillingHistory client.go:357: GET hs1/_matrix/client/r0/sync => 200 OK (29.885812ms) client.go:357: POST hs1/_matrix/client/unstable/org.matrix.msc2716/rooms/!jbwgZJKNOedwNWRdop:hs1/batch_send => 200 OK (96.173807ms) client.go:357: POST hs2/_matrix/client/r0/join/!jbwgZJKNOedwNWRdop:hs1 => 200 OK (808.849665ms) client.go:357: GET hs2/_matrix/client/r0/rooms/!jbwgZJKNOedwNWRdop:hs1/messages => 200 OK (73.667196ms) ```
Configuration menu - View commit details
-
Copy full SHA for 9c68cb5 - Browse repository at this point
Copy the full SHA 9c68cb5View commit details
Commits on Jul 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1f780ec - Browse repository at this point
Copy the full SHA 1f780ecView commit details
Commits on Jul 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 425206d - Browse repository at this point
Copy the full SHA 425206dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53f5347 - Browse repository at this point
Copy the full SHA 53f5347View commit details
Commits on Jul 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 991e91c - Browse repository at this point
Copy the full SHA 991e91cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b0355b - Browse repository at this point
Copy the full SHA 0b0355bView commit details