-
-
Notifications
You must be signed in to change notification settings - Fork 6
Switch back to using Sytest dinsic branch #99
Conversation
As part of the 1.31.0 mainline merge, we updated the buildkite pipeline to more closely match mainline. Unfortunately we accidentally also updated the sytest portion verbatim, which meant we were now running Sytest develop against dinsic. This inevitably broke as dinsic started to fall behind mainline again. This commit returns us back to the dinsic tag of matrixdotorg/sytest-synapse, as well as removes some Linux distro variations which we aren't using for dinsic.
The failing Sytest is DINUM-specific -> synapse-dinsic/synapse/rest/client/v2_alpha/user_directory.py Lines 98 to 116 in b293291
That CS endpoint (and thus the federation query handler) is only registered when we have a The other bit of all this is that this |
@anoadragon453 : yes, I confirm |
I'm tempted to move those tests to Synapse's suite rather than Sytest, since I'm not sure it should even live in Sytest (and arguably the whole /info shenanigans should live in a module). @anoadragon453 do you see any reason why it should stay in Sytest? For the record, these tests were added in matrix-org/sytest#741 |
Yeah this is in no way a part of the spec so it should live somewhere in Synapse's domain instead of Sytest. And agreed on the module. |
Alright, I think it'll be easier to just shove it into a module directly, so I'll do that. It will require a change to the URL (since modules can't register paths under |
@babolivier I might advise just modifying the tests for now (or even disabling them as they're testing an endpoint nobody uses anymore) to unblock other work before starting on a new module? |
@anoadragon453 Yes, my plan is to just remove them from Sytest for now to unblock #100, I was mostly considering what should be done after that because I don't want too much time to pass without having any test around this feature, so I'd rather have a plan from the start. |
I've removed the tests in matrix-org/sytest#1078. I have now rebuilt and pushed the dinsic docker images for sytest, so I'm going to kick the failing sytest jobs again and merge this if they pass. |
As part of the 1.31.0 mainline merge (#97), we updated the buildkite pipeline to more closely match mainline. Unfortunately we accidentally also updated the sytest portion verbatim, which meant we were now running the
matrixdotorg/sytest-synapse:buster/testing/etc.
images against synapse-dinsic, when really we wantmatrixdotorg/sytest-synapse:dinsic
.Additionally, and perhaps more importantly, a commit that landed on Sytest develop which reverted some dinsic-specific changes was accidentally merged into
dinsic
.Both of these broke the CI as dinsic started to fall behind mainline again.
This PR specifically returns us back to the dinsic tag of matrixdotorg/sytest-synapse, as well as removes some Linux distro variations which we aren't using for dinsic. While this commit specifically fixes the Sytest portion.
matrixdotorg/sytest:dinsic
andmatrixdotorg/sytest-synapse:dinsic
each were updated and built with Debian buster (10) for this PR: https://hub.docker.com/r/matrixdotorg/sytest-synapse/tags