Basically, searching for any instance of `run_in_background(...)` and making sure we wrap the deferred in `make_deferred_yieldable(...)` if we try to `await` the result to make it follow the [Synapse logcontext rules](https://github.com/element-hq/synapse/blob/develop/docs/log_contexts.md). Turns out, we only have this problem in some tests (phew) Part of https://github.com/element-hq/synapse/issues/18905
2 lines
97 B
Plaintext
2 lines
97 B
Plaintext
Fix `run_in_background` not be awaited properly in some tests causing `LoggingContext` problems.
|