From aefcc74d76b59def64ac4e66b602ca2f11de3548 Mon Sep 17 00:00:00 2001 From: Brent Edwards Date: Fri, 20 Feb 2026 20:24:10 +0000 Subject: [PATCH] fix(test): resolve AmbiguousStep collision after master merge Renamed 'listing actors with namespace' step in actor_loading_steps.py to 'listing loaded actors with namespace' to avoid collision with actor_registry_persistence_steps.py from master. Updated actor_loading.feature to use renamed step. --- features/actor_loading.feature | 4 ++-- features/steps/actor_loading_steps.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/features/actor_loading.feature b/features/actor_loading.feature index ef92b6df..514aea06 100644 --- a/features/actor_loading.feature +++ b/features/actor_loading.feature @@ -126,8 +126,8 @@ Feature: Actor registry and loader | ana.yaml | assistants/analyzer | llm | gpt-4 | When I create an actor loader with that directory as search root And I run discovery - Then listing actors with namespace "assistants" should return 2 actors - And listing actors with namespace "utilities" should return 1 actors + Then listing loaded actors with namespace "assistants" should return 2 actors + And listing loaded actors with namespace "utilities" should return 1 actors # ──────────────────────────────────────────────────────────── # Content hash caching diff --git a/features/steps/actor_loading_steps.py b/features/steps/actor_loading_steps.py index c5ba6633..f895af67 100644 --- a/features/steps/actor_loading_steps.py +++ b/features/steps/actor_loading_steps.py @@ -317,7 +317,9 @@ def step_then_get_none(context: Context, name: str) -> None: assert config is None, f"Expected None for '{name}', got {config}" -@then('listing actors with namespace "{namespace}" should return {count:d} actors') +@then( + 'listing loaded actors with namespace "{namespace}" should return {count:d} actors' +) def step_then_list_by_namespace(context: Context, namespace: str, count: int) -> None: loader: ActorLoader = context._loader actors = loader.list_actors(namespace=namespace)