Skip to content

Commands without -p silently pick a stray .mpr in the working directory #1444

Closed
ako/mxcli
#1173

Description

@MendixMau

Environment

  • mxcli: v0.26.0 (release binary, 2026-10-11)
  • Mendix app seen on: Siemens FSM template (Marketplace) 9.24.2; 10.24 / 11.13.0 converted copies
  • OS: Linux x86_64 cloud container (no Studio Pro; mx/mxbuild only)

Summary

Commands without -p silently pick a stray .mpr in the working directory. Command / document type: any command without -p. Seen on: FSM template (increment 3). — occurrences: 1

Reproduction

cd <dir containing a stray .mpr> && mxcli describe module M

Expected

refuse or ask.

Actual

Only a Using project: ... notice.

acts on whichever .mpr is present.

Impact

usability, 1 occurrence(s) in the 2026-10-12 round-trip runs.

Activity

  1. github-actions commented on Oct 12, 2026

    @github-actions

    Issue Triage

    Summary:
    The user reports that mxcli commands run without the -p flag automatically select any .mpr file found in the current directory instead of refusing or prompting for clarification.

    Checklist (bug report)

    • ✅ mxcli version (v0.26.0)
    • ✅ Mendix version(s) of the project (9.24.2, 10.24, 11.13.0)
    • ✅ Scenario (running mxcli describe module M)
    • ✅ Expected output (refuse or ask for a project)
    • ✅ Experienced output (silently uses a stray .mpr and shows only a “Using project: …” notice)
    • ❌ AI bug report / session log (output of mxcli diag --bundle or at least the session log)

    Missing information:
    Could you please provide the diagnostic bundle or session log from mxcli diag --bundle (or the relevant log excerpt) so we can investigate the behavior further? Thank you!


    Automated triage via OpenRouter — workflow source

  2. added a commit that references this issue on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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