Skip to main content

update_graph_with_tx

Function update_graph_with_tx 

Source
pub fn update_graph_with_tx(
    tx: &Transaction<'_>,
    result: &AttributedRunResult,
    eval_id: &str,
    version_id: &str,
    config: &ForgeConfig,
) -> ForgeResult<UpdateResult>
Expand description

Update the causal graph using an already-open transaction handle.

This avoids nested write transactions and keeps CEA writes inside the owning store transaction boundary.