🤖 Test Improver here - I'm an automated AI assistant focused on improving tests for this repository.
Activity for May 2026
Suggested Actions for Maintainer
Review PR [Test Improver] tests: skip runtime factory tests when LLM not installed #1139 : Skip runtime factory tests when LLM not installed - fixes 4 CI failures - Review
Review PR (new this run): tests(deps): add unit tests for deps CLI helper functions - 15 new tests for _format_primitive_counts, _dep_display_name, _resolve_scope_deps - Review
Close stale PRs [Test Improver] fix(tests): strip ANSI escape sequences in _ascii_only helper (test_policy_status.py) #977 , [Test Improver] fix(tests): strip ANSI escape codes in test_policy_status._ascii_only #1011 : Older ANSI-fix attempts superseded by [Test Improver] Fix 7 failing tests: strip ANSI codes in _ascii_only helper #1029 (now closed) - #977 #1011
Review or close stale PRs [Test Improver] test: add unit tests for run and preview commands (14% -> 83%) #430 , [Test Improver] test: add unit tests for output module (models, formatters, script_formatters) #498 , [Test Improver] test: add unit tests for compile CLI display helpers #522 , [Test Improver] test: add unit tests for compile command logic (38% -> ~50%) #859 , [Test Improver] fix: suppress ANSI escape codes in non-TTY contexts #890 , [Test Improver] test: add unit tests for install/sources.py DependencySource classes #927 , [Test Improver] test: add unit tests for policy outcome routing (0% -> ~95%) #943 : Older Test Improver PRs from previous months
Investigate 7 remaining test failures : tests/unit/commands/test_policy_status.py - 7 ANSI/Unicode failures (policy_status uses Rich unicode table borders but test checks ASCII output). PR [Test Improver] Fix 7 failing tests: strip ANSI codes in _ascii_only helper #1029 was closed without merge.
Maintainer Priorities
No specific priorities communicated yet. Note: PRs #1029 (ANSI fix) and #1059 (uninstall engine tests) were closed by maintainer on 2026-05-03 without merging.
Testing Opportunities Backlog
install-command (high) - src/apm_cli/commands/install.py ~81% coverage, complex file
compile-cli-full (medium) - src/apm_cli/commands/compile/cli.py ~49% coverage
compile-watcher (low) - src/apm_cli/commands/compile/watcher.py ~5% coverage (file-watching, hard to test)
deps-cli (medium) - src/apm_cli/commands/deps/cli.py ~61% coverage; helper functions now covered; update() orchestration still sparse
policy-status-ascii (low) - 7 tests failing due to Rich unicode output vs ASCII expectation (PR [Test Improver] Fix 7 failing tests: strip ANSI codes in _ascii_only helper #1029 closed)
Discovered Commands
# Install dev dependencies (use python3.12 to avoid PyPy)
python -m uv sync --extra dev --python /usr/bin/python3.12
# Run unit tests (matches CI, excludes known-broken files)
.venv/bin/pytest tests/unit/ -q --ignore=tests/unit/test_audit_report.py --ignore=tests/unit/test_deps_update_command.py --ignore=tests/unit/test_plugin_exporter_schema.py
# Lint / format
.venv/bin/ruff check src/ tests/ --fix && .venv/bin/ruff format src/ tests/
Notes : Use .venv/bin/ruff not uv run ruff. pip install uv then python -m uv sync --extra dev --python /usr/bin/python3.12. Baseline 2026-05-06: 11 failed (7 policy_status ANSI + 4 runtime_factory LLM), 7578 passed.
Run History
2026-05-06 03:36 UTC - Run
2026-05-05 03:36 UTC - Run
🔧 Task 3: Fixed 4 CI failures in test_runtime_factory.py - added skip markers for LLM-dependent tests (LLM not installed in CI). Branch: test-assist/fix-runtime-factory-skip-tests
📊 Discovered: marketplace tests now pass (106->7 failures). Remaining 7 are policy_status ANSI issue (pre-existing).
📋 Task 7: Updated this monthly issue
2026-05-04 03:36 UTC - Run
🔍 Task 4: Confirmed no open Test Improver PRs (all previous PRs closed by maintainer)
📊 Task 2: Observed 106 test failures -- 86+ from marketplace test drift, 7 from ANSI policy_status, 4 from runtime_factory, 2 from orphan_announce_parity
📋 Task 7: Updated this monthly issue
2026-05-03 03:37 UTC - Run
2026-05-02 03:35 UTC - Run
🔧 Task 3: Added 7 tests for view.py error paths. Branch: test-assist/view-error-handling-tests
📋 Task 7: Created this monthly issue
2026-05-01 03:36 UTC - Run
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
network :
allowed :
- defaults
- " astral.sh"
See Network Configuration for more information.
Generated by Daily Test Improver · ● 3.9M · ◷
To install this agentic workflow , run
gh aw add githubnext/agentics/workflows/daily-test-improver.md@b87234850bf9664d198f28a02df0f937d0447295
🤖 Test Improver here - I'm an automated AI assistant focused on improving tests for this repository.
Activity for May 2026
Suggested Actions for Maintainer
_format_primitive_counts,_dep_display_name,_resolve_scope_deps- Reviewtests/unit/commands/test_policy_status.py- 7 ANSI/Unicode failures (policy_status uses Rich unicode table borders but test checks ASCII output). PR [Test Improver] Fix 7 failing tests: strip ANSI codes in _ascii_only helper #1029 was closed without merge.Maintainer Priorities
No specific priorities communicated yet. Note: PRs #1029 (ANSI fix) and #1059 (uninstall engine tests) were closed by maintainer on 2026-05-03 without merging.
Testing Opportunities Backlog
src/apm_cli/commands/install.py~81% coverage, complex filesrc/apm_cli/commands/compile/cli.py~49% coveragesrc/apm_cli/commands/compile/watcher.py~5% coverage (file-watching, hard to test)src/apm_cli/commands/deps/cli.py~61% coverage; helper functions now covered; update() orchestration still sparseDiscovered Commands
Notes: Use
.venv/bin/ruffnotuv run ruff.pip install uvthenpython -m uv sync --extra dev --python /usr/bin/python3.12. Baseline 2026-05-06: 11 failed (7 policy_status ANSI + 4 runtime_factory LLM), 7578 passed.Run History
2026-05-06 03:36 UTC - Run
deps/cli.pyhelpers as 0%-covered;compile/cli.pyat 49%,watcher.pyat 5%_format_primitive_counts,_dep_display_name,_resolve_scope_depsin newtest_deps_cli_helpers.py2026-05-05 03:36 UTC - Run
test_runtime_factory.py- added skip markers for LLM-dependent tests (LLM not installed in CI). Branch:test-assist/fix-runtime-factory-skip-tests2026-05-04 03:36 UTC - Run
2026-05-03 03:37 UTC - Run
2026-05-02 03:35 UTC - Run
view.pyerror paths. Branch:test-assist/view-error-handling-tests2026-05-01 03:36 UTC - Run
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
astral.shSee Network Configuration for more information.