Skip to content

A stale comment says a Play-created node links its mentions only at its next edit; the code links it at creation #4307

Done

Description

@mstomar125

Found while correcting the Mentions design (2026-11-19).

The doc comment at packages/core/src/services/node_service/crud.rs lines 589-590 says a node a Play's action creates is linked "when its content is next edited". The code does link it at creation: execute_create_node (packages/core/src/playbook/actions.rs) calls create_node, which reaches sync_created_mentions (crud.rs, around line 573). The comment is stale.

Done when the comment says what the code does, and a test pins that a node created by a Play's action has its mention edges right after the create.

Activity

  1. self-assigned this
    on Nov 19, 2026
  2. mstomar125 commented on Nov 25, 2026

    @mstomar125
    ContributorAuthor

    Decision (owner, 2026-11-25): fix it in the small-fix batch before the next Sync release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions