[ BOUNTY] feat: add --parse-error-report CLI option for log aggregation#4
Open
xzl0427 wants to merge 3 commits into
Open
[ BOUNTY] feat: add --parse-error-report CLI option for log aggregation#4xzl0427 wants to merge 3 commits into
xzl0427 wants to merge 3 commits into
Conversation
…s, and sanitized output
Owner
|
Thanks for the quick submission. I ran the branch locally and it is not ready to merge yet. Current validation results:
Please update the PR so that:
After that I can re-run the checks and review again. |
Nexussyn
added a commit
to Nexussyn/zeroeye
that referenced
this pull request
Jun 22, 2026
… order book delta validation
Nexussyn
added a commit
to Nexussyn/zeroeye
that referenced
this pull request
Jun 22, 2026
…/backoff to health_check.py f
Nexussyn
added a commit
to Nexussyn/zeroeye
that referenced
this pull request
Jun 22, 2026
…/backoff to health_check.py f
Nexussyn
added a commit
to Nexussyn/zeroeye
that referenced
this pull request
Jun 22, 2026
…/backoff to health_check.py f
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.
Summary
Add
--parse-error-report PATHCLI option tolog_aggregator.py. This writes a sanitized JSON report of parse failures by file and line number, without leaking raw log payloads.Changes
tools/log_aggregator.py:LogAggregator._record_parse_failure()to track parse failures with file, line number, parser type, and sanitized error messageLogAggregator.get_parse_failure_report()to build the summaryLogAggregator.export_parse_error_report()to write the JSON reportprocess_file()to track line numbers and record JSON parse failures--parse-error-report PATHCLI argument toparse_args()andmain()tests/test_log_aggregator.py(new):Testing
get_parse_failure_report()output using test samples fromtests/test_log_aggregator.pyChecklist