Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in the casefolding script that would cause some deletions to be skipped if e-mail sending was enabled. #489

Merged
merged 6 commits into from Jan 28, 2022

Conversation

reivilibre
Copy link
Contributor

Also have updated a test case to cover this (verified that the test fails originally).

Also have moved the logging to occur before dangerous operations -- but the logging was still extremely useful in the end.

@reivilibre reivilibre requested a review from a team as a code owner January 26, 2022 18:45
Copy link
Contributor

@babolivier babolivier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for bearing with me here. As a nitpick I'd say that it'd be nice if we logged deletion even if dry_run is true, so whoever runs it has a good idea of what should be happening outside of a dry run, but I'm not going to block the PR on that since it was already the case before this change.

@reivilibre
Copy link
Contributor Author

That's fair, but generally this was only really useful for tracking down the bug. There's already INFO-level logging that tells you how many rows would be deleted, so all in all I'm not too worried about it.

@reivilibre reivilibre merged commit 029dbd0 into main Jan 28, 2022
@reivilibre reivilibre deleted the rei/casefolding_goto_considered_harmful branch January 28, 2022 10:56
@babolivier
Copy link
Contributor

Fair enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants