feat(crates): mxbuild build crates (7–11) + Mendix 8 runtime/build crates#9
Merged
Conversation
…ates Adds a build crate under crates/mendix-<N>/build/ for every Mendix major (7/9/10/11): a version-pinned mxbuild + mx toolchain image that compiles an .mpr to an .mda and runs `mx check`, recipe-pulling mxbuild-<ver>.tar.gz from cdn.mendix.com at build (no committed binary; guard.sh-compliant). The mxbuild invocation mirrors the production AIDE aide-mxtools entrypoint (--java-home / --java-exe-path / --gradle-home / --loose-version-check), retargeted at the baked /opt/mxtools/modeler. Adds Mendix 8 coverage (runtime + build). The earlier scope assumed MX8 was portal-only, but the final 8.18 LTS patch (8.18.35.97) is CDN-hosted (verified HTTP 200), so MX8 ships as a first-class recipe-pull crate. PORTAL-DOWNLOAD.md documents the portal fallback + agent download-instructions for the older MX8 patches the public CDN no longer serves. Verification (2026-06-23): mendix-11/build is image-verified — it builds clean (amd64, ~650 MB), the CDN toolchain pull succeeds, mxbuild/mx/gradle resolve at /opt/mxtools/modeler, and the entrypoint runs (version/unknown-command). The other crates are authored to the same proven pattern with their CDN source URLs verified reachable; the full .mpr -> .mda compile smoke is recorded honestly as pending in each provenance.yaml (no committed false verification). - docs/building-mendix-apps-in-docker.md: consolidated build guide - README: split runtime/build version tables, MX8 row, updated repo layout Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
Two additions to the recipe library, both following the established recipe-pull, no-committed-binary model (D-DOCKER-LIB-001/002;
guard.sh):crates/mendix-<N>/build/for every major (7/9/10/11). A version-pinnedmxbuild+mxtoolchain image that compiles an.mpr→.mdaand runsmx check, with nothing on the host but Docker (no Studio Pro). The toolchain is curl'd fromcdn.mendix.com/runtime/mxbuild-<ver>.tar.gzat build. The runtime crates run an app; the build crates produce the.mdathey run.Mendix 8: CDN, not portal-only
The original scope assumed MX8 needed a portal login (the prior probe only checked
8.18.21.4259, which 404s). Re-probing with the final LTS patch shows8.18.35.97runtime and mxbuild are CDN-hosted (HTTP 200) — so MX8 ships as a normal recipe-pull crate.crates/mendix-8/PORTAL-DOWNLOAD.mddocuments the portal fallback and explicit agent download-instructions for older MX8 patches the CDN no longer serves.Design notes
--java-home/--java-exe-path/--gradle-home/--loose-version-check), retargeted at the baked/opt/mxtools/modeler..mdainto the bind-mounted/workspace);--user $(id -u)documented for Linux..NET/libgdiplus/$HOME/.local/share/Mendixwhitelist FailFast is pre-solved (carried from aide-mxtools).Verification (honest)
mendix-11/buildmxbuild/mx/gradleresolve at/opt/mxtools/modeler; entrypoint runs (version, unknown-command)7/8/9/10build +mendix-8runtime.mpr→.mdasmoke pending (recorded assmoke_verified: pendingin eachprovenance.yaml— no false verification committed)Found + fixed a latent bug carried from aide-mxtools: the
versionsubcommand ranmx --version, whichmxrejects (it has no toolchain version flag) — now reports the bakedMENDIX_VERSION.Guard / CI
guard.shpasses (91 tracked files, no Mendix binaries, none over 256 KB). No binary is committed; the toolchain is fetched at build on the licensed user's machine.Branched from
main— independent of #8 (container-engine bootstrap).🤖 Generated with Claude Code