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

feat: Run user deletion as a background task #8516

Merged
merged 5 commits into from
Jun 5, 2023
Merged

Conversation

john-gom
Copy link
Contributor

@john-gom john-gom commented Jun 5, 2023

What

User deletion is run as a minion job rather than synchronously

Related issue(s) and discussion

@john-gom john-gom requested a review from a team as a code owner June 5, 2023 11:01
@github-actions github-actions bot added Minion 🏭 Producers Platform https://wiki.openfoodfacts.org/Platform_for_producers Translations We use a non-standard version of GetText, lack language variants support translate.openfoodfacts.org 👥 Users labels Jun 5, 2023
Copy link
Contributor

@stephanegigandet stephanegigandet left a comment

Choose a reason for hiding this comment

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

Wonderful, thank you.

The only thing is for the .po files: in practice we need only to change en.po and common.pot, as the other files will be populated by PRs made through Crowdin. In practice Product Opener uses the English translation if there's no translation in a local language. Could you remove the changes to the other .po files? Otherwise it will create lots of diffs (most of them will be removed unless we already have a translation) in the next Crowdin update.

@sonarcloud
Copy link

sonarcloud bot commented Jun 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Contributor

@stephanegigandet stephanegigandet left a comment

Choose a reason for hiding this comment

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

Thank you!

@stephanegigandet stephanegigandet merged commit 8d0674e into main Jun 5, 2023
15 checks passed
@stephanegigandet stephanegigandet deleted the issue/8270 branch June 5, 2023 15:36
MonalikaPatnaik pushed a commit to aadak99/openfoodfacts-server that referenced this pull request Jun 8, 2023
* Make user deletion a minion job

* Change message

* Change way enqueue is called to avoid issues with tests

* Perltidy fix

* Rever PO file changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Minion 🏭 Producers Platform https://wiki.openfoodfacts.org/Platform_for_producers Translations We use a non-standard version of GetText, lack language variants support translate.openfoodfacts.org 👥 Users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make account data removal asynchronous and batched
2 participants