Skip to content

feat: integrate LogAnalysisBot for enhanced failure analysis in auto_memory#175

Merged
KavyaSree2610 merged 3 commits into
auto-memory/devfrom
kkaitepalli/add-log-analyzer
Jul 9, 2026
Merged

feat: integrate LogAnalysisBot for enhanced failure analysis in auto_memory#175
KavyaSree2610 merged 3 commits into
auto-memory/devfrom
kkaitepalli/add-log-analyzer

Conversation

@KavyaSree2610

@KavyaSree2610 KavyaSree2610 commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@KavyaSree2610 KavyaSree2610 changed the title feat: integrate LogAnalysisBot for enhanced failure analysis in auto_… feat: integrate LogAnalysisBot for enhanced failure analysis in auto_memory Jul 9, 2026
@codecov-commenter

codecov-commenter commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (auto-memory/dev@88058ee). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##             auto-memory/dev     #175   +/-   ##
==================================================
  Coverage                   ?   71.89%           
==================================================
  Files                      ?       48           
  Lines                      ?     2960           
  Branches                   ?        0           
==================================================
  Hits                       ?     2128           
  Misses                     ?      832           
  Partials                   ?        0           
Flag Coverage Δ
ghcp 32.19% <16.92%> (?)
integration 35.84% <16.92%> (?)
ollama_local 33.85% <16.92%> (?)
slow-browser 21.89% <0.00%> (?)
slow-other 39.59% <16.92%> (?)
unit 69.42% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/microbots/auto_memory/analyzer.py 100.00% <100.00%> (ø)
src/microbots/auto_memory/cli.py 100.00% <ø> (ø)
src/microbots/auto_memory/config.py 100.00% <100.00%> (ø)
src/microbots/auto_memory/orchestrator.py 100.00% <ø> (ø)
...icrobots/auto_memory/runners/writing_bot_runner.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR integrates LogAnalysisBot into the auto_memory failure-analysis pipeline so callback failures can be summarized using LLM-based log analysis, with new YAML-configurable analyzer settings.

Changes:

  • Add analyzer configuration fields (analyzer_model, analyzer_max_iterations, analyzer_timeout_s) to TaskConfig and YAML loading/validation.
  • Update auto_memory.analyzer.analyze_failure() to combine failed callback logs into a temp file and invoke LogAnalysisBot.
  • Wire the new analyzer settings through Orchestrator.analyze_failure() into the analyzer.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
src/microbots/auto_memory/orchestrator.py Passes analyzer settings from TaskConfig into analyze_failure() calls.
src/microbots/auto_memory/config.py Introduces analyzer settings, YAML defaults, and validation for the new LogAnalysisBot integration.
src/microbots/auto_memory/analyzer.py Replaces heuristic log-snippet extraction with LogAnalysisBot-driven analysis over a combined temp log file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/microbots/auto_memory/config.py
Comment thread src/microbots/auto_memory/config.py
Comment thread src/microbots/auto_memory/config.py
Comment thread src/microbots/auto_memory/analyzer.py
Comment thread src/microbots/auto_memory/analyzer.py Outdated
Comment thread src/microbots/auto_memory/analyzer.py Outdated
Comment thread src/microbots/auto_memory/analyzer.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Comment thread src/microbots/auto_memory/analyzer.py Outdated
@KavyaSree2610
KavyaSree2610 marked this pull request as ready for review July 9, 2026 13:03
@KavyaSree2610
KavyaSree2610 merged commit 0d8fdfc into auto-memory/dev Jul 9, 2026
9 of 10 checks passed
@KavyaSree2610
KavyaSree2610 deleted the kkaitepalli/add-log-analyzer branch July 9, 2026 13:03
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.

3 participants