fix(tests): pytest nach Kernel Spine und Starter-Kit bereinigen
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Failing after 3m33s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 3s
Test Suite / compose-smoke (push) Has been skipped
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Failing after 3m33s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 3s
Test Suite / compose-smoke (push) Has been skipped
list_compatible_methods nur Primary-Methoden; Agile-Graph auf Sprint-Scope; Tests ohne Starter-Action-Kollision; TenantContext-Factory fuer Kernel-Tests. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
75a6a63665
commit
0443b734c1
7 files changed
+99
-15
No files matched your search
@@ -56,7 +56,8 @@ def list_compatible_methods(
|
||||
return tuple(
|
||||
m
|
||||
for m in _METHODS.values()
|
||||
if method_compatible_with_archetype(
|
||||
if m.method_role == "primary"
|
||||
and method_compatible_with_archetype(
|
||||
m, archetype_key, om_capabilities=om_capabilities
|
||||
)
|
||||
)
|
||||
|
||||
@@ -56,7 +56,6 @@ class AgileIterationStrategy:
|
||||
cycle_id = str(active["id"])
|
||||
|
||||
from services import actions as action_service
|
||||
from steering.graph.execution_engine import load_initiative_execution_graph_state
|
||||
|
||||
actions = action_service.list_actions_for_initiative(
|
||||
tenant_id=ctx.tenant_id, initiative_id=initiative_id
|
||||
@@ -73,9 +72,22 @@ class AgileIterationStrategy:
|
||||
if not scoped:
|
||||
return []
|
||||
|
||||
graph_state = load_initiative_execution_graph_state(
|
||||
tenant_id=ctx.tenant_id,
|
||||
initiative_id=initiative_id,
|
||||
scoped_ids = {str(action["id"]) for action in scoped}
|
||||
from services import execution_plan as execution_plan_service
|
||||
from steering.graph.execution_engine import compute_execution_graph_state
|
||||
|
||||
dependencies = execution_plan_service.list_dependencies_for_initiative(
|
||||
tenant_id=ctx.tenant_id, initiative_id=initiative_id
|
||||
)
|
||||
internal_dependencies = [
|
||||
dep
|
||||
for dep in dependencies
|
||||
if str(dep["predecessor_action_id"]) in scoped_ids
|
||||
and str(dep["successor_action_id"]) in scoped_ids
|
||||
]
|
||||
graph_state = compute_execution_graph_state(
|
||||
actions=scoped,
|
||||
dependencies=internal_dependencies,
|
||||
scope_roadmap_item_id=gate_scope,
|
||||
)
|
||||
ready = build_execution_ready_candidates(
|
||||
|
||||
Reference in new issue
Block a user