Skip to content

Drop unused reports (LG-8028)#7311

Merged
zachmargolis merged 11 commits intomainfrom
margolis-drop-unused-reports
Nov 9, 2022
Merged

Drop unused reports (LG-8028)#7311
zachmargolis merged 11 commits intomainfrom
margolis-drop-unused-reports

Conversation

@zachmargolis
Copy link
Contributor

Based on this summary of S3 access logs going back to 2021, these reports have not been accessed during calendar year 2022

(Draft while we evaluate some of these)

@zachmargolis zachmargolis force-pushed the margolis-drop-unused-reports branch from 396800b to eff2cb8 Compare November 8, 2022 18:22
changelog: Internal, Reporting, Remove unused reporting code
@zachmargolis zachmargolis marked this pull request as ready for review November 9, 2022 00:22
@zachmargolis
Copy link
Contributor Author

Ready for review! Got confirmation in Slack that these reports are not used

Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

LGTM!

total_count = ::DocAuthLog.count
return {} if total_count.zero?
convert_percentages(total_count)
results['total_verified_users_count'] = ::DocAuthLog.verified_users_count
Copy link
Contributor

@aduth aduth Nov 9, 2022

Choose a reason for hiding this comment

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

Looks like this method DocAuthLog.verified_users_count is now unused? Should we remove it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

great catch! will remove

Co-authored-by: Andrew Duthie <aduth@users.noreply.github.com>
@zachmargolis zachmargolis merged commit f291b80 into main Nov 9, 2022
@zachmargolis zachmargolis deleted the margolis-drop-unused-reports branch November 9, 2022 20:29
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