Enhance troubleshooting analyzers: select/release inference, detailed reports, and error classification - #14
Merged
mouxinqq merged 2 commits intoApr 13, 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
log_parser.match_select_releaseto infer worker type for ambiguousreleaseand token-release events and emitunmatched_releases,type_summary, andid_coveragefields._analyze_counter_last_state) toanalyzers/load.pyand surfacecounter_last_statein reports._analyze_cross_diagnosis) and include detaileddetail/cache_*outputs;format_cache_reportnow returns both summary and detail strings.REGISTEREDevents, computing detection latency (_compute_detect_latency), and exposing检测延迟in worker table and detail file.SOURCE_LAYER_RULES/IMPACT_RULESentry for missing YAML, addclassify_impact, extract related URLs with_extract_urls, and includeimpact/URLsinerror_top_n.match_select_releaseto include select/release checks in trace diagnoses and reportsr_check.load_report.py,latency.py,chart.py,load_report.format_load_report) to link to newly createddetail/files and to show clarifying metric notes.troubleshoot.pynow aggregates and writes many additional detail files (cache, load, latency, counters, traces), improves status summary dedup/length, and documents status definitions.chart.pyand added CLI self-test case for token-release type inference inlog_parser.py.Testing
python3 .claude/skills/troubleshoot/scripts/log_parser.py self-testwhich includes a token-release inference sample; the added checks passed.troubleshoot.pyon a small synthetic log sample to verify report generation and creation ofsummary/troubleshoot_report.mdand correspondingdetail/files; report generation succeeded.Codex Task