INNER CODE UNIT · Rust

begin_desktop_run

slothflowlabs/duckle · apps/desktop/src/lib.rs:536

fn begin_desktop_run(
    workspace: &Option<String>,
    pipeline: &duckle_duckdb_engine::PipelineDoc,
    pipeline_id: &str,
    trigger: &str,
) -> Option<(std::path::PathBuf, duckle_duckdb_engine::retry::RunReceipt)> {
    // No workspace means nowhere to record into, which is the scratch-canvas
    // case rather than an error.
    let workspace = std::path::PathBuf::from(workspace.as_deref().filter(|w| !w.is_empty())?);
    let workspace = &workspace;
    let hash = duckle_duckdb_engine::retry::pipeline_hash(pipeline);
    let run_id = duckle_duckdb_engine::retry::new_run_id(pipeline_id, trigger);
    Some((
        workspace.clone(),
        duckle_duckdb_engine::retry::begin(
            workspace,
            &run_id,
            trigger,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…