feat: integrate LogAnalysisBot for enhanced failure analysis in auto_memory#175
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## auto-memory/dev #175 +/- ##
==================================================
Coverage ? 71.89%
==================================================
Files ? 48
Lines ? 2960
Branches ? 0
==================================================
Hits ? 2128
Misses ? 832
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
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) toTaskConfigand YAML loading/validation. - Update
auto_memory.analyzer.analyze_failure()to combine failed callback logs into a temp file and invokeLogAnalysisBot. - 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.
KavyaSree2610
marked this pull request as ready for review
July 9, 2026 13:03
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.
No description provided.