Commit Graph

1 Commits

Author SHA1 Message Date
HAL9000 ab18e81e4a refactor(actor): add return type to _get_services and remove bare except clauses
- Add return type annotation tuple[Any, Any | None] to _get_services()
- Fix _load_config_text() to catch yaml.YAMLError and TypeError instead
  of ValueError/AttributeError around yaml.safe_load(), preserving the
  user-friendly typer.BadParameter message for malformed YAML input
- Fix _compute_actor_impact() defensive guards to also catch
  CleverAgentsError, OperationalError, and ValidationError in addition
  to AttributeError/RuntimeError, keeping actor removal resilient when
  the database layer is unavailable
- Update CHANGELOG.md with entry under Changed section for issue #8567
- Add features/actor_exception_handling.feature with four Behave scenarios
  covering the exception handling contract changes
- Add features/steps/actor_exception_handling_steps.py with step definitions

ISSUES CLOSED: #8567
2026-06-02 08:44:47 -04:00