Improve troubleshoot analyzers: select/release inference, cache cross-diagnosis, richer reports and file discovery - #17
Merged
mouxinqq merged 2 commits intoApr 13, 2026
Conversation
|
Hey @mouxinqq, Noticed this PR has a merge conflict. I'm building an online editor where you can fix it directly in the browser, no local setup needed. Free to give it a shot https://codeinput.com/products/merge-conflicts Would love your feedback. |
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_releaseand related helpers to normalize worker URL keys, infer release/token worker types from nearby selects, use worker-FIFO matching, and produce richer per-worker/type summaries and profiles.select count/release worker count) inload.py, plus loosened diagnostics thresholds and additional diagnostics messages.cache_diagnosis,cache_*,load_counter_state,errors_topn,latency_diagnoses, etc.).IMPACT_RULES,classify_impact, URL extraction, and surface YAML-missing info; trace analyzer now invokes select/release checks and reports unmatched selects/releases.chart.render_tablealignment/separator generation.troubleshoot.pylog-file discovery (Path-based, fuzzy matching), add more detailed report assembly and save many detail files, and add user-friendly messages for missing files.log_parser.pyto validate token-release inference behavior.Testing
python3 scripts/log_parser.py self-testwhich includes select/release token-type inference checks and the added sample case, and the self-tests passed.troubleshootorchestration against sample logs to verify that reports and new detail files (detail/...) are produced without exceptions.Codex Task