Files
Aegis/backend
Kitos 633c8e46ad
Some checks failed
Aegis CI / lint-and-test (push) Has been cancelled
refactor(workflow): delegate transition_state to TestEntity
transition_state() now hydrates a TestEntity from the ORM model and delegates state validation to entity.transition_to(). The entity is authoritative for which transitions are valid; VALID_TRANSITIONS and can_transition() are kept for backward compatibility.

Also adds public transition_to() method to TestEntity as the stable API surface for callers that need a single validated transition without lifecycle side-effects.
2026-02-18 13:54:01 +01:00
..