Skip to main content

export_failed_data_v2

Function export_failed_data_v2 

Source
pub fn export_failed_data_v2(
    spec: &ExecutionCellSpec,
    cell_id: &str,
    run_id: Option<&str>,
    artifact_name: &str,
    target_kind: ExportReceiptTargetKind,
    target_name: Option<&str>,
    destination: Option<&str>,
    reason: &str,
    provenance: Option<&Provenance>,
) -> Result<Value, Error>
Expand description

dev.cellos.events.cell.export.v2.failed

Schema: contracts/schemas/cell-export-failed-v2.schema.json.

provenance (Tranche-1 seam-freeze G2) — when set, points at the parent event that caused this export attempt. The supervisor populates it with the cell.lifecycle.v1.started envelope of the originating cell run so downstream consumers (tencrypt envelope promotion, taudit graph build) can walk failed artifact → lifecycle → spec without operator joins. Omitted from the JSON when None to preserve v2 schema backward-compat.