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
Nodes created by an invariant play action get no mentions edges until their content is next edited #4358
Found reviewing #4352. A reaction action creates its node through create_node, which calls sync_created_mentions at creation. An invariant action inserts inside its own transaction through insert_node_in_tx_no_invariant_dispatch (packages/core/src/playbook/actions.rs, execute_create_node_in_tx, about lines 2429-2490), which never calls sync_created_mentions, so a nodespace:// link in its content has no mention edge until the node is edited.
Decide: link mentions on the invariant path (inside the same transaction), or record the omission as intended. Done when a test covers the chosen behaviour.
Activity