Skip to content

Update to System.CommandLine 3.x and refresh dependencies#4

Merged
mrviduus merged 2 commits intomainfrom
feature/update
Feb 24, 2026
Merged

Update to System.CommandLine 3.x and refresh dependencies#4
mrviduus merged 2 commits intomainfrom
feature/update

Conversation

@vasylvd
Copy link
Collaborator

@vasylvd vasylvd commented Feb 24, 2026

Refactored AnalyzeCommand and Program.cs to use System.CommandLine 3.x API, updating argument/option handling and command invocation. Upgraded related NuGet packages to latest versions. Adjusted GeminiChatClient creation to align with updated GeminiDotnet.Extensions.AI API.

Vasyl Vdovychenko and others added 2 commits February 24, 2026 10:52
Refactored AnalyzeCommand and Program.cs to use System.CommandLine 3.x API, updating argument/option handling and command invocation. Upgraded related NuGet packages to latest versions. Adjusted GeminiChatClient creation to align with updated GeminiDotnet.Extensions.AI API.
Split oversized log payloads (>40K chars) into overlapping 30K-char
chunks, analyze each segment independently, then synthesize a final
root cause analysis — preventing context-window failures on large
xUnitOTel traces.

- Add AnalyzeChunkPrompt.txt and SynthesizePrompt.txt
- Add ChunkCharThreshold/ChunkCharSize/ChunkOverlapCount constants
- Add AnalyzeTestAsync router (single-call vs chunked path)
- Add AnalyzeInChunksAsync, BuildChunks, CallWithRetryAsync
- Log payload size, per-segment progress, synthesis step, and retries
- Fix: include entry.Exception in single-call prompt (was missing)
- Update .gitignore: exclude generated rca-*.md / index-*.md / .claude/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mrviduus mrviduus merged commit cc4c829 into main Feb 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants