WasmModuleVersion
An immutable source version of a compute module, plus its compile pipeline status. Rows are created pending; a game-api instance compiles them (Phase 2 runtime).
type WasmModuleVersion {
versionId: String!
moduleId: String!
appId: BigInt!
versionNo: Int!
sourceFilesJson: String!
sourceHash: String!
sdkVersion: String!
abiVersion: Int!
compileStatus: String!
compileLog: String
compiledSizeBytes: BigInt
publishedAt: DateTime
createdAt: DateTime!
}
Fields
WasmModuleVersion.versionId ● String! non-null scalar
Unique version id (UUID).
WasmModuleVersion.moduleId ● String! non-null scalar
The module this version belongs to.
WasmModuleVersion.appId ● BigInt! non-null scalar
The app (tenant).
WasmModuleVersion.versionNo ● Int! non-null scalar
Monotonic version number within the module.
WasmModuleVersion.sourceFilesJson ● String! non-null scalar
JSON object mapping relative paths to file contents (the uploaded Rust source).
WasmModuleVersion.sourceHash ● String! non-null scalar
sha256 of the canonicalized source map; keys the compiled-artifact cache together with toolchain/SDK/ABI versions.
WasmModuleVersion.sdkVersion ● String! non-null scalar
The crowdy-compute-sdk version the source targets.
WasmModuleVersion.abiVersion ● Int! non-null scalar
The guest ABI version the source targets.
WasmModuleVersion.compileStatus ● String! non-null scalar
Compile status: pending | compiling | succeeded | failed.
WasmModuleVersion.compileLog ● String scalar
Compiler output (populated when compilation runs).
WasmModuleVersion.compiledSizeBytes ● BigInt scalar
Size of the compiled artifact in bytes (after compile).
WasmModuleVersion.publishedAt ● DateTime scalar
When this version became the deployed version.
WasmModuleVersion.createdAt ● DateTime! non-null scalar
When this version was uploaded.
Returned By
computeDeployVersion mutation ● computeModuleVersions query