Separating Liveness, IPC, and Readiness in a Robot Runtime Executor
A field note from hardening OMEGA's process-isolated LIFT2 executor after a warming resident VLA actor was misclassified as a stale runtime executor.
Process isolation solves one class of robot runtime problem and creates another one: the service shell can survive heavyweight model work, but the boundary now needs a precise contract. The parent process has to know whether the child is alive. It has to know whether the IPC channel is valid. It also has to project the child runtime's dependency readiness without rewriting it into something else.
OMEGA hit that distinction while hardening the worker-private LIFT2 runtime. A
resident VLA actor was warming up normally, but the parent supervisor projected
the runtime as runtime_executor_stale. The public symptom looked like an
executor liveness failure. The real state was dependency readiness: the child
was alive and the VLA actor was still warming.
Design rule: Dependency warming is not executor staleness. A parent watchdog should not reinterpret child-owned readiness as process liveness.
The symptom
The LIFT2 runtime runs behind an A2A-facing worker. The worker reaches it over a worker-private MCP boundary, and the runtime owns the robot-specific concerns: resident VLA resources, ROS dependencies, task lifecycle, no-actuation behavior, and readiness projection.
After moving toward a process-isolated executor boundary, service mode exposed a
bad projection. /healthz stayed healthy because the HTTP shell was alive, but
/readyz reported skill blockers like this:
runtime_executor_stale
That reason code should mean the parent process has not observed any valid child event for a bounded liveness window. It should not mean "a dependency inside the child is still starting." For a resident VLA actor, the correct readiness blocker during model warmup is:
resident_vla_warming_up
The difference matters. runtime_executor_stale points an operator toward a
dead or silent executor boundary. resident_vla_warming_up points toward a
known startup phase owned by the child runtime.
What the experiments showed
The first question was whether the VLA actor was actually stuck. Running the warmup path by itself completed in the expected range. On the worker host used for the focused proof, the standalone warmup finished in about 41 seconds and reported the resident dependency as available.
Service mode showed a different shape. The runtime logs showed the model load path had started and the checkpoint state had loaded. The GPU still held model memory, but utilization was low after the warmup window. That made a long running inference loop unlikely. It also made a simple "VLA always needs more time" explanation weak.
The important observation came from readiness sampling. During startup, the
right projection should remain resident_vla_warming_up as long as the child
keeps producing valid readiness snapshots. Only a child that stops producing
valid events should become stale.
After the supervision fix, both live worker hosts followed the expected path:
resident_vla_warming_up -> ready=true
That result separated the layers. The VLA warmup path was viable. The service shell was viable. The broken part was the parent-side interpretation of child state.
The root cause
The parent supervisor had too much policy. It was not just watching the child process and validating IPC. It was also interpreting missing or delayed readiness responses in ways that collapsed multiple failure layers into one reason.
That produced the wrong public evidence. A child-owned dependency state such as
resident_vla_warming_up could be overwritten by a parent-owned liveness reason
such as runtime_executor_stale. The resulting diagnosis was misleading: the
operator saw an executor failure when the child runtime was still in a normal
startup phase.
There was also an IPC hygiene risk. If stdout is the strict NDJSON protocol channel, runtime logs must not share that channel. Likewise, stderr should not be treated as another input stream for readiness projection. Logs are useful, but they are not protocol events.
The failure was not that process isolation was the wrong direction. The failure was that the process boundary did not yet have a small enough contract.
The design fix
The parent supervisor became a dumb watchdog.
It now separates three questions:
| Layer | Parent interpretation |
|---|---|
| Process liveness | Dead child or restart backoff becomes runtime_executor_crashed. |
| IPC protocol | Malformed stdout, correlation mismatch, or closed stdout becomes runtime_executor_protocol_error. |
| Dependency readiness | Valid child readiness snapshots are projected as-is. |
That means resident_vla_warming_up remains resident_vla_warming_up for as
long as the child keeps responding with that snapshot. It does not become stale
just because the dependency is not ready yet.
Staleness is reserved for a narrower condition: the child is alive but the parent has not observed any valid child event for the configured liveness window. That is a boundary observation problem, not a dependency readiness problem.
The IPC contract was narrowed as well:
- stdout is the only strict NDJSON IPC channel
- stderr is inherited by the child and goes to private service logs
- runtime
print()output is redirected away from stdout - timeouts are transient observation misses, not protocol corruption
- protocol errors are reserved for malformed, invalid, or corrupt IPC
That shape keeps logs useful without letting raw runtime output participate in public readiness projection.
Why timeout is not protocol corruption
A timeout can happen for many reasons. A child may be busy, a readiness poll may miss its small response window, or a startup path may be slower than expected. Those are not the same thing as a corrupt IPC stream.
Treating every timeout as protocol failure makes the system noisy. It can turn a temporary observation miss into a terminal diagnosis, and it can cause the refresh loop to stop probing exactly when continued observation would have shown recovery.
The better contract is bounded and recoverable:
single readiness timeout -> keep probing
continued absence of valid child events -> stale
malformed or mismatched IPC -> protocol error
That distinction let readiness recover once the child returned valid snapshots again. It also kept already failed side-effecting operations from being replayed after a stale transition. Readiness projection can recover; completed or failed task operations should not be silently reissued.
What public readiness should say
The public worker and operator views need bounded evidence, not raw runtime detail. The useful question is not "what exact private code path is running?" The useful question is "which layer is blocking admission?"
These reason codes carry different operational meaning:
| Reason code | Meaning |
|---|---|
resident_vla_warming_up | The child runtime is alive, but a resident dependency is still warming. |
runtime_executor_stale | The parent has not observed valid child events within the liveness window. |
runtime_executor_protocol_error | The stdout IPC protocol is malformed or mismatched. |
runtime_executor_crashed | The child process exited or is in restart backoff. |
Keeping those reasons distinct avoids the most expensive kind of debugging: chasing the wrong layer.
Takeaways
- Process isolation still needs a narrow supervision contract.
- A parent watchdog should distinguish process liveness, IPC validity, and child dependency readiness.
- stdout should be the only strict IPC channel; stderr and raw logs should not drive readiness.
- A readiness timeout is not automatically protocol corruption.
- Dependency warmup should remain visible as dependency warmup, not be rewritten as executor stale.
/healthz,/readyz, startup, liveness, and task execution are separate contracts, especially in robot runtimes with resident model and ROS state.