Skip to main content

ExecBuild

A ck-exec build: queued, building, succeeded or failed, with the compiler’s log and, once it succeeds, one module per crate.

type ExecBuild {
buildId: String!
status: String!
kind: String!
log: String
sdkVersion: String
createdAt: DateTime!
startedAt: DateTime
finishedAt: DateTime
artifacts: [ExecBuildArtifact!]!
}

Fields​

ExecBuild.buildId ● String! non-null scalar​

The build’s id: for execBuildStatus and execDeploy, or for a player’s builds execModBuildStatus with execModDeploy (server) or execModClientDeploy (CLIENT half).

ExecBuild.status ● String! non-null scalar​

queued, building, succeeded or failed.

ExecBuild.kind ● String! non-null scalar​

What it builds: exec for ck-exec modules, client for the CLIENT half of a mod (execModClientBuild).

ExecBuild.log ● String scalar​

The compiler’s output once the build finishes, at most 64 KB (the end is kept). Its first line names the toolchain the build ran with.

ExecBuild.sdkVersion ● String scalar​

The SDK version the build compiled against, from the toolchain of the API instance that ran it: ckx-sdk for a ck-exec build, crowdy-client-sdk for a CLIENT half. A crate’s own version requirement for the SDK is not what decides this. Null until the build starts, and for builds from before it was recorded.

ExecBuild.createdAt ● DateTime! non-null scalar​

When the build was requested.

ExecBuild.startedAt ● DateTime scalar​

When it started compiling.

ExecBuild.finishedAt ● DateTime scalar​

When it finished.

ExecBuild.artifacts ● [ExecBuildArtifact!]! non-null object​

The modules built so far, one per crate.

Returned By​

execBuild mutation ● execBuildStatus query ● execModBuild mutation ● execModBuildStatus query ● execModClientBuild mutation