Skip to main content

PlayerWasmModuleRun

One execution of a player module (init/tick/invoke/event), attributed to the grid owner it ran as. The per-run twin of the studio WasmModuleRun, scoped to grids the caller currently owns.

type PlayerWasmModuleRun {
runId: String!
appId: BigInt!
gridId: BigInt!
moduleId: String!
moduleName: String!
executedAsUserId: BigInt!
flowId: String
triggerSource: String!
startedAt: DateTime!
durationUs: Int!
fuelUsed: BigInt!
success: Boolean!
errorMessage: String
}

Fields

PlayerWasmModuleRun.runId ● String! non-null scalar

Unique run id (UUID).

PlayerWasmModuleRun.appId ● BigInt! non-null scalar

The app (tenant).

PlayerWasmModuleRun.gridId ● BigInt! non-null scalar

The owned grid the module ran in.

PlayerWasmModuleRun.moduleId ● String! non-null scalar

The module that ran.

PlayerWasmModuleRun.moduleName ● String! non-null scalar

The module name at run time.

PlayerWasmModuleRun.executedAsUserId ● BigInt! non-null scalar

Execution identity: the grid owner the run executed as.

PlayerWasmModuleRun.flowId ● String scalar

Flow correlation id shared across the entry call.

PlayerWasmModuleRun.triggerSource ● String! non-null scalar

What ran: init | tick | event | invoke.

PlayerWasmModuleRun.startedAt ● DateTime! non-null scalar

When the run started.

PlayerWasmModuleRun.durationUs ● Int! non-null scalar

Wall-clock duration in microseconds.

PlayerWasmModuleRun.fuelUsed ● BigInt! non-null scalar

Fuel consumed by the run.

PlayerWasmModuleRun.success ● Boolean! non-null scalar

Whether the run succeeded.

PlayerWasmModuleRun.errorMessage ● String scalar

Typed failure kind when the run failed.

Returned By

playerComputeLogs query ● playerComputeRuns query