Skip to main content

WasmModuleRun

One recorded compute execution (init / tick batch / event / invoke): timing, fuel, host-call counts, outcome. Written by the runtime (Phase 2); empty until modules execute.

type WasmModuleRun {
runId: String!
appId: BigInt!
flowId: String
moduleId: String!
moduleName: String!
triggerSource: String!
entry: String
startedAt: DateTime!
durationUs: Int!
fuelUsed: BigInt!
dbReads: Int!
dbWrites: Int!
egressMsgs: Int!
egressBytes: BigInt!
success: Boolean!
errorMessage: String
circuitAction: String
}

Fields

WasmModuleRun.runId ● String! non-null scalar

Unique run id (UUID).

WasmModuleRun.appId ● BigInt! non-null scalar

The app (tenant).

WasmModuleRun.flowId ● String scalar

Flow correlation id: shared with gm event-log rows and automation runs caused by the same entry call (computeInvoke / automation run / player invoke); ticks mint their own.

WasmModuleRun.moduleId ● String! non-null scalar

The module that ran.

WasmModuleRun.moduleName ● String! non-null scalar

The module name at run time.

WasmModuleRun.triggerSource ● String! non-null scalar

What ran: init | tick | event | invoke.

WasmModuleRun.entry ● String scalar

The guest entry point (e.g. an invoke export name).

WasmModuleRun.startedAt ● DateTime! non-null scalar

When the run started.

WasmModuleRun.durationUs ● Int! non-null scalar

Wall-clock duration in microseconds.

WasmModuleRun.fuelUsed ● BigInt! non-null scalar

Fuel consumed by the run.

WasmModuleRun.dbReads ● Int! non-null scalar

Host data-API reads performed.

WasmModuleRun.dbWrites ● Int! non-null scalar

Host data-API writes performed.

WasmModuleRun.egressMsgs ● Int! non-null scalar

Replication messages emitted.

WasmModuleRun.egressBytes ● BigInt! non-null scalar

Replication bytes emitted.

WasmModuleRun.success ● Boolean! non-null scalar

Whether the run succeeded.

WasmModuleRun.errorMessage ● String scalar

Error message when the run failed (trap, fuel, watchdog).

WasmModuleRun.circuitAction ● String scalar

Circuit action taken (e.g. opened, half_open_retry).

Returned By

computeModuleRuns query

Member Of

GmFlowTimeline object