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

indexer: refactor & improve/cleanup error handling #988

Merged
merged 5 commits into from
Jul 6, 2022

Conversation

radeksimko
Copy link
Member

@radeksimko radeksimko commented Jul 5, 2022

As per individual commits messages, this PR aims to add error handling where it was missing to ensure that errors are collected and logged + we can also fail tests if errors occur.

From end-user perspective this is intended to be no-op.

 - capture and log any errors from Deferred jobs
 - capture and log any errors from other places which were previously skipped on error (via multierror)
This (hack) is no longer necessary since all indexing logic is now self-contained within one package.
@radeksimko radeksimko self-assigned this Jul 5, 2022
@radeksimko radeksimko marked this pull request as ready for review July 5, 2022 14:29
@radeksimko radeksimko requested a review from a team as a code owner July 5, 2022 14:29
Copy link
Member

@dbanck dbanck left a comment

Choose a reason for hiding this comment

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

Nice cleanup!

@radeksimko radeksimko merged commit d5602d9 into main Jul 6, 2022
@radeksimko radeksimko deleted the f-indexer-refactoring branch July 6, 2022 14:28
@radeksimko radeksimko added this to the v0.29.0 milestone Jul 8, 2022
@github-actions
Copy link

github-actions bot commented Aug 8, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants