troubleshoot: add --trace all discovery, make cache details always emitted, and move trace details to detail/trace/ - #20
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
alland get an auto-discovered set of IDs to trace.Description
all(and synonyms) value in trace input by introducing_discover_full_trace_targetswhich auto-discoverssession_id,trace_id, and standalonerequest_idtargets and returns a concise discovery summary; integrated intoanalyze_traceand appended to the returnedsummary.detail/trace/trace_<ID>.mdand links in reports point todetail/trace/(changes informat_trace_reportandsave_detailed_report).format_cache_reportandformat_full_report) to always emit the individual cache detail sections and files (cache_session_stickiness,cache_suboptimal,cache_eviction,cache_fallback,cache_cross) with placeholder text like "未发现/样本不足" when no samples are present, and updated top-level summary links to include these files.SKILL.mdandreferences/report_templates.mdwere modified to clarify pre-run instructions, AskUserQuestion flows for time-range and trace inputs, examples, required detail files, and default paths;troubleshoot.pyCLI help was updated to mention--trace alland adjusted logic for trace handling and detail file writing.Testing
Codex Task