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 broken and barely couch view cases_get_lite/get_lite #23509

Merged
merged 19 commits into from Mar 7, 2019

Conversation

dannyroberts
Copy link
Member

@dannyroberts dannyroberts commented Mar 4, 2019

The view is broken on production, i.e. the view is completely empty, despite the intention being that it emit one thing per couch case. On india, it does seem to work. I have evidence of a pact view failing on Mar. 28, 2018 due to an error this would have caused, so that's my best guess as the date at which cases_get_lite/get_lite started emitting nothing on prod.

Almost all usages could be traced back to tests; the one exception being the usage in pact code mentioned above, which has been broken for about a year.

Probably easiest to review commit by commit.

@dannyroberts dannyroberts added the product/invisible Change has no end-user visible impact label Mar 4, 2019
Copy link
Contributor

@millerdev millerdev left a comment

Choose a reason for hiding this comment

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

nice! 🎉

# starting on Mar 28, 2018 8:00:08 AM EDT.
# When getting rid of the long-broken cases_get_lite couch design doc,
# Danny decided to remove this failing task entirely,
# which should have the same effect as running once a day and failing once a day.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this comment should just be removed totally. its pretty close to commenting out code, and I don't see how this "tombstone" is going to help someone in the future figure out a bug that's already been failing for a year

Copy link
Member Author

Choose a reason for hiding this comment

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

@dannyroberts dannyroberts merged commit f7ab119 into master Mar 7, 2019
@dannyroberts dannyroberts deleted the dmr/remove-unused-cases-lite branch March 7, 2019 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/invisible Change has no end-user visible impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants