Skip to content

Add mxcli check --full: semantic validation equivalent to mx check (CE0111/CE0109/CE0053/CE0066) #623

@ako

Description

@ako

Problem

Scripts that pass mxcli check can still produce numerous semantic errors in mx check (Mendix Validator): CE0111 (duplicate variables), CE0109 (undefined variables), CE0053 (invalid types), CE0066 (stale entity access). Today there's no way to get Validator-equivalent feedback without launching Studio Pro / mx.

Current behavior

mxcli check performs syntax parsing + reserved-word checks + some microflow body validation (cmd/mxcli/cmd_check.go:107-136). --references adds reference/conflict validation but requires -p <project> (:154-206). There is no --full / semantic mode, and no flag to run the equivalent of mx check.

Request

Add mxcli check --full performing semantic validation equivalent to mx check (variable scope/uniqueness, type resolution, entity-access freshness, …).

Related (subsets of this umbrella)

A --full mode would likely subsume/aggregate these; consider whether to implement them under this umbrella or keep granular and have --full orchestrate them.


Source: customer feedback batch (2026-06). Reporter: Miwa. Reporter severity: 5/5.
Filed after codebase investigation at 297e0b0a.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions