You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Batch composition create probes acyclicity once per row #673
executeNodeCreateBatch / executeNodeCreateNoReturnBatch run one recursive-CTE acyclicity probe per item that carries partOf, and re-read the same whole node row (and the just-inserted part row) once per item. assertEdgeRelationsAcyclic already accepts a list of proposed edges, so a batch could probe once over the combined set after insert, and the whole rows could be primed per kind the way primeBatchValidationCaches primes endpoints. Deferred from the branch's simplify pass because a batch-level probe changes which row a cycle refusal is attributed to, so it needs its own test of the refusal shape.
Related: the composition cascade re-reads every member row that planCompositionCascade already read (runCompositionCascade's soft path), which the same pass could fold by carrying the planned rows into the delete.
Activity
perf(store): probe a batch's composition edges once and reuse the cas…
perf(store): probe a batch's composition edges once and reuse the cas…
perf(store): probe a batch's composition edges once and reuse the cas…
pdlug commentedon Sep 11, 2026
Fixed on the integration branch for #637 (no release carried the defect); closing now rather than waiting for the merge to main.
perf(store): probe a batch's composition edges once and reuse the cas…