pub enum RemoteBuildEventKind {
Show 25 variants
OperationStarted {
command: String,
},
JobCreated {
state: JobState,
},
JobQueued {
position: Option<u64>,
},
WorkerAssigned {
worker_id: String,
},
SourcePrepared {
file_count: u64,
total_bytes: u64,
},
SourceUploadStarted {
total_bytes: u64,
},
SourceUploadProgress {
uploaded_bytes: u64,
total_bytes: u64,
},
SourceVerified {
sha256: String,
},
PhaseStarted {
message: Option<String>,
},
Progress {
message: String,
current: Option<u64>,
total: Option<u64>,
},
CommandStarted {
tool: String,
arguments: Vec<String>,
},
Diagnostic {
diagnostic: RemoteDiagnostic,
},
SigningStarted {
mode: SigningMode,
},
ArtifactCreated {
artifact_id: String,
artifact_type: IosArtifactType,
},
ArtifactValidated {
artifact: ArtifactManifest,
},
ArtifactUploadStarted {
artifact_id: String,
total_bytes: u64,
},
ArtifactDownloadStarted {
artifact_id: String,
total_bytes: u64,
},
ArtifactDownloadProgress {
artifact_id: String,
downloaded_bytes: u64,
total_bytes: u64,
},
ArtifactDownloaded {
artifact: ArtifactManifest,
local_path: ProtocolPath,
},
Warning {
code: String,
message: String,
help: Option<String>,
},
CleanupStarted,
CleanupFinished {
confirmation: CleanupConfirmation,
},
OperationFinished {
success: bool,
duration_ms: u64,
result: Option<IosDeviceBuildResult>,
error: Option<RemoteErrorInfo>,
},
OperationCancelled {
reason: String,
duration_ms: u64,
},
Unknown,
}Expand description
Typed Ferry Remote Build Protocol v1 event payload.
Variants§
OperationStarted
Operation boundary opened.
JobCreated
Provider allocated a job.
JobQueued
Job entered the provider queue.
WorkerAssigned
A concrete worker accepted the job.
SourcePrepared
Source manifest was converted into a bounded upload.
SourceUploadStarted
Source upload opened.
SourceUploadProgress
Source upload advanced.
SourceVerified
Worker verified the exact submitted source.
PhaseStarted
Named build phase opened.
Progress
Bounded progress update.
Fields
CommandStarted
Sanitized external-tool boundary.
Fields
Diagnostic
Structured compiler, signing, or validation diagnostic.
Fields
diagnostic: RemoteDiagnosticDiagnostic payload.
SigningStarted
Signing phase opened without exposing secret values.
Fields
mode: SigningModeSelected signing mode.
ArtifactCreated
Worker created a candidate artifact.
Fields
artifact_type: IosArtifactTypeCandidate artifact type.
ArtifactValidated
Worker independently validated an artifact.
Fields
artifact: ArtifactManifestFull integrity and provenance manifest.
ArtifactUploadStarted
Provider artifact upload opened.
ArtifactDownloadStarted
Client artifact download opened.
Fields
ArtifactDownloadProgress
Client artifact download advanced.
Fields
ArtifactDownloaded
Client downloaded and hash-verified an artifact.
Fields
artifact: ArtifactManifestVerified artifact manifest.
local_path: ProtocolPathAbsolute destination on the client.
Warning
Non-fatal provider warning.
Fields
CleanupStarted
Provider cleanup opened.
CleanupFinished
Provider cleanup completed.
Fields
confirmation: CleanupConfirmationCleanup proof.
OperationFinished
Operation completed, including typed failure.
Fields
result: Option<IosDeviceBuildResult>Build result when this was a build operation.
error: Option<RemoteErrorInfo>Typed failure when success is false.
OperationCancelled
Operation stopped after cancellation.
Unknown
A same-major future event ignored by this reader.
Implementations§
Source§impl RemoteBuildEventKind
impl RemoteBuildEventKind
Sourcepub const fn event_name(&self) -> &'static str
pub const fn event_name(&self) -> &'static str
Stable serialized event name.
Trait Implementations§
Source§impl Clone for RemoteBuildEventKind
impl Clone for RemoteBuildEventKind
Source§impl Debug for RemoteBuildEventKind
impl Debug for RemoteBuildEventKind
Source§impl<'de> Deserialize<'de> for RemoteBuildEventKind
impl<'de> Deserialize<'de> for RemoteBuildEventKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for RemoteBuildEventKind
impl JsonSchema for RemoteBuildEventKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more