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

Remove Deperecated DispatchStats - APPEALS/24135 #18988

Closed
wants to merge 2 commits into from

Conversation

brandondorner
Copy link
Contributor

https://jira.devops.va.gov/browse/APPEALS-24135

Description

DispatchStats functionality has been deprecated from the app a few years ago but the code remains. It looks like it was intended to be removed at some point but it fell under the radar:
#12991 (comment)

So now we are finally removing the code from the codebase to hopefully clean it up a tiny bit.

Also Remove everything related to StatsController, `StatsContainer, the stats route, and the show file.

We are essentially undoing parts of this commit: ef1dd8c

The functionality of DispatchStats, CertificationStats, and the StatsContainer have all been deprecated and now are removed.

The original deprecation comes from these PRs: #1193
#11934
#12991
#13095

More specifically it looks like this was meant to be removed but was not per:
#12991 (comment)

Related PRs:

#18986 | Removes the deprecated CertificationStats code

Acceptance Criteria

  • Code compiles correctly
  • Removed files are not used anywhere else
  • CalculateDispatchStatsJob, DispatchStats and dispatch_stats are not found elsewhere in the app
  • StatsContainer, StatsController, and the stats show file are not found elsewhere in the app

Code Climate

Your code does not add any new code climate offenses? If so why?

  • No new code climate issues added

DispatchStats functionality has been deprecated from the app a few
years ago but the code remains. It looks like it was intended to be
removed at some point but it fell under the radar:
#12991 (comment)

So now we are finally removing the code from the codebase to hopefully
clean it up a tiny bit.
Remove everything related to `StatsController`, `StatsContainer, the
stats route, and the show file.

We are essentially undoing parts of this commit:
ef1dd8c

The functionality of DispatchStats, CertificationStats, and the
StatsContainer have all be deprecated but were not fully removed.
This commit (and PR) removes the deprecated items.
@codeclimate
Copy link

codeclimate bot commented Jul 12, 2023

Code Climate has analyzed commit 256b748 and detected 0 issues on this pull request.

View more on Code Climate.

@brandondorner
Copy link
Contributor Author

This PR is being combined with #18986 to form two new PRs with different scopes:
#18998
#18999

@ThorntonMatthew ThorntonMatthew deleted the dorner/APPEALS-24135-dispatch-stats branch November 21, 2023 16:57
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.

1 participant