Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
8ff7fdb
fix(git merge): refuse another Mendix version's mx merge engine
claude Nov 25, 2026
9d8aec9
findings: ref mendixlabs/mxcli#1976 for the git merge mx version finding
MendixMau Nov 27, 2026
15bac60
Merge mendixlabs/mxcli#1977: git merge refuses another Mendix version…
claude Nov 28, 2026
5f7b11a
fix(git merge): take the exact mx before PATH; --mxbuild-path must ho…
claude Nov 28, 2026
9d07df0
Merge pull request #2651 from ako/integrate/up1977-git-merge-mx-version
ako Nov 28, 2026
dc09ce7
fix(marketplace package): take the exact mx before PATH; --mxbuild-pa…
claude Nov 28, 2026
1847a48
fix: stop writing @mxcli-layout into flow documentation (#2635)
claude Nov 28, 2026
f6bf16f
check: reject a split type the build rejects (CE0090/CE0774/CE0771, M…
claude Nov 28, 2026
1494af1
Merge pull request #2653 from ako/fix/2652-package-mx-exact-before-path
ako Nov 28, 2026
bd98cd3
Merge remote-tracking branch 'origin/main' into fix/ce0089-split-type
claude Nov 28, 2026
abaa258
Merge remote-tracking branch 'origin/main' into tmp2654
claude Nov 28, 2026
f064f6f
Merge pull request #2655 from ako/fix/ce0089-split-type
ako Nov 28, 2026
9660900
Merge remote-tracking branch 'origin/main' into tmp2654
claude Nov 28, 2026
30695a4
fix: true-right-false-down keeps TRUE on the line for an if without e…
claude Nov 28, 2026
b57e042
Merge pull request #2654 from ako/claude/issue-triage-prioritization-…
ako Nov 28, 2026
79e6658
test: gofmt the #2636 layout test
claude Nov 28, 2026
76ff384
fix: true-right-false-down nested false branches share the first row …
claude Nov 28, 2026
3e06ef3
Merge pull request #2656 from ako/claude/issue-triage-prioritization-…
ako Nov 28, 2026
f19066b
Merge pull request #2657 from ako/claude/issue-triage-prioritization-…
ako Nov 28, 2026
e703263
check: reject a published OData service that exposes a Binary attribu…
claude Nov 28, 2026
92fdae7
fix(test): --attach no longer refuses a microflow proxy as a Java change
claude Nov 28, 2026
551ad93
findings: attach jar guard refused the injected microflow's proxy as …
claude Nov 28, 2026
07f281d
Merge remote-tracking branch 'origin/main' into fix/ce5013-published-…
claude Nov 28, 2026
dd04f8e
fix: alter page set (OnChange: ...) on a built-in input (#2602)
claude Nov 28, 2026
e828d0c
check: reject call external action naming an action the contract lack…
claude Nov 28, 2026
9562f58
Merge pull request #2659 from ako/claude/mxcli-nightly-build-failure-…
ako Nov 28, 2026
33f85d9
Merge remote-tracking branch 'origin/main' into fix/ce7251-unknown-ex…
claude Nov 28, 2026
1a23724
Merge remote-tracking branch 'origin/main' into tmp2660
claude Nov 28, 2026
c829085
feat: @size(w, h) on activities and decisions (#2589)
claude Nov 28, 2026
e9f9007
check: reject modify attribute on an external entity that leaves the …
claude Nov 28, 2026
2f8c9dd
Merge pull request #2660 from ako/claude/issue-triage-prioritization-…
ako Nov 28, 2026
4e26caf
test: roundtrip anchor includes the activity's @size (#2589)
claude Nov 28, 2026
0b150e9
Merge pull request #2663 from ako/claude/issue-triage-prioritization-…
ako Nov 28, 2026
55371ac
Merge remote-tracking branch 'origin/main' into fix/ce5013-published-…
claude Nov 28, 2026
1f820a0
Merge pull request #2658 from ako/fix/ce5013-published-binary
ako Nov 28, 2026
359e451
Merge remote-tracking branch 'origin/main' into fix/ce7251-unknown-ex…
claude Nov 28, 2026
9bf5815
feat: call ml model statement for Microflows$MLModelCallAction (#2623)
claude Nov 28, 2026
afd082e
Merge remote-tracking branch 'origin/main' into claude/issue-triage-p…
claude Nov 28, 2026
d8d6ce5
Merge pull request #2661 from ako/fix/ce7251-unknown-external-action
ako Nov 28, 2026
7733f51
Merge remote-tracking branch 'origin/main' into fix/ce6621-external-m…
claude Nov 28, 2026
25a8174
Merge remote-tracking branch 'origin/main' into claude/issue-triage-p…
claude Nov 28, 2026
3bbc056
Merge pull request #2662 from ako/fix/ce6621-external-modify-attribute
ako Nov 28, 2026
5357ce7
Merge remote-tracking branch 'origin/main' into claude/issue-triage-p…
claude Nov 28, 2026
08bf190
Merge pull request #2664 from ako/claude/issue-triage-prioritization-…
ako Nov 28, 2026
aa85ad9
fix: a layout-grid column with no DesktopWidth shares the row
claude Nov 28, 2026
62df2e8
Merge pull request #2665 from ako/claude/issue-triage-prioritization-…
ako Nov 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "cmd/mxcli", "date": "2026-11-25", "symptom": "`mxcli git merge` merged a model with another Mendix version's `mx merge` when the project's exact version was not installed: the merge commit was written by that engine and nothing warned.", "cause": "realMxMerge and realMxDiff called docker.ResolveMxForVersion, which treats the version as a preference: it takes an mx on PATH first, then the newest installed one, then any cached download, and returns no error when none matches.", "file": "cmd/mxcli/cmd_git_merge.go", "fix": "mergeMxLookup resolves mx once per run and checks docker.MxBinaryVersion against the project's _ProductVersion with docker.SameMendixRelease; another release, or an mx whose version cannot be told, is an error, so the runner fails before exec and the existing abort path restores the tree. --mxbuild-path is the override (warns once), the same rule marketplace package's checkMxVersion applies.", "insight": "ResolveMxForVersion's 'any version will do' fallbacks are right for read-only checks and wrong for anything that writes the model; every writer (new, marketplace package, fix hashes, now git merge) has had to add its own exact-version check. Grep for ResolveMxForVersion callers that write before trusting the resolver.", "refs": ["mendixlabs/mxcli#1976"], "test": "cmd/mxcli/gitmerge_mx_version_test.go (another version refused and aborted; unknown version refused; --mxbuild-path runs the engine with one warning; control: with the check stubbed out all three fail)"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area":"cmd/mxcli","date":"2026-11-28","symptom":"The nightly goes red on the Mendix 11.15.0 and 11.16.0 legs (ako/mxcli run 46132208195, mendixlabs/mxcli run 46132550380), in `TestTestAttach_KeepsTheHostingAppsPageBundles`: `mxcli test --attach` exits 1 with `this change compiles to other Java classes, which the running runtime cannot load without a restart, and --attach cannot restart it`, although the attach only injects a test microflow. 10.24, 11.6, 11.12, 11.13, 11.14 and 11.17 are green","cause":"The project.jar guard of ako/mxcli#2640 (d43db2c1, merged the day before) counted any entry whose CRC or size changed as new Java. Mendix generates a call stub per microflow in each module's proxies/microflows/Microflows class, and on 11.15/11.16 the attach's build (the dev loop's incremental build, then a cold one on a private serve because web/dist lost its pages) recompiles it, so the injected test microflow changes mxtest/proxies/microflows/Microflows.class. The guard's comment assumed the injection adds no Java. The test needs a cached mxbuild and a runtime, so only the nightly runs it","file":"`cmd/mxcli/testrunner/jar_guard.go` (`isMicroflowProxy`, left out of `jarEntries`), `cmd/mxcli/testrunner/jar_guard_2640_test.go`","insight":"Measure what changed before deciding what a change means: a diagnostic build of the guard printing the differing entries showed exactly one, `mxtest/proxies/microflows/Microflows.class` 860 -> 1128 bytes, of 163. A microflow proxy is no Java the running runtime needs (it runs microflows by name, and the test endpoint calls Core.microflowCall); only Java calling the new stub would need it, and that Java is a changed class of its own, which the comparison still sees. When a guard gates the attach, run the attach integration test on every prebuilt-client version (11.14-11.17) before merging. Controls: the unit test's proxy-only case fails with the filter stubbed (changed=true); the integration test with the fix passes on 11.16.0 and 11.15.0 (the failing legs) and on 11.17.0","refs":["ako/mxcli nightly run 46132208195","mendixlabs/mxcli nightly run 46132550380","ako/mxcli#2640","mendixlabs/mxcli#1973"],"test":"cmd/mxcli/testrunner/jar_guard_2640_test.go; cmd/mxcli/cmd_test_attach_bundle_integration_test.go"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "cmd/mxcli", "date": "2026-11-28", "symptom": "after the git merge mx version check (mendixlabs/mxcli#1977), a merge was refused although the project's exact mx was installed, whenever another version's mx was on PATH; and `--mxbuild-path` naming a folder without an mx ran the mx on PATH under the override, with only a warning", "cause": "docker.ResolveMxForVersion tries PATH before an exact-version install or cache, and when --mxbuild-path holds no mx it falls back to PATH; the version check sat after the resolver, so it refused the PATH mx instead of looking for the right one, and the override applied to an mx nobody named", "file": "cmd/mxcli/cmd_git_merge.go (mergeMxLookup, pathWithin)", "fix": "without --mxbuild-path take docker.LocalMxForVersion (exact install or cache, never PATH) first, then the resolver plus the check; with it, refuse an mx that does not lie under the named path (a file path stands for its folder); warn when the project's version is unknown, as marketplace package does", "insight": "a version check placed after a preference-ordered resolver turns every resolver fallback into a refusal or an override; the exact-version lookup has to come before the resolver, not after it. marketplace package has the same PATH-first refusal", "refs": ["ako/mxcli#2644", "mendixlabs/mxcli#1976", "mendixlabs/mxcli#1977"], "test": "cmd/mxcli/gitmerge_mx_resolve_2644_test.go"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "cmd/mxcli", "date": "2026-11-28", "symptom": "`mxcli marketplace package` refused to export when another Mendix version's mx was on PATH although the project's exact mx was cached (the hint said to take it off PATH), and `--mxbuild-path` naming a folder without an mx exported with the PATH mx under the override", "cause": "the version check (checkMxVersion) ran after docker.ResolveMxForVersion, which tries PATH before an exact-version install and falls back to PATH when --mxbuild-path holds no mx", "file": "cmd/mxcli/cmd_marketplace_package.go (packageMxPath)", "fix": "packageMxPath takes docker.LocalMxForVersion first without --mxbuild-path, and refuses an mx outside the named path with it (pathWithin, shared with git merge); the help text and hint say so", "insight": "same defect, same fix as git merge (ako/mxcli#2644): the version check must follow an exact-version lookup, not a preference-ordered resolver. Any other writer that checks ResolveMxForVersion's result after the fact has the hole too", "refs": ["ako/mxcli#2652", "ako/mxcli#2644"], "test": "cmd/mxcli/cmd_marketplace_package_mx_2652_test.go"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-backend", "date": "2026-11-28", "refs": ["ako/mxcli#2602", "mendixlabs/mxcli#1953"], "symptom": "`alter page … set (OnChange: call microflow …) on txtAmount` was refused by check and exec as \"not a pluggable widget and has no named action slots\", though create page writes and describe prints the text box's OnChange; the refusal pointed at `set (Action: …)`, which addresses a click action a text box does not have. OnEnter / OnLeave / OnEnterKeyPress were in the same state.", "file": "mdl/backend/pagemutator/mutator.go (SetWidgetNamedAction, setBuiltInEventAction)", "cause": "Every action-valued SET key other than the click keyword went to SetWidgetNamedAction, which only knew pluggable widgets' Object.Properties slots and refused any widget without an Object.", "fix": "A built-in widget's event action is written into its stored key (OnChangeAction, OnEnterAction, OnLeaveAction, OnEnterKeyPressAction), addressed by the MDL name create page reads or the stored name, and only where the stored widget holds that key; otherwise refused naming the event actions it has.", "insight": "The dispatch was decided by key shape (click keyword vs anything else) when the widget kind is what decides where an action lives. The write-only-where-the-key-exists rule from SetWidgetAction carries over: Studio Pro throws on an unknown property while mxbuild builds clean.", "test": "mdl/backend/pagemutator/mutator_event_action_test.go TestSetWidgetNamedAction_BuiltInInputEvents_2602 (each event, both spellings, other events untouched) and _BuiltInWithoutTheEvent_2602 (text area, no OnEnterKeyPress) failed with the issue's message before the fix. Live (issue repro on testdata/expr-checker): check passes, exec alters, second exec unchanged, describe shows OCH_Updated and the new OnLeave; mx check 11.17.0's only error is CE0535 from the repro's bare `column`, the same on main without the alter."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-28", "refs": ["ako/mxcli#2602"], "symptom": "A layout-grid `column { … }` with no DesktopWidth was written at Weight 1 — one twelfth of the row. On an 11.6.6 project mx check failed the row with CE0535 \"The weights of the columns in a row must add up to 12, but currently they add up to 1\"; `check` was clean. Found while reproducing #2602, whose script used a bare column.", "file": "mdl/executor/cmd_pages_builder_v3_layout.go (buildLayoutGridColumnV3, shareBareColumnWeights), validate_layoutgrid_row_weights.go (MDL-GRID01)", "cause": "buildLayoutGridColumnV3 defaulted Weight to 1, a value no Studio Pro row uses for a full-width column.", "fix": "A bare column is unset until its row shares what the stated widths leave of 12 in equal whole shares (one 12, two 6+6, beside a 6 another 6); with no whole share it stays unset, which the writer stores as auto-fill (-1). check warns (MDL-GRID01) about a row whose widths do not add up to 12 in a project below 11.12.", "insight": "The CE0535 rule is version-dependent and the obvious fix (default to AutoFill, what Studio Pro 11.14 pages use 325 times) is wrong for older projects: measured, mx on an 11.6.6 project refuses AutoFill as -1, AutoFit as -2 and 6+4 as 10, while 11.12.6 and 11.14.0 projects accept all of them. The relaxation lies between 11.6.6 and 11.12.6 and is not pinned, so the check is a warning. A scan of Studio Pro weights must read int64 (BSON 0x12): an int32-only scan found no auto-fill columns in a project that has 325.", "test": "mdl/executor/cmd_pages_layoutgrid_bare_column_test.go TestLayoutGridBareColumnsShareTheRow (failed with [1], [1 1], [6 1] before the fix) and TestValidateLayoutGridRowWeights (11.6 warns on 6+4, AutoFill, five bare; 11.12 never). Live on the 11.6.6 fixture: one bare, two bare and 6+bare pages mx check 0 errors (CE0535 each before); describe prints DesktopWidth: 6 for the shared column; check warns MDL-GRID01 on 6+4."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-28", "refs": ["ako/mxcli#2623", "mendixlabs/mxcli#1964"], "symptom": "A microflow with a Call ML model activity (Microflows$MLModelCallAction) described as `-- Unsupported action: Microflows$MLModelCallAction`, so describe → exec removed the activity from the model.", "file": "sdk/microflows/microflows_actions.go (MLModelCallAction), mdl/backend/modelsdk/microflow_read_actions.go + microflow_write.go, MDLMicroflow.g4 callMlModelStatement (+ ML in MDLLexer / the keyword rule), visitor_microflow_actions.go, cmd_microflows_builder_calls.go (addCallMLModelAction, mlMappingOutputEntity), cmd_microflows_format_action.go, validate.go (mlMappings), modelsdk/mpr/reader_raw.go (mlmapping alias)", "cause": "The action had a generated metamodel type but no SDK type, no reader/writer case, no MDL statement and no describe case.", "fix": "`[$Out =] call ml model Module.Mapping($In) [on error …];` builds Microflows$MLModelCallAction with Studio Pro's exact keys (ErrorHandlingType, InputVariableName, MlMappingDocument, VariableName — no ModelCall, deleted in 9.18); describe prints it back. The output variable is typed as the mapping document's MlModelMappings.Output.Entity, read by name through a new `mlmapping` raw-unit alias. check --references refuses a mapping that does not exist (mxbuild CE1613); a nanoflow refuses the statement (MDL091). ML is a new keyword, listed in the keyword rule so it stays a name.", "insight": "With no Studio Pro project holding an ML mapping (it needs an ONNX model), the reporter's BSON was the reference: the encoded keys are compared with it exactly. Live, mxbuild 11.17.0 loaded the written activity as a 'Call ML model' activity and reported only the absent mapping (CE1613), which is the proof the shape is right short of a real model.", "test": "mdl/backend/modelsdk/microflow_ml_model_call_test.go (Studio Pro key set, read of the reporter's BSON); mdl/executor/cmd_microflows_ml_model_call_test.go (build + describe fixed point; references with a mock: existing mapping passes, missing refused — fails with the check stubbed; output entity resolved). Live on testdata/expr-checker: exec writes the issue's exact keys, describe prints the statement, second exec unchanged; mx check 11.17.0: only CE1613 for the absent mapping."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-28", "refs": ["ako/mxcli#2636", "mendixlabs/mxcli#1971"], "symptom": "Under true-right-false-down an `if` without `else` whose THEN carries on was drawn the default way round: the TRUE activity in a lane below the split (530, 300), the empty FALSE straight to the merge on the line. `create` and `layout flows` both produced it, and layout flows swapped explicit @anchor(true: right) back.", "file": "mdl/executor/layout_lanes.go (withColumnElse), cmd_microflows_builder_control.go addIfStatement, layout.go measureIf", "cause": "The style only applied to ifHasElse(s); an IF without ELSE always took the default's TRUE-below path, whatever the style.", "fix": "Under IfElseColumn an IF without ELSE whose THEN carries on is laid out as one with an empty ELSE (HasElse on a copy, in both the builder and the measurer): TRUE on the line, FALSE from the split's bottom into the merge's bottom. The model is the same — an empty ELSE is the false flow into the merge — so describe still prints no `else`. A guard (THEN returns) is left to the guard setting.", "insight": "The empty-ELSE path already existed and was right; the defect was only which IFs reached it. Applying the copy in the measurer too keeps bounds and positions from disagreeing, which is what the overlap assertions catch.", "test": "flowlayout_ifelse_column_test.go TestIfElseColumn_IfWithoutElseKeepsTrueOnTheCentreLine (controls: default style keeps TRUE below; a guard keeps TRUE below) failed before the fix at exactly the issue's (530, 300); flowlayout_describe_test.go styled flow gained the shape and describes with no positions. Live 11.17.0: issue repro gives TRUE at (530, 200), false flow bottom->bottom, describe prints the plain `if`, second exec and layout flows --dry-run unchanged, mx check 0 errors."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl/executor", "date": "2026-11-28", "refs": ["ako/mxcli#1258"], "ce": ["CE7251", "CE0117"], "symptom": "`call external action M.Client.NotThere`, or the right action name in another case (`dothing` for `DoThing`), passed `check -p` and `exec`; `mx check` reported CE7251 \"Service 'M.Client' does not contain action 'dothing'.\" plus CE0117 on the output variable.", "file": "mdl/executor/validate_external_action_names.go ValidateExternalActionNames (MDL111), wired in validate_program.go; tests validate_external_action_names_test.go", "cause": "The flow builder's externalActionContract matches the action case-insensitively (strings.EqualFold) to type the result and the parameters, and the writer stores the name as typed, so a wrong-case name was typed correctly and written wrong; an absent name was simply written.", "insight": "**A lenient lookup in the builder is a strict one waiting to fail downstream.** The builder's EqualFold made a wrong-case action look resolved (its return type was found), which is exactly why nothing complained; Mendix compares the stored name exactly. The rule reads the contract stored on the project's consumed service (types.ParseEdmx over Metadata), and does not judge a service the script creates, alters or drops, whose contract is not the stored one. Needs `check -p`, so there is no no-project .fail fixture; proven end to end on a project with the contract imported (check -p and exec refuse NotThere and dothing, accept DoThing)."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl/executor", "date": "2026-11-28", "refs": ["ako/mxcli#1258"], "ce": ["CE6616", "CE6621"], "symptom": "`alter entity <external entity> modify attribute A <type>` that changed a mapped attribute's type class (Integer to Decimal, String to Integer) or a string's length away from the contract passed `check -p` and `exec`; `mx check` reported CE6616 (type) or CE6621 (max length).", "file": "mdl/executor/validate_external_modify_attribute.go ValidateExternalModifyAttribute (MDL112), wired in validate_program.go; tests validate_external_modify_attribute_test.go", "cause": "The two neighbouring statements were guarded (`create or modify external entity` refuses a type change, MDL-V1-REMOTETYPE; `add attribute` an unmapped one, CE6612) but `modify attribute` applied the new type to the stored attribute without comparing it with the service.", "insight": "**MxBuild compares attribute type CLASSES, not types: its own message says 'Integer/Long'.** Qty Edm.Int32 modified to long builds clean, so a strict type-equality rule would have refused a valid change. The rule compares classes (Integer/Long one, Decimal, Boolean, DateTime, String) and, for an Edm.String, the length against the contract's MaxLength (none or max = unlimited, which `string` and `string(unlimited)` both store as 0). It reads the contract, not the stored attribute, so a modify that repairs a drifted attribute back to the contract is not refused. A key with no MaxLength is not judged (the importer bounds it to 100 itself). Not covered here: `add attribute` on an external entity is refused by exec and by check --references, but not by plain check -p."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-28", "refs": ["ako/mxcli#2635", "mendixlabs/mxcli#1970"], "symptom": "In a project with layout-config.yaml every flow mxcli wrote gained an `@mxcli-layout: …` line in its Documentation — Studio Pro's documentation pane, generated docs and DESCRIBE output — even when the style was the project's; leaving it out of the doc comment did not remove it, because the write appended it again.", "file": "mdl/executor/flowlayout_config.go (resolveFlowLayout, withoutFlowLayoutMarker, describingFlowLayout), cmd_microflows_layout.go", "cause": "The style a flow was drawn in was recorded per flow in user content so DESCRIBE could judge positions against it after the project changed style.", "fix": "The marker is never written. DESCRIBE reads an unmarked flow in the project style (the one create or modify rebuilds in), so derived positions are judged against what exec will do; a flow drawn in another style prints the @position lines that keep it. A legacy marker is honoured once and removed by the next write or `layout flows`.", "insight": "Inferring the style from geometry (try project, then default) sounds free but breaks the round trip: exec has nothing to tell it the description was derived against the default, so it rebuilds in the project style. The only style DESCRIBE may treat as derivable is the one exec will use. The guard shape (flowLooksLikeGuardContinuation) had to read the project style too, or guard flows printed positions.", "test": "flowlayout_config_test.go TestWithoutFlowLayoutMarker, TestResolveFlowLayout; flowlayout_describe_test.go TestDescribeJudgesPositionsAgainstTheProjectStyle (control: project back on default prints positions). Reverting the describe fallback fails the guard case; re-adding the stamp fails 'wrote a marker'. Live 11.17.0 on the issue's repro: no line in bson, no @position, second exec unchanged; legacy marker stripped, round trip unchanged; mx check 0 errors."}
Loading
Loading