You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(iris): replace ContainerStatus bool with ContainerPhase enum (#3105)
- Replace `ContainerStatus.running: bool` with `ContainerStatus.phase:
ContainerPhase` where `ContainerPhase` is a `StrEnum` with `PENDING`,
`RUNNING`, `STOPPED`
- The old boolean conflated "not yet started" with "finished" — callers
had to inspect `exit_code` to disambiguate. The enum makes the state
machine explicit and enables the upcoming BUILDING→RUNNING backpressure
fix to distinguish K8s pods in Pending vs Running phase.
- All three runtime implementations (process, docker, kubernetes) and
all tests updated
<details>
<summary>Context</summary>
Extracted from the [BUILDING semantics investigation](#3090). The next
PR in the stack (BUILDING→RUNNING backpressure) depends on
`ContainerPhase.PENDING` vs `RUNNING` to gate task state transitions.
Related: #3102 (controller RBAC/scheduling), #3103 (worker kubectl
saturation)
0 commit comments