Improve harvester log grouping and error reporting#831
Open
TahaKhan998 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #813
This PR improves INSPIRE harvester run error reporting by turning errors and warning into clear grouped errors and warnings, making log output much more useful for curators, and ensuring the report highlights the real failure reasons instead of vague or repetitive raw lines. It adds structured grouping for repeated failures and warnings, improves the plain-text download output to match that grouped view, and updates harvester writer messages so record-level failures explain what went wrong in a more actionable way, including which records were affected and why they failed.
Screen.Recording.2026-06-26.at.12.00.16.1.mp4
This is what a downloaded file of harvester logs looks like now:
harvester_logs_4a7fc391-5b9a-45b3-873f-bd2d2a297aaa_20260626_120105.log