Property LastPressure
LastPressure
The most recent level SP1's lifecycle hub reported, latched here by
OnnxLifecycleObserver (spec 14.2) and cleared to null on
Resumed.
Nullable, and that is load-bearing. SP1's merged EdgeMemoryPressure is
{ Low, Moderate, Critical } with no None member and Low as the zero
value, so a non-nullable latch could not express "nothing has been reported" or "cleared" -
it would read as Low from the moment the container is built. Adding a
None = 0 member would renumber Low/Moderate/Critical and is
therefore not an additive change, which spec 5 forbids. null costs
nothing and matches SP1's own idiom: EdgeLifecycleRecord.Level is already
EdgeMemoryPressure?.
This is the shared pressure signal Qavren.Edge.Embeddings.Onnx reads to shrink its
batch size: the batch size lives in the L1 package and the lifecycle observer lives in L0,
so the flag has to sit in L0 or the dependency direction in spec 4.1 breaks. It is a latch,
not an event stream - a reader gets the current level and nothing else.
EdgeMemoryPressure? LastPressure { get; }