NodeInterruptionNotice type
The provider is reclaiming nodeId. Raised by the daemon from the worker’s own report (the instance metadata service is reachable only from the instance). The daemon tags the node interruption=<kind> at the same time, so a client hydrating from listNodes sees it too. The AutoManager drains the node on this (handleNodeInterruption).
Signature:
export type NodeInterruptionNotice = {
event: "nodeInterruptionNotice";
nodeId: NodeId;
kind: NodeInterruptionKind;
deadline?: Date;
};
References: NodeId, NodeInterruptionKind