Skip to content

feat: add CLI entry point and end-to-end tests for auto_memory module#174

Merged
KavyaSree2610 merged 2 commits into
auto-memory/devfrom
kkaitepalli/build-cli
Jun 29, 2026
Merged

feat: add CLI entry point and end-to-end tests for auto_memory module#174
KavyaSree2610 merged 2 commits into
auto-memory/devfrom
kkaitepalli/build-cli

Conversation

@KavyaSree2610

Copy link
Copy Markdown
Collaborator

No description provided.

@codecov-commenter

codecov-commenter commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##             auto-memory/dev     #174   +/-   ##
==================================================
  Coverage                   ?   71.47%           
==================================================
  Files                      ?       48           
  Lines                      ?     2917           
  Branches                   ?        0           
==================================================
  Hits                       ?     2085           
  Misses                     ?      832           
  Partials                   ?        0           
Flag Coverage Δ
ghcp 32.36% <60.00%> (?)
integration 36.20% <60.00%> (?)
ollama_local 33.90% <60.00%> (?)
slow-browser 22.21% <0.00%> (?)
slow-other 39.04% <60.00%> (?)
unit 66.81% <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/__init__.py 100.00% <100.00%> (ø)
src/microbots/auto_memory/cli.py 100.00% <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 introduces a programmatic “CLI entry point” for the auto_memory module (run_from_yaml) and adds end-to-end-style tests to validate the wired components (workspace layout, callback behavior, and basic orchestration outcomes).

Changes:

  • Added microbots.auto_memory.cli.run_from_yaml() to load a task YAML and run the training loop with standard components.
  • Exported run_from_yaml (and core types) from microbots.auto_memory for simpler imports.
  • Added end-to-end tests that exercise workspace creation, iteration records, callback outcomes, and feedback persistence.

Reviewed changes

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

File Description
test/auto_memory/test_cli.py Adds end-to-end tests covering run_from_yaml behavior and on-disk run layout.
src/microbots/auto_memory/cli.py Adds a user-facing wiring function (run_from_yaml) plus run-id generation helper.
src/microbots/auto_memory/init.py Turns auto_memory into a proper public API surface with exports.

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

Comment thread test/auto_memory/test_cli.py
Comment thread test/auto_memory/test_cli.py
Comment thread src/microbots/auto_memory/cli.py
Comment thread src/microbots/auto_memory/cli.py Outdated
@KavyaSree2610 KavyaSree2610 marked this pull request as ready for review June 29, 2026 09:35
@KavyaSree2610 KavyaSree2610 merged commit 88058ee into auto-memory/dev Jun 29, 2026
10 checks passed
@KavyaSree2610 KavyaSree2610 deleted the kkaitepalli/build-cli branch June 29, 2026 10:21
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