-
Notifications
You must be signed in to change notification settings - Fork 58
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
Collect error in the index #1097
Merged
+5,211
−123
Merged
Changes from 10 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
3d41e20
index: add error document to the index
TristanCacqueray 0cd8e46
api: add error document type to the add doc endpoint
TristanCacqueray b389c62
crawler: emit crawler error when processing stream
TristanCacqueray f9357eb
api: add error indexing
TristanCacqueray 1d808a0
index: add error created_at attribute
TristanCacqueray 2475a4e
crawler: base64 encode json blob
TristanCacqueray 5cac8e3
test: fix the macroscope failure test
TristanCacqueray 303dae2
api: add crawler/errors endpoint to fetch errors
TristanCacqueray 5e660b0
index: store the entity and timestamp in the errors_data structure
TristanCacqueray 37656c9
test: verify the indexed error content
TristanCacqueray ee8a869
crawler: continue processing even when there are decoding errors
TristanCacqueray 38119ec
chore: perform monocle-reformat-run
TristanCacqueray f179448
api: update dropTime to keep the current hour
TristanCacqueray 4084bff
doc: add example to run a single test
TristanCacqueray 9f040a7
web: add crawler api codegen
TristanCacqueray eec06d1
web: display crawler errors
TristanCacqueray 4a71ad3
index: encode crawler error body by the api
TristanCacqueray 0ea04b3
index: introduce new type for BinaryText
TristanCacqueray 0f1df8a
index: bump version to apply new mapping
TristanCacqueray 796d395
crawler: improve crawler error representation
TristanCacqueray 9fb3c3b
crawler: introduce error variant for page-info
TristanCacqueray 1731dee
crawler: preserve the original fetch error from morpheus client
TristanCacqueray 32f140a
crawler: handle partial results
TristanCacqueray 4d2bf8a
api: introduce CrawlerErrorList
TristanCacqueray 23c4def
crawler: add stream error to stop the stream
TristanCacqueray 9a60ca4
api: prevent error when submitting empty task data
TristanCacqueray 2ba9fdd
doc: add profiling build instructions
TristanCacqueray 8f03288
Rename PageInfoError to RateLimitInfoError
morucci File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess here we should try to extract the pageInfo from the error to make the process continue, otherwise I'm not sure the current implementation will be able to resume after the error.