You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing line 410 to if (false) { works (you can usually find the file with find "$(npm prefix -g)" -name migrate.mts). Only do this if you understood all warnings from the dry run though and are sure that you want to ignore them.
This behaviour definitely needs to be fixed, as it means that the dry run succeeds but the actual run leaves you with a corrupt MAS database that needs to be deleted and migrated to again from scratch. This is basically the opposite of how a dry run shall normally work.
Describe the bug
syn2mas will skip migrating a user if non-fatal warnings were encountered, such as a non-email 3pid type.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
User is migrated but with the msisdn 3pid missing
Additional context
Discussion in the #matrix-auth:matrix.org room
The problematic piece of code is here:
matrix-authentication-service/tools/syn2mas/src/migrate.mts
Lines 409 to 417 in 1871b2c
The text was updated successfully, but these errors were encountered: