Skip to main content

ExecInstance

An instance the execution manager has placed for an app.

type ExecInstance {
instanceId: String!
nodeType: String!
key: String!
kind: String!
phase: String!
host: String
epoch: Int!
sinceMs: Float!
heldBack: String
orphaned: Boolean
}

Fields​

ExecInstance.instanceId ● String! non-null scalar​

The instance id.

ExecInstance.nodeType ● String! non-null scalar​

ExecInstance.key ● String! non-null scalar​

The instance key; empty for the root hub.

ExecInstance.kind ● String! non-null scalar​

hub or spoke.

ExecInstance.phase ● String! non-null scalar​

idle, starting, running or stopping.

ExecInstance.host ● String scalar​

The execution host it runs on; null while idle.

ExecInstance.epoch ● Int! non-null scalar​

Rises each time it is placed; snapshots from an older epoch are refused.

ExecInstance.sinceMs ● Float! non-null scalar​

Milliseconds since it entered this phase.

ExecInstance.heldBack ● String scalar​

Why the manager will not place it right now (a crash loop, a failed start), when it will not.

ExecInstance.orphaned ● Boolean scalar​

Its node type is not in the app’s active version: a deploy or a rollback dropped the type and stopped the instance. It keeps its saved state, which a version that deploys the type again starts it from. Never true for a mod. Null from a manager older than ck-exec 0.19.

Returned By​

execInstances query