Improve log parsing, URL handling, and detailed reporting for router troubleshooting skills - #2
Merged
mouxinqq merged 1 commit intoApr 12, 2026
Conversation
This branch had an error being deployed
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.
Motivation
Description
datetime.now().yearand include full date incompute_time_spanto avoid using stale defaults.URL_REpatterns and broaden regexes everywhere to accept optionalhttp(s)://and host:port forms, and add_strip_schemehelpers to consistently render worker URLs without scheme.request_id/alt-id keys, ID coverage metrics, time-fallback matching window, anduntracked_selectstracking; expose match method and id coverage in results.filter_file_by_recent_minutesand extend CLI--tailhandling to supportNmminutes mode by time-window filtering; updatetroubleshoot.pyto use minutes-mode filtering and to parse--tailinto structured arg.stat_cache_hitratereporting: introducebuild_per_window_rows, include per-5s window preview in terminal report, export per-window details todetails/per_window_data.md, and passdiagnosis&time_spaninto detailed report output.DEBUGlevel inlog_parser, add token counter and select/release integration into load analyzer, refine health analyzer IP/url parsing and recovery detection, and extend error source rules.Testing
python -m compileallacross modified modules and no syntax errors were reported.python troubleshoot.py --helpandpython stat_cache_hitrate.py --helpto validate argument parsing and startup paths, both succeeded.Codex Task