-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Labels
Description
π€ Test Improver here - I'm an automated AI assistant focused on improving tests for this repository.
Activity for March 2026
Suggested Actions for Maintainer
- Review PR [Test Improver] test: add unit tests for AgentsCompiler (65%β82% coverage)Β #221: 34 new tests for
agents_compiler.py(65%β82% coverage) - Review - Review open PRs: Multiple test-assist branches have open PRs for ANSI test fixes and coverage improvements β search for open PRs with
[Test Improver]title prefix to review them all
(Note: If a previous [Test Improver] Monthly Activity 2026-03 issue exists, please close it β I was unable to find its number to update it in place.)
Maintainer Priorities
No specific priorities communicated yet.
Testing Opportunities Backlog
commands/_helpers.py(59%) β HIGH:_atomic_write,_update_gitignore_for_apm_modules,_load_apm_config,_list_available_scriptsare untested pure I/O functions shared by all commands. Easy to test, high confidence.- Fix 7 pre-existing ANSI test failures β HIGH:
test_unpacker.py(4) +test_update_command.py(2) fail because Rich Console emits ANSI codes into CliRunner output. Multiple fix PRs already opened; maintainer review needed. utils/console.py(58%) β MEDIUM: Console output helpers with uncovered fallback paths.agents_compiler.py(82%) β MEDIUM: PR [Test Improver] test: add unit tests for AgentsCompiler (65%β82% coverage)Β #221 open; remaining display/formatting paths need distributed compiler stack.runtime/manager.py(49%) β MEDIUM: PR branch exists (test-assist/core-operations-runtime-manager-coverage).
Discovered Commands
# Install dev dependencies
pip install uv --break-system-packages && python3 -m uv sync --extra dev
# Run unit tests
python3 -m uv run pytest tests/unit/ --no-header -q
# Run with coverage
python3 -m uv run pytest tests/unit/ --no-header -q --cov=apm_cli --cov-report=term-missing
# Format code
python3 -m uv run black . && python3 -m uv run isort .Notes:
uvis not on PATH in CI β install viapip install uv --break-system-packagesfirst--covcauses PyYAML global state corruption affecting parse_skill_file/parse_primitive_file when run in full suite; tests pass without--cov
Run History
2026-03-15 01:06 UTC - Run
- π Task 2: Analyzed coverage landscape; identified
commands/_helpers.py(59%) as high-value target (_atomic_write,_update_gitignore_for_apm_modules,_load_apm_config) - π Coverage: 57% total, 1778 tests (1771 pass, 7 pre-existing ANSI failures)
- π Task 7: Created monthly activity issue
2026-03-14 01:06 UTC - Run
- π§ Task 3: Created PR fixing 7 ANSI test failures in
test_unpacker.py+test_update_command.pyβ added_strip_ansi()helper
2026-03-13 01:06 UTC - Run
- π§ Task 3: ANSI fix PR (retry) β Rich Console emits bold ANSI codes into Click CliRunner capture
2026-03-12 01:06 UTC - Run
- π§ Task 3: PR [Test Improver] test: add coverage tests for primitives discovery and parserΒ #254 β 54 tests for
primitives/discovery.py(78%β97%) andparser.py(72%β76%) β closed by maintainer
2026-03-10 01:06 UTC - Run
- π§ Task 3: PR [Test Improver] test: add unit tests for AgentsCompiler (65%β82% coverage)Β #221 β 34 tests for
agents_compiler.py(65%β82%)
Generated by Daily Test Improver Β· β·
To install this agentic workflow, run
gh aw add githubnext/agentics/workflows/daily-test-improver.md@b87234850bf9664d198f28a02df0f937d0447295
Reactions are currently unavailable