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

Add logging to permission removal Rake task #2921

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

yndajas
Copy link
Member

@yndajas yndajas commented Jun 3, 2024

Trello

This Rake task didn't have any count logging, so in order to be sure it worked, you'd have to run some of the code after (and also ideally before) running the Rake task to check the permission counts. This task has already been run, but we may reuse it in future and/or use it as a template for other similar Rake tasks, so we should make it more of a best practice example now


This application is owned by the publishing platform team. Please let us know in #govuk-publishing-platform when you raise any PRs.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

This Rake task didn't have any count logging, so in order to be sure it
worked, you'd have to run some of the code after (and also ideally
before) running the Rake task to check the permission counts. This task
has already been run, but we may reuse it in future and/or use it as a
template for other similar Rake tasks, so we should make it more of a
best practice example now
@yndajas yndajas merged commit 6d1ed03 into main Jun 5, 2024
16 checks passed
@yndajas yndajas deleted the improve-rake-task-logging branch June 5, 2024 14:44
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.

2 participants