Skip to content

[cli-consistency] CLI Consistency Report β€” 2026-04-17Β #749

@github-actions

Description

@github-actions

πŸ€– Test Improver here - I'm an automated AI assistant focused on improving tests for this repository.

Activity for April 2026

Suggested Actions for Maintainer

Maintainer Priorities

No specific priorities communicated yet.

Testing Opportunities Backlog

  1. install-command (HIGH): src/apm_cli/commands/install.py at ~43% coverage. Core install logic, high risk.
  2. compile-cli-full (MEDIUM): src/apm_cli/commands/compile/cli.py at ~38% baseline; PR now covers ~50%.
  3. uninstall-engine (MEDIUM): src/apm_cli/commands/uninstall/engine.py at ~71% coverage.
  4. view-command (MEDIUM): src/apm_cli/commands/view.py at ~66% coverage.
  5. deps-cli (MEDIUM): src/apm_cli/commands/deps/cli.py at ~71% - main update() orchestration.

Discovered Commands

# Install dev dependencies
pip install uv --break-system-packages && python3 -m uv sync --extra dev

# Run unit tests (fast, matches CI)
python3 -m uv run pytest tests/unit tests/test_console.py -x -q

# Run specific test file
python3 -m uv run pytest tests/unit/test_(name).py -v

# Format code
python3 -m uv run black . && python3 -m uv run isort .

Notes: Do NOT use --cov flag - causes PyYAML global state corruption. Rich imports in some modules are lazy (inside function bodies); patch at source module path.

Run History

2026-04-23 01:13 UTC - Run

  • πŸ”§ Created PR: test: add unit tests for compile command logic (38% -> ~50%+), 18 new tests
  • πŸ“Š Total tests: 5173 passing (up from 5155 on 2026-04-19)
  • πŸ” Observed: test_policy_status.py::test_renders_found_outcome failing in main (pre-existing, unrelated to our work)

2026-04-19 01:11 UTC - Run

  • πŸ” Validated: 3933 tests pass on main (updated to 5155 with prior PRs merged estimate)
  • πŸ” Identified: _is_nested_under_package and _count_primitives already have tests in test_deps_utils.py
  • πŸ” Identified opportunities: install-command, deps-cli, compile-cli-full, uninstall-engine

2026-04-10 01:08 UTC - Run

  • πŸ”§ Created PR: expand coverage for update command (64% -> ~95%), 21 new tests

2026-04-09 01:06 UTC - Run

  • πŸ”§ Created PR: add unit tests for MCPIntegrator (0% -> ~75%), 70 new tests

2026-04-08 - Run

  • πŸ”§ Created PR: add unit tests for BaseIntegrator shared infrastructure (0% -> ~90%), 69 new tests

2026-04-02 - Run

  • πŸ”§ Created PR: add unit tests for deps list, tree, and info subcommands (0% -> ~70%), 20 new tests

2026-04-01 - Run

  • πŸ”§ Created PR: add unit tests for compile CLI display helpers, 23 new tests

2026-03-31 - Run

  • πŸ”§ Created PR: add unit tests for output module (models, formatters, script_formatters) (0% -> ~70%), 72 new tests

Generated by Daily Test Improver Β· β—·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/daily-test-improver.md@b87234850bf9664d198f28a02df0f937d0447295

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions