Skip to content

CREATE MICROFLOW accepts calls to non-existent microflows without error #395

@retran

Description

@retran

Impact

Creates broken cross-references in the model. Errors only surface when Studio Pro opens the project — no feedback at authoring time.

Steps to Reproduce

CREATE MICROFLOW MyModule."Test" ()
RETURNS Boolean AS $Result
BEGIN
  DECLARE $Result Boolean = true;
  CALL MICROFLOW MyModule."DoesNotExist"();
  RETURN $Result;
END;

Actual Result

Command succeeds. No error or warning. Model contains a dangling reference.

Expected Result

Error (or at minimum a warning) when the call target does not exist in the project.

Severity

Low


Discovered during AI-assisted manual testing session (2026-04-29, mxcli v0.7.0-257-ga07e7e0).

Metadata

Metadata

Assignees

No one assigned

    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