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
[bug] bulk_update emits NodeUpdated with empty changed_properties and replaces (not merges) properties #1434
Severity: medium · Confidence: high (empty changed_properties) / medium (normalization)
bulk_update (services/node_service/bulk.rs:551-569) hardcodes changed_properties: vec![] though it has old+new in hand → property-change-driven automation (playbook rules, UI subscribers on e.g. status: todo→done) silently no-ops for bulk edits. It also assigns updated_node.properties = p.clone() (wholesale replace) instead of the normalize+deep-merge the single-update path uses, so the event payload can diverge from persisted state and skip enum/required validation.
Fix: compute compute_property_changes(...) and run the same normalize+deep-merge as single-update.
Found via the 2026-06-18 multi-repo bug-hunt sweep. Confidence/severity from the sweep + spot-verification.
Resolved in #1459. bulk_update now normalizes + deep-merges properties like update_node (was wholesale-replace of un-normalized values), validates the merged candidate, persists the merged value, and emits real changed_properties via compute_property_changes (was hardcoded empty, no-opping property-change automation). Tests: merge + non-empty changed_properties; updated the existing partial-fields test to the new contract.
Activity
mstomar125 commentedon Jun 24, 2026
Resolved in #1459.
bulk_updatenow normalizes + deep-merges properties likeupdate_node(was wholesale-replace of un-normalized values), validates the merged candidate, persists the merged value, and emits realchanged_propertiesviacompute_property_changes(was hardcoded empty, no-opping property-change automation). Tests: merge + non-empty changed_properties; updated the existing partial-fields test to the new contract.Batch D (P2): collection pagination (#1430) + transactional bulk_dele…