Sync ako/mxcli: check false-positive fixes, date picker format, fix hashes, watch supervisor - #1295
Merged
Merged
Conversation
A literal compared with a String, passed to a function or used in an if-condition inside an enumeration-slot expression was reported as the value assigned to the enumeration, so exec refused valid microflows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#969) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#969) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bject association (#969) Measured on mxbuild 11.13.0 and 11.14.0: a list view, data grid or gallery over a Reference followed from its FROM entity, or over a Reference with owner Both from either end, is CE8812. ReferenceSets and the reverse of a default Reference build clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ash index Compares every Unit.ContentsHash with base64(SHA-256) of its .mxunit and reports mismatches, missing files and orphan files; --repair rewrites the mismatched hashes in one transaction under the writer's Studio Pro guard. exec and docker check warn when the index disagrees (~0.2 s on 900 units). Part of #972 (item 1). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Studio Pro 11.13 fails with "Unable to find 'system' property in 'system'" when the branch has no upstream or git reports dubious ownership. docker check, run --local and diag -p now warn with the remedy. Never fatal; silent outside a repo, on a detached HEAD, under CI or with MXCLI_NO_GIT_WARNINGS=1. Part of #972 (item 3). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Part of #972. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e an expression (#969) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ders (#969) Measured on Mendix 11.13.0 (React client) with run --local and a headless browser: a bare and a styled empty container render, the widgets after them are present, no console errors. The crash claim had no evidence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lone (#970) theme create --from wrote a design's base palette into the base theme's alt-variant mixin, so a light ground and ink landed in a dark palette whose other surfaces stayed dark. Without a block for that variant the mixin is now left as the base ships it and create prints a note. Also: applyTokens matched the indent with \s*, which under (?m) swallowed the preceding newline, putting the first token on the @mixin line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ace' (#970) An unscoped create translations reaches the whole project, Marketplace modules (and their Atlas templates/building blocks) included; a module update replaces those. The default is kept (ADR-0011: what a committed script writes does not change in place). The run now warns with a per-module count, and the additive clause 'without marketplace' (create and describe) keeps the run out of Marketplace modules and reports the entries it left alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
watchAndApply held a bare *WebClientWatcher. A bundler that exited was never restarted, so every later page change failed with "watcher exited"; a failed incremental build (ENOTDIR on web/pages mid-rewrite, measured on 11.13 after adding an entity) dropped the change and the next one too; and ensureClientServed's recovery ran a one-shot production bundle in the same web/ directory while the watcher was still running. bundlerSupervisor now owns the bundler: EnsureAlive restarts an exited one with backoff, AwaitRebuild retries a failed incremental rebuild once with a fresh bundler, and a recovery re-bundle replaces the bundler (stop and reap, then start) instead of running beside it. The bundle-build limit is configurable (--web-client-timeout, MXCLI_WEB_CLIENT_TIMEOUT) and a timeout prints the tail of web-client-build.log. A change that restarts the runtime says that browser sessions were dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After each apply watchAndApply moved its change baseline to the source's current mtime, so an exec or save that landed during the build was folded into the baseline and never rebuilt. Keep the baseline at the mtime the build settled on; the build writes nothing under the watched source. Found while reproducing #971. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A date picker's DateFormat / CustomDateFormat passed check, was stored as the default Date, and was never described, so describe -> exec turned a Studio Pro date-time picker into a date-only one (mendixlabs#1263). The builder now reads them into the picker's FormattingInfo, the writer stores it, describe prints non-default values, alter page set changes them, and check refuses an unknown value, a pattern with no DateFormat and Custom with no pattern (mxbuild CE0493) as MDL-WIDGET18. A text box's DecimalPrecision / GroupDigits had the same drop and is fixed with it. The unknown-property exemption for the dynamic-text format keys now applies to dynamictext only, and a dynamic-text parameter's customDateFormat beside an explicit non-Custom dateFormat (stored by Studio Pro) is accepted. Closes #968 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and quick reference (#968) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-dark' into c25-974 # Conflicts: # CHANGELOG.md
…c25-976 # Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md # mdl/executor/validate_widgets.go
fix(run-local): supervise the --watch web client bundler (#971)
mxcli fix hashes + git-state warnings for Studio Pro (#972 items 1, 3)
Translations: warn on Marketplace writes + 'without marketplace'; theme create: leave an undeclared variant alone (#970)
fix: write, describe and alter a date picker's DateFormat (#968)
check: fix #969 gaps (E001 value position, script-created SET targets, CE8812, MPR006, quoted params)
Sync mendixlabs/mxcli: Mendix 11.15.0 in the nightly matrix (mendixlabs#1293) and the mendixlabs#1283 merge commit
ako
added a commit
to ako/mxcli
that referenced
this pull request
Oct 4, 2026
Sync mendixlabs/mxcli (mendixlabs#1295 merge commit)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs
ako/mxcli:mainintomendixlabs/mxcli:main: 17 commits since #1293, landed in the fork through PRs ako#973–#979.Check: fewer false refusals, earlier predictions (ako#969)
alter page … setmay name a flow or page the script creates.run --localand a headless browser on 11.13.0.Pages
DateFormat/CustomDateFormatare written, described and altered (Date picker DateFormat / CustomDateFormat silently dropped on write and not described (also mendixlabs/mxcli#1263) ako/mxcli#968, datepicker DateFormat cannot be set from MDL: DateFormat: Time passes check and is silently dropped (always 'Date') #1263). Previously they were stored as the default Date, so describe → exec turned a date-time picker into a date-only one. Check refuses an unknown value or an incomplete Custom format (CE0493) as MDL-WIDGET18. A text box'sDecimalPrecision/GroupDigitshad the same drop and are fixed as well.Working outside Studio Pro (ako#972)
mxcli fix hashesverifies the MPR v2 ContentsHash index against the.mxunitfiles, and--repairfixes mismatches in one transaction. exec and docker check warn when the index disagrees.run --localanddiag -p. They are never fatal;MXCLI_NO_GIT_WARNINGS=1silences them.Theme & translations (ako#970)
theme create --fromwith a base-only design leaves the alternate variant's mixin as shipped, instead of writing a light palette into the dark one.create translationswarns with a per-module count when it writes into Marketplace modules. The new clausewithout marketplacekeeps it out of them.run --local --watch (ako#971)
--web-client-timeout).Docs