In #16271 I asked to see debug SQL logs to understand what exactly the user directory rebuild was doing. Unfortunately the logs didn't include the list of values given to the SQL statement:
With my change, I ran the same(ish) logic using SYNAPSE_POSTGRES=1 SYNAPSE_TEST_LOG_LEVEL=DEBUG trial tests.storage.test_user_directory and observed e.g.
Failed due to a known flake. I also re-ran the test with SYNAPSE_TEST_LOG_LEVEL=INFO and sanity-checked that we didn't log any sql values by grepping the test logs for values.
In #16271 I asked to see debug SQL logs to understand what exactly the user directory rebuild was doing. Unfortunately the logs didn't include the list of values given to the SQL statement:
With my change, I ran the same(ish) logic using
SYNAPSE_POSTGRES=1 SYNAPSE_TEST_LOG_LEVEL=DEBUG trial tests.storage.test_user_directory
and observed e.g.