Commit Graph

2 Commits

Author SHA1 Message Date
HAL9000 ad31e75af6 fix(cli): address reviewer feedback on actor remove --format option
CI / benchmark-regression (push) Has been skipped
CI / push-validation (push) Successful in 38s
CI / helm (push) Successful in 56s
CI / build (push) Successful in 1m9s
CI / lint (push) Successful in 1m27s
CI / quality (push) Successful in 1m26s
CI / typecheck (push) Successful in 1m36s
CI / security (push) Successful in 1m35s
CI / integration_tests (push) Successful in 4m20s
CI / e2e_tests (push) Successful in 5m37s
CI / unit_tests (push) Failing after 6m57s
CI / coverage (push) Has been skipped
CI / docker (push) Has been skipped
CI / status-check (push) Failing after 3s
CI / benchmark-publish (push) Successful in 1h17m19s
CI / benchmark-publish (pull_request) Has been skipped
CI / push-validation (pull_request) Successful in 35s
CI / helm (pull_request) Successful in 42s
CI / lint (pull_request) Successful in 1m7s
CI / build (pull_request) Successful in 1m1s
CI / quality (pull_request) Successful in 1m14s
CI / typecheck (pull_request) Successful in 1m28s
CI / benchmark-regression (pull_request) Failing after 56s
CI / security (pull_request) Successful in 1m50s
CI / integration_tests (pull_request) Successful in 4m24s
CI / e2e_tests (pull_request) Successful in 5m16s
CI / unit_tests (pull_request) Failing after 7m54s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 4s
- Validate --format argument before any side effects; raise typer.BadParameter
  with a clear message for unsupported format values (fail-fast principle)
- Pass normalised fmt_value (lowercased) to format_output instead of raw fmt
  to ensure consistent behaviour regardless of input casing
- Rewrite robot/helper_actor_remove_cli.py to exercise the real CLI end-to-end
  via subprocess (no mocking); seeds a test actor via agents actor add, then
  removes it with --format json and validates the JSON envelope

ISSUES CLOSED: #6491
2026-05-06 01:07:15 +00:00
HAL9000 8384f53e28 test(cli): cover actor remove format regression (#6491)
Add Robot regression coverage for `actor remove --format json`, document the flag in the CLI synopsis, and record the fix in the changelog.\n\nISSUES CLOSED: #6491
2026-05-06 01:07:15 +00:00