Skip to content

Hide legacy commands in EP CLI#371

Merged
dphuang2 merged 4 commits intomainfrom
dhuang/pro-436-hide-legacy-commands-in-ep-cli
Dec 14, 2025
Merged

Hide legacy commands in EP CLI#371
dphuang2 merged 4 commits intomainfrom
dhuang/pro-436-hide-legacy-commands-in-ep-cli

Conversation

@dphuang2
Copy link
Copy Markdown
Collaborator

@dphuang2 dphuang2 commented Dec 13, 2025


name: Pull Request
about: Propose changes to the codebase
title: "Brief description of changes"
labels: ''
assignees: ''


Description

Please include a summary of the change and which issue is fixed or feature is implemented. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)
Implements # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Refactoring/Code cleanup
  • Build/CI/CD related changes
  • Other (please describe):

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

  • Test A
  • Test B

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • My code follows the style guidelines of this project (ran black ., isort ., flake8 .)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Screenshots (if applicable)

If applicable, add screenshots to help showcase your changes.

Additional context

Add any other context about the PR here.


Note

Disable legacy EP CLI commands and skip corresponding tests, keeping core commands (logs, upload, create rft, local-test) active.

  • CLI:
    • Disable legacy commands by commenting out parsers/handlers for preview, deploy, deploy-mcp, agent-eval, and run in eval_protocol/cli.py.
    • Keep logs, upload, create rft, and local-test commands active.
    • Retain import-time re-exports deploy_command and preview_command for backward compatibility.
  • Tests:
    • Mark related tests as skipped where commands are disabled:
      • tests/test_cli.py::test_parse_args.
      • Entire suite in tests/test_cli_args.py.
      • Help tests in tests/test_minimal.py for agent-eval.
    • Minor assertions remain for unaffected areas.

Written by Cursor Bugbot for commit eaa7cb3. This will update automatically on new commits. Configure here.

Dylan Huang added 3 commits December 13, 2025 10:09
…oy', 'deploy-mcp', 'agent-eval', and 'run', to streamline functionality. Comments added to indicate the disabled sections for potential future re-enablement.
@dphuang2 dphuang2 enabled auto-merge (squash) December 13, 2025 23:11
@dphuang2 dphuang2 merged commit 697be66 into main Dec 14, 2025
8 of 9 checks passed
@dphuang2 dphuang2 deleted the dhuang/pro-436-hide-legacy-commands-in-ep-cli branch December 14, 2025 03:07
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.

1 participant