Skip to main content

ExecAppStatus

Whether an app’s ck-exec code may run: its active version and its switches.

type ExecAppStatus {
activeVersion: Int
disabled: Boolean!
disabledTypes: [String!]!
budgetPaused: Boolean!
budgetPauseReason: String
maxInstances: Int
maxReservedMb: Int
orgMaxInstances: Int
orgMaxReservedMb: Int
orgInstances: Int
orgReservedMb: Int
instanceLimit: Int
instances: Int
reservedMb: Int
}

Fields​

ExecAppStatus.activeVersion ● Int scalar​

The active version; null before the first deploy.

ExecAppStatus.disabled ● Boolean! non-null scalar​

The whole app is switched off (execSetEnabled without a node type).

ExecAppStatus.disabledTypes ● [String!]! non-null scalar​

Node types of the active version switched off one by one. A deploy or a rollback that drops a type drops its switch too, so a version that deploys the type again starts it switched on.

ExecAppStatus.budgetPaused ● Boolean! non-null scalar​

Paused while the app's runtime gate is not active (no funds, a spend cap, a lapsed subscription) or it is over its compute budget; it resumes by itself once the cause clears.

ExecAppStatus.budgetPauseReason ● String scalar​

Why the app is paused: insufficient_funds, spend_cap, subscription_lapsed, payment_method_required or compute_budget. Null when it is not paused (or the manager predates reasons).

ExecAppStatus.maxInstances ● Int scalar​

The most instances the app may have placed in this datacenter. The free hub tier (an organization that has not funded its wallet) allows 16, shared with the organization's other apps (orgMaxInstances); null means the manager's default.

ExecAppStatus.maxReservedMb ● Int scalar​

The most memory, in MB, the app's placed instances may reserve in this datacenter (each instance reserves its type's memory). The free hub tier allows 1,024, shared with the organization's other apps (orgMaxReservedMb); null means no memory limit beyond the instance count.

ExecAppStatus.orgMaxInstances ● Int scalar​

The most instances all of the organization's apps together may have placed in this datacenter while it has not funded its wallet: 16. Null when the organization is funded (no shared ceiling) or the manager predates ck-exec 0.22.

ExecAppStatus.orgMaxReservedMb ● Int scalar​

The most memory, in MB, all of the organization's apps' placed instances together may reserve in this datacenter while it has not funded its wallet: 1,024. Null when the organization is funded or the manager predates ck-exec 0.22.

ExecAppStatus.orgInstances ● Int scalar​

Instances of all of the organization's apps placed and not yet stopped in this datacenter now (what orgMaxInstances limits). Null without a shared ceiling.

ExecAppStatus.orgReservedMb ● Int scalar​

Memory, in MB, all of the organization's apps' instances reserve in this datacenter now (what orgMaxReservedMb limits). Null without a shared ceiling.

ExecAppStatus.instanceLimit ● Int scalar​

The instance limit in force: maxInstances, or the manager’s default when that is null. Null from a manager older than ck-exec 0.15.

ExecAppStatus.instances ● Int scalar​

Instances of the app placed and not yet stopped in this datacenter now, mods included. Null from a manager older than ck-exec 0.15.

ExecAppStatus.reservedMb ● Int scalar​

Memory, in MB, those instances reserve now (what maxReservedMb limits). Null from a manager older than ck-exec 0.15.

Returned By​

execActivateVersion mutation ● execAppStatus query ● execSetEnabled mutation