-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Complement Adding a push rule wakes up an incremental /sync
is consistently failing
#14456
Comments
"Flakey" might mean that Synapse is broken. The tests are about a month old (matrix-org/complement#488). |
Running a git bisect points the finger at #14376 |
Adding a push rule wakes up an incremental /sync
is flakeyAdding a push rule wakes up an incremental /sync
is consistently failing
I'm using Edit: or the slightly fancier SYNAPSE_TEST_LOG_LEVEL=DEBUG COMPLEMENT_DIR=../complement scripts-dev/complement.sh -run 'TestPushSync' -json | gotestfmt | tee test | less |
I think that synapse/synapse/storage/databases/main/account_data.py Lines 357 to 359 in 36097e8
|
According to Erik, this condition synapse/synapse/storage/util/id_generators.py Line 256 in 36097e8
should be I'll see if I can hack together a unit test which would detect this. |
Aha great spot @DMRobertson! Wild that this wasn't picked up in the tests earlier! EDIT: thank you both! |
Spotted by @erikjohnston. Closes #14456.
Spotted by @erikjohnston. Closes #14456.
* Add tests for StreamIdGenerator * Drive-by: annotate all defs * Revert "Revert "Remove slaved id tracker (#14376)" (#14463)" This reverts commit d63814f, which in turn reverted 36097e8. This restores the latter. * Fix StreamIdGenerator not handling unpersisted IDs Spotted by @erikjohnston. Closes #14456. * Changelog Co-authored-by: Nick Mills-Barrett <nick@fizzadar.com> Co-authored-by: Erik Johnston <erik@matrix.org>
* Add tests for StreamIdGenerator * Drive-by: annotate all defs * Revert "Revert "Remove slaved id tracker (#14376)" (#14463)" This reverts commit d63814f, which in turn reverted 36097e8. This restores the latter. * Fix StreamIdGenerator not handling unpersisted IDs Spotted by @erikjohnston. Closes #14456. * Changelog Co-authored-by: Nick Mills-Barrett <nick@fizzadar.com> Co-authored-by: Erik Johnston <erik@matrix.org>
and it's irritating me.
https://github.com/matrix-org/synapse/actions/runs/3472783471/jobs/5804115166 e.g.
From early debugging it looks
{}
for our troublesThe text was updated successfully, but these errors were encountered: