Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ad014e1
feat(verify): re-recording a baseline refuses to accept new errors wi…
claude Nov 20, 2026
6d27054
fix(report): stacked-bar labels wrap at phone width instead of being cut
claude Nov 20, 2026
8b381b0
catalog: resolve an attribute used through a microflow's local variab…
claude Nov 20, 2026
49da270
mxcli test: ask the Docker daemon before generating .docker/
claude Nov 20, 2026
07588fc
check: MDL063 over alter microflow fragments
claude Nov 20, 2026
1a57dc5
check: a REST call's binary body must be Binary
claude Nov 20, 2026
46153f3
check: read a script-declared view entity's columns from the script
claude Nov 20, 2026
16fb941
pages: register a pluggable widget's name before building its slots
claude Nov 20, 2026
1faccb3
Merge remote-tracking branch 'origin/main' into claude/issue-triage-p…
claude Nov 20, 2026
137c532
Merge remote-tracking branch 'origin/main' into fix/catalog-local-var…
claude Nov 20, 2026
4229ddc
Merge pull request #2488 from ako/claude/issue-triage-prioritization-…
ako Nov 20, 2026
5a2aaaa
Merge pull request #2484 from ako/claude/update-baseline-accepts-errors
ako Nov 20, 2026
3712581
Merge pull request #2485 from ako/claude/gifted-fermi-2udffj
ako Nov 20, 2026
89d4659
Merge branch 'main' into fix/catalog-local-variable-refs
ako Nov 20, 2026
1798160
Merge pull request #2486 from ako/fix/catalog-local-variable-refs
ako Nov 20, 2026
5ea6ddf
Merge branch 'mendixlabs:main' into main
ako Nov 20, 2026
588fc05
fix tools: keep the conversion records Studio Pro wrote
claude Nov 20, 2026
96b17a6
Merge remote-tracking branch 'origin/main' into claude/issue-triage-p…
claude Nov 20, 2026
fd20335
business events: store message String lengths; describe each operation
claude Nov 21, 2026
a8e36ec
Merge pull request #2493 from ako/claude/issue-triage-prioritization-…
ako Nov 21, 2026
a5e7eab
Merge remote-tracking branch 'origin/main' into claude/issue-triage-p…
claude Nov 21, 2026
836bef8
Merge pull request #2494 from ako/claude/issue-triage-prioritization-…
ako Nov 21, 2026
fdf138d
business events: `publish subscribe` for one message both ways
claude Nov 21, 2026
b2c76e6
business events: a message's operations are its children (R2)
claude Nov 21, 2026
7940c06
business events: canonical fixture and migration page for MDL-DEPR075…
claude Nov 21, 2026
77a4e1a
Merge pull request #2495 from ako/claude/issue-triage-prioritization-…
ako Nov 21, 2026
549ca20
alter layout: reach the placeholder fills of a nested layout
claude Nov 21, 2026
4f64c45
check: refuse a data view in a layout and a misplaced sidebar toggle …
claude Nov 21, 2026
76092ab
describe elk page: keep DataGrid2 slot widgets (#2465)
claude Nov 21, 2026
1719bb3
skills: refresh write-layouts index after the #2461 placement rules
claude Nov 21, 2026
17696a7
odata: import enum-typed properties as generated enumerations (#2477)
claude Nov 21, 2026
0365e4b
odata: import an enum-typed property from Mendix 10.12 only (#2477)
claude Nov 21, 2026
fb9febd
Merge pull request #2496 from ako/claude/issue-triage-prioritization-…
ako Nov 21, 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-20", "refs": ["ako/mxcli#2474"], "ce": [], "symptom": "`mxcli test` without --local, where no Docker daemon runs, failed at `docker compose up` with the --local hint but left .docker/ (docker-compose.yml, .env, build/) in the project: a Docker setup the user never had, in git status.", "file": "cmd/mxcli/testrunner/runner.go runDockerAndCapture (dockerDaemonReachable). Test: cmd/mxcli/testrunner/docker_no_daemon_2474_test.go", "cause": "The first step that contacted the daemon was `up`; generating the stack and building into it came before.", "insight": "**Ask the external dependency before writing anything that only it would use.** `docker info` reaches the daemon where `docker version` succeeds on the client alone. The test needs the control (daemon reachable -> .docker/ appears), or an empty .docker/ check passes against a generator that simply refuses the fake project."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "cmd-mxcli", "date": "2026-11-21", "refs": ["ako/mxcli#2487", "ako/mxcli#2492", "mendixlabs/mxcli#1917"], "ce": [], "symptom": "After Studio Pro 11.16.1 recorded UseMeToSetupNodeConversion in Projects$ProjectConversion.OneTimeConversions, `fix design-properties` (and the repair after `marketplace install`, which runs it) removed the record, so Studio Pro asked to convert the project again and re-saved every mxcli-written unit. Measured on 11.12.6 with the record added: 'Renamed 0 Design Properties', '1 unit(s) changed', 117 -> 116 entries.", "file": "cmd/mxcli/docker/harvest.go applyHarvest / keepStoredConversions. Test: cmd/mxcli/docker/harvest_conversions_2487_test.go", "cause": "mx drops a one-time conversion record it has no provider for whenever it re-saves ProjectConversion (the 11.16.1 provider is in the UI layer mx does not run). The harvest carried the re-saved unit back for rename-design-properties, which #2288 deliberately left unscoped; update-widgets was already scoped to Forms$ units and kept it.", "insight": "**A record that a conversion ran is never a tool's to remove.** Restore what the stored list has and the tool's lacks, keep what it adds; the restored element needs a fresh $ID because canon.Reconcile transplants stored IDs onto the tool's elements and may already have given that ID to an element the tool added (the first attempt hit the duplicate-$ID guard). The headless repro: add the newer version's record to an older project by hand and run the fix tool against that version's mx. exec does not drop it (measured)."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-backend", "date": "2026-11-21", "refs": ["ako/mxcli#2462", "mendixlabs/mxcli#1907"], "ce": [], "symptom": "`alter layout M.ProbeLayout { set (Tooltip: 'Go on') on actionButton1; }` on a layout built on another layout (`Layout: Atlas_Core.Atlas_Default`, widgets inside `placeholder Main { … }`) refused 'widget \"actionButton1\" not found' at check and exec, though describe printed the widget. alter page reached the same place on a page.", "file": "mdl/backend/pagemutator/mutator.go findBsonWidgetInLayout / layoutWidgetParents (also extractWidgetScopeFromBSON, findNearestDataSourceDoc). Test: mdl/backend/pagemutator/nested_layout_fill_2462_test.go", "cause": "A nested layout stores its widgets under Content.LayoutCall.Arguments[].Widgets (the shape a page has under FormCall.Arguments); the layout finder read Content.Widgets only, and the widget scope and data-source walk did not read a layout's Content at all.", "insight": "**Dump the stored shape before reasoning about where a widget lives** (`mxcli bson dump --type layout --format json`): a layout has two shapes, plain Content.Widgets and a nested layout's LayoutCall arguments. One helper that yields every widget parent (layoutWidgetParents) keeps the finder, the scope and the data-source walk from drifting apart again."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-backend", "date": "2026-11-21", "refs": ["ako/mxcli#2490"], "ce": [], "symptom": "A business event message's `TaskId: String(36)` / `Text: String(unlimited)` passed check and was stored with no Length, so mx check 11.12.6 reported 'The max length of the attribute ... is different between the business event and the entity' (4x). describe printed `String` with no length, and a message declared once per operation (publish, then subscribe) described both as the later operation.", "file": "mdl/visitor/visitor_businessevents.go (LPAREN length), mdl/backend/modelsdk/business_event_write.go (Length), integration_read.go storedStringLength, mdl/executor/cmd_businessevents.go (businessEventAttrTypeText, nextOp). Tests: mdl/executor/business_event_lengths_2490_test.go, mdl/backend/modelsdk/business_event_lengths_2490_test.go", "cause": "The visitor reduced the data type to a bare name (dataTypeSimpleName), so the length never reached the model; describe keyed operations by message name, so the later of two same-named operations won.", "insight": "**An absent property and its zero value are different facts.** buildDataType gives 0 for both a bare String and String(unlimited), and the gen accessor gives 0 both for Length=0 and for no Length key; the build reads the absent one as 200. Distinguish stated from unstated at the parser (LPAREN) and the stored key at the raw document, and write nothing when nothing was stated, or every script that paired a bare String with a String(200) entity attribute breaks. Re-running the describe output of a same-named double declaration still re-mints the second channel's ChannelName (channels are carried by message name): part 1 of the issue, which replaces that shape."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-20", "refs": ["ako/mxcli#2478", "mendixlabs/mxcli#1914"], "ce": ["CE0111"], "symptom": "`alter microflow … replace body of loop … with begin declare $N Integer = 0; $N = count($List); end;` passed check and exec (Altered microflow); mx check reported CE0111 Duplicate variable name. The same body in create microflow is MDL063.", "file": "mdl/executor/validate_alter_flow.go ValidateAlterFlow; validate_microflow_ce_gaps.go fragmentCannotJudge. Test: mdl/executor/validate_alter_flow_duplicate_var_2478_test.go", "cause": "ValidateAlterFlow ran only the annotation and template rules over a fragment; exec's clash checks (checkBodyUnclashed, checkDeclaredUnclashed) compare a fragment's outputs with the STORED flow's, never with each other.", "insight": "**A rule that needs nothing outside the fragment belongs on the fragment.** The flat namespace makes a duplicate inside one fragment CE0111 regardless of the stored flow; only the exemptions (void calls, String contains/find) need types a fragment lacks, so in fragment mode those statements are left out rather than guessed — a missed duplicate costs what it did before, a false one refuses a valid script."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-20", "refs": ["ako/mxcli#2476", "mendixlabs/mxcli#1911"], "ce": [], "symptom": "A dataview with `DataSource: selection dgItems` inside dgItems' own `controlbar {}` passed check; exec refused 'failed to build datasource: widget not found: dgItems'. Studio Pro and mxbuild accept the structure (measured 11.12.6: exec now writes it, mx check 0 errors, describe prints it back).", "file": "mdl/executor/widget_engine.go PluggableWidgetEngine.Build. Test: mdl/executor/selection_inside_own_controlbar_2476_test.go", "cause": "A pluggable widget minted its ID and registered its name only after its slots (the control bar's widgets) were built, so a child listening to the containing grid found no such widget.", "insight": "**Register a container's name before building its children.** Native containers already did; the pluggable engine registered at Finalize. Safe to move because no caller retries a failed pluggable build, and the patch path's shadow build works on a cloned scope with the name deleted. The fixture matters: PedApp without its widgets/ cannot build a DataGrid2 at all (openPedAppWithWidgets)."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-20", "refs": ["ako/mxcli#2463", "mendixlabs/mxcli#1908"], "ce": [], "symptom": "A script that adds a column with `create or modify view entity` and aggregates over it (`sum $Rows by OpenCount`) was refused by check (and exec's preflight): 'ReproSummary has no member OpenCount — it has Dept, ItemCount'. Split into two scripts it built clean.", "file": "mdl/executor/validate_flow_member_refs.go scriptMemberModel.memberLink / nearMembers; validate.go scriptContext.viewEntityDecls. Test: mdl/executor/view_entity_authored_members_2463_test.go", "cause": "The flow member verdict read an entity's members from the script only for a `create entity`; a view entity the script declares was read from the stored model, which does not have the new column until the statement runs.", "insight": "**Every member resolver has to know every statement that declares members.** The script context recorded view entities as existing (sc.entities) but not their columns, so existence and membership disagreed. The test is an agreement test on a real project (check vs exec) with a control column that is still refused; a unit test on authoredMembers passed while the reported path stayed broken — it is a different resolver."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-21", "refs": ["ako/mxcli#2490"], "ce": [], "symptom": "A message a business event service both publishes and consumes could only be written by declaring it twice (publish, then subscribe): check, exec and mx check passed, and mxbuild --target=deploy failed: 'Extension BusinessEvents deployment failed! System.ArgumentException: An item with the same key has already been added. Key: AgentMessage' (measured 11.12.6, BusinessEvents 3.12.0). Re-running its describe re-minted a channel name every time.", "file": "mdl/grammar/domains/MDLService.g4 businessEventMessageDef / businessEventOperationDef / businessEventConsumeDef; mdl/visitor/visitor_businessevents.go businessEventMessageOperations (aliases MDL-DEPR075/076); mdl/executor/cmd_businessevents.go businessEventServiceModel / businessEventMessageProblems / operationOf. Test: mdl/executor/business_event_publish_subscribe_2490_test.go", "cause": "MDL had one operation per message, so the only way to state both was two messages of one name; the carry handed out stored operations by message name alone.", "insight": "**mx check is not the last gate: run the deployment build when the failure is reported at deploy.** mxbuild --target=deploy (with --java-home/--java-exe-path) reproduces the Business Events extension's own check headlessly; mx check passed both shapes. The fix is R2's shape, not a new keyword combination: the operations are the message's children, `{ publish (Entity: P); subscribe (Entity: C, Microflow: H); }`, one Message with both flags and two operations. A first cut, `publish subscribe entity P entity C`, gave the second entity meaning by position; R2 (and MDL-DEPR070, which moved REST operations from braces to parentheses) says properties are named, in ( ). Carry operations by (message, operation), or the second operation re-mints and the re-run is never Unchanged."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-21", "refs": ["ako/mxcli#2461"], "ce": ["CE6086", "CE0611", "CE0628"], "symptom": "A `dataview` in a layout, and a scroll container region with `ToggleMode: 'ShrinkContentInitiallyClosed'` and no `sidebartoggle`, passed check and exec; mx check 11.12.6 reported CE6086 \"Data views are not allowed on web layouts.\" and CE0611 \"A sidebar toggle button is required if a region can toggle.\"", "file": "mdl/executor/validate_layout_widgets.go validateLayoutWidgets (wired in validate_program.go). Test: mdl/executor/validate_layout_widgets_2461_test.go; mdl-examples/bug-tests/2461-layout-widget-placement{,.fail}.mdl", "cause": "No check-time rule knew which widgets a layout may hold or where a sidebar toggle must be; mxbuild was the first to look.", "insight": "**Measure the neighbours of the reported shape, not just the shape**: the same mx check run showed CE6086 applies to native layouts too, a toggle in a called snippet does not satisfy CE0611, and a toggle outside the one top-level scroll container is a third error (CE0628) the report never hit. Run describe -> check over every Atlas layout as the false-positive control: all 22 must pass."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-21", "refs": ["ako/mxcli#2465", "mendixlabs/mxcli#1910"], "ce": [], "symptom": "`mxcli describe --format elk page P` listed a DataGrid2's columns as caption + binding only: the widgets in a column's custom content and filter, the control bar and the empty-state placeholder were missing from the JSON tree, though plain describe printed them.", "file": "mdl/executor/cmd_page_wireframe.go rawWidgetToWireframe (CustomWidget case), wireframeColumn.Children/Filter, wireframeNode.Slots, mapWidgetToLines. Test: mdl/executor/cmd_page_wireframe_slots_2465_test.go", "cause": "The wireframe mapper read rawWidget.Children only; the DataGrid2 reader puts slot widgets in DataGridColumns[].ContentWidgets/FilterWidgets, ControlBar and ChildSlots (and a gallery's in FilterWidgets), which the mapper never walked.", "insight": "**When a second output format is built from the same raw reader, diff its widget names against plain describe's** — every rawWidget field holding []rawWidget is a place the tree can lose widgets. The live comparison (6 names vs 1 before the fix) settled it faster than reading the mapper."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-executor", "date": "2026-11-21", "refs": ["ako/mxcli#2477", "mendixlabs/mxcli#1913"], "ce": ["CE6612", "CE4597"], "symptom": "`create external entities from M.Sales` dropped a property typed `Vendor.Sales.OrderStatus` (an EnumType). `alter entity M.Order add attribute Status: String(unlimited)` or `Enumeration(M.OrderStatus)` passed check and exec, then mx check 11.12.6 reported CE6612 \"Attribute 'Status' of external entity 'Order' is not supported.\"", "file": "mdl/executor/cmd_contract_enums.go odataEnumerations.ensure (called from cmd_contract.go's attribute loop); model.Enumeration/EnumerationValue Remote* + mdl/backend/modelsdk/enumeration{,_write}.go; carryRemoteEnumeration in cmd_enumerations.go; externalEntityAddAttributeRefusal in cmd_entities.go + validate.go. Tests: mdl/backend/modelsdk/enumeration_remote_2477_test.go, mdl/executor/cmd_contract_enums_2477_test.go, mdl/executor/alter_entity_external_2477_test.go", "cause": "The importer had no enum mapping; a hand-added attribute is a DomainModels$StoredValue where an external entity needs Rest$ODataMappedValue (CE6612 for any type, AllowCreateChangeLocally or not); and the enumeration model had no field for Rest$ODataRemoteEnumerationSource, so neither could be written and a rebuild dropped a stored one.", "insight": "**Hand-edit the BSON toward the hypothesis and let mx check name the next requirement**: mapping the attribute alone gave CE4597, whose text ('should have an enumeration type that was generated from X in service Y') named the RemoteSource; adding Rest$ODataRemoteEnumerationSource + a RemoteValue per value gave 0 errors. Two edits replaced a Studio Pro reference. Control for the carry: a build without it turned a `create or modify enumeration` rewrite into CE4597."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl/other", "date": "2026-11-20", "refs": ["ako/mxcli#2468", "ako/mxcli#1258"], "ce": ["CE0117"], "symptom": "An attribute used through a microflow's own local variable in an expression — `$One/Title` after `retrieve $One from E`, `$New/Title` after `create`, `$Item/Title` inside a loop over a retrieved list — was in no reference, so MDL108 passed `alter entity E drop attribute Title` and `mx check` then reported CE0117. The first fix (#2469) resolved only parameters and said so.", "file": "mdl/catalog/builder_member_refs.go documentParameterEntities / variableScope; tests builder_member_refs_vars_test.go TestMemberRefs_ResolveVariablesFromLocalVariables", "cause": "resolvePath looked a `$variable` up only in the document's parameters. A retrieve (RetrieveAction.RetrieveSource DatabaseRetrieveSource.Entity + ResultVariableName), a create (CreateChangeAction.Entity + VariableName) and a loop (LoopSource IterableList ListVariableName/VariableName) each state the variable's entity in the stored document.", "insight": "**A name given two entities is dropped, not resolved to the last one.** Mendix forbids a duplicate variable name inside one flow, but the walk reads the whole document and cannot tell scopes apart, so a name declared with two entities is removed from the scope rather than guessed: a guess is an edge to the wrong attribute, which is worse than a missing edge because it makes a safe drop look unsafe and an unsafe one look safe on the other entity. A loop item is resolved after every declaration is known, because the list's retrieve can sit after the loop in document order. A retrieve over an association and a data view's object are still unresolved."}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"area": "mdl-other", "date": "2026-11-20", "refs": ["ako/mxcli#2409", "mendixlabs/mxcli#1897"], "ce": ["CE0117"], "symptom": "`call rest service … (Body: BINARY $File)` with $File a FileDocument passed check and exec, and mx check reported CE0117 at the Call REST service activity; `BINARY $File/Contents` builds.", "file": "mdl/exprcheck/target_kind.go checkBinaryTarget (BinaryBodySlot); mdl/exprcheck/adapters/check.go RestCallStmt. Test: mdl/exprcheck/binary_body_2409_test.go", "cause": "The REST call's binary body expression was never type-checked, and the target-kind rule only compared primitives on both sides.", "insight": "**Scope a new target rule to the slot that was measured.** Measured on 11.12.6 one microflow per variant (mx check names the activity, not the microflow, so a combined run cannot attribute errors): Contents and empty build; the object, a String literal and a String member are CE0117. A Binary declare/set/return was not measured and an existing test pins it silent, so the rule keys on the slot, not on the Binary target. exec's preflight does not type an object variable, so check with -p reports it and exec still writes it."}
Loading
Loading