Mark /relations endpoint as usable on workers.
This has always been safe to my knowledge, but now there are complement tests (matrix-org/complement#467).
Fixes #12290
For what it's worth, I get an error on isolated client_reader tests. My test repo
Hmmm, maybe we're not mounting that properly, but why isn't it failing in this repo?! 😢
The Complement testing machinery on the synapse side defines what workers are being used, which is not a full set. Only known good workers are utilized. I believe it's declared in start_for_complement.sh or such? On Mon, Oct 3, 2022, 3:13 PM Patrick Cloke @.***> wrote:
Hmmm, maybe we're not mounting that properly, but why isn't it failing in this repo?! 😢
— Reply to this email directly, view it on GitHub https://github.com/matrix-org/synapse/pull/14028#issuecomment-1265976131, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMCKHN7EOKBO4DP7VALGVLWBM455ANCNFSM6AAAAAAQ3XUQG4 . You are receiving this because you commented.Message ID: @.***>
Ah ok, so this goes to my comment above saying that I don't. Now if adding the config is all that's needed. Thanks for answering!
That looks good for testing with the docker image. Outside of that is out of my scope of expertise. For example: I don't know enough about the internals of how generic_workers become actual workers to say that defining an endpoint and giving it an arbitrary name is sufficient. Documentation is...misleading, in this aspect.
Can you update the
docs/workers.mddocumentation please?
This PR already updates that w/ the new endpoint. Is there an additional change you'd like to see?
Can you update the
docs/workers.mddocumentation please?This PR already updates that w/ the new endpoint. Is there an additional change you'd like to see?
I swear that wasn't there before!!!!