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

CV2-5050 add another doc id lookup for indexed-but-not-searched items via presto #2114

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

DGaffney
Copy link
Contributor

Description

We have a small condition where, when an item is requested to be indexed, but not searched on, we fail on our webhook, when in reality the action should just be to acknowledge and do nothing (and perhaps later figure out how to actually suppress the callback). In the meantime, a simple fix here acknowledges and passes by the item, which I believe would be the intended outcome.

References: CV2-5050

How has this been tested?

Tested and confirmed to work / resolve error locally in conjunction with CV2-5050-fix-item PR on alegre.

Things to pay attention to during code review

None in particular.

Checklist

  • I have performed a self-review of my own code
  • I have added unit and feature tests, if the PR implements a new feature or otherwise would benefit from additional testing
  • I have added regression tests, if the PR fixes a bug
  • I have added logging, exception reporting, and custom tracing with any additional information required for debugging
  • I considered secure coding practices when writing this code. Any security concerns are noted above.
  • I have commented my code in hard-to-understand areas, if any
  • I have made needed changes to the README
  • My changes generate no new warnings
  • If I added a third party module, I included a rationale for doing so and followed our current guidelines

Copy link
Contributor

@caiosba caiosba left a comment

Choose a reason for hiding this comment

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

Well, doesn't hurt to get the doc_id from a different data path :)

Copy link

codeclimate bot commented Oct 30, 2024

Code Climate has analyzed commit 952a92b and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 99.9% (0.0% change).

View more on Code Climate.

@DGaffney DGaffney marked this pull request as ready for review October 31, 2024 14:08
@DGaffney DGaffney merged commit 5e84771 into develop Oct 31, 2024
16 checks passed
@DGaffney DGaffney deleted the cv2-5050-fix-item branch October 31, 2024 14:49
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