Repository navigation
Sync ako/mxcli: 5 upstream fixes (REST binary body, view entity columns, CE0111 in fragments, grid selection, conversion records); business event messages; verify baseline guard - #1918
Merged
Conversation
…thout --accept-errors --update-baseline is the one command that turns a failing gate into a passing one without fixing anything, and an agent that wants green will use it (the output even suggests it). It now refuses (exit 2, naming the errors, baseline untouched) when the run has errors the existing baseline does not hold, for lint and for mx check; a first record on a project with errors is the same. --accept-errors records them on purpose and says so. A re-record that adds no error needs no flag. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82stfDEB1TGfJLVwUxc
At 390 px the bars already moved to their own line, but the labels were
still cut with an ellipsis ("M3 — Simulated kitchen and co…"). The
phone-width rule came before the base .srow rules in the stylesheet, so
at equal specificity the base rules won: the label kept its nowrap and
ellipsis. The rule now follows them and lets the label wrap. Desktop is
unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011oK82qTgUsRMETmzvjS27w
…le (CE0117) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82tETa46YQmMS58pQjL
A run without --local where no daemon runs failed only at `docker compose up`, after generating the .docker/ stack and building into it, so the project was left with a Docker setup the user never had. It now runs `docker info` first and stops with the --local hint before writing anything. Closes #2474 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
A replaced loop body that declared $N and then made it a count() output passed check and exec, and mx check reported CE0111. The duplicate-name rule ran over create bodies only; exec's clash checks compare a fragment with the stored flow, not with itself. A name defined twice in one fragment is CE0111 whatever the flow holds, so MDL063 now runs over each fragment, leaving out the calls and String contains/find whose exemption needs types the fragment does not have. Closes #2478 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
`Body: BINARY $File` with a FileDocument object passed check and exec, and mx check reported CE0117. Measured on 11.12.6, one microflow per variant: a FileDocument's or Image's Contents and empty build; the object, a String literal and a String member are CE0117. The binary body is now type-checked against Binary, and an object is told to write $File/Contents. Scoped to the REST body slot, the one measured. Closes #2409 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
A script that adds a column with `create or modify view entity` and then
aggregates over it was refused ("has no member OpenCount"): a flow's
member was read from the script only for a `create entity`, and from the
stored model for a view entity, which lacks the column until the
statement runs. A view entity the script declares now answers with the
columns it lists. A column neither stored nor declared is still refused.
Closes #2463
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
A data view with `DataSource: selection dgItems` inside dgItems' own control bar passed check and was refused by exec, "widget not found: dgItems": the pluggable engine minted the grid's ID and registered its name only after building its slots. Studio Pro and mxbuild accept the structure. The ID is now reserved, and the name registered, first. Closes #2476 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…rioritization-24rqgv
…iable-refs # Conflicts: # CHANGELOG.md
…24rqgv Batch I: test without Docker, alter fragment MDL063, binary REST body, view entity columns, selection in control bar
feat(verify): re-recording a baseline refuses to accept new errors without --accept-errors
fix(report): stacked-bar labels wrap at phone width instead of being cut
catalog: resolve an attribute used through a microflow's local variable (follow-up to #2468)
mx drops a one-time conversion record it has no provider for when it re-saves Projects$ProjectConversion. After Studio Pro 11.16.1 recorded UseMeToSetupNodeConversion, `fix design-properties` (and the repair after `marketplace install`, which runs it) carried the re-saved unit back, the record was gone, and Studio Pro asked to convert the project again. Measured on 11.12.6 with the record added: renamed 0 design properties, "1 unit(s) changed", 117 -> 116 entries. The harvest now puts back a record the stored list has and the tool's lacks (with a fresh $ID, since the reconcile carries stored IDs onto the tool's elements) and keeps one the tool adds. Now: 0 units changed, the unit byte-identical. Closes #2487 Closes #2492 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…rioritization-24rqgv # Conflicts: # CHANGELOG.md
`String(36)` and `String(unlimited)` in a business event message were reduced to a bare type name, stored with no Length, and the build applied 200: mx check 11.12.6 reported the length differing from the entity's for every attribute. A stated length is now stored (0 for unlimited) and described back; a bare String stores none, as before, so scripts pairing it with a String(200) attribute keep building. describe keyed operations by message name, so a message declared once per operation printed the later operation twice; each message now takes its own, in stored order. Refs #2490 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…24rqgv fix tools: keep the conversion records Studio Pro wrote
…rioritization-24rqgv
…24rqgv business events: store message String lengths; describe each operation
A message a service both publishes and consumes (an in-app bus, a
request/reply loop) could only be declared twice, once per operation,
which stored two messages of one name: mx check passed and the
deployment failed ("Extension BusinessEvents deployment failed! ... An
item with the same key has already been added", measured with mxbuild
11.12.6 --target=deploy and BusinessEvents 3.12.0).
`message X (...) publish subscribe entity P entity C microflow H` now
writes one message with CanPublish and CanSubscribe and two operations:
publish on P, subscribe on C with the handler. The same name declared
twice is refused by check and exec, naming the new form. Stored
operations are carried by message and operation, so describe -> exec
is Unchanged. The deployment build of the new form succeeds.
Closes #2490
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
Replaces the `publish subscribe entity P entity C` spelling of the
previous commit, which gave the second entity its meaning by position,
with ADR-0010 R2's shape, as a consumed REST service's operations and a
database connection's queries are written:
message X (...) {
publish (Entity: M.P);
subscribe (Entity: M.C, Microflow: M.H);
};
consume X (Entity: M.C, Microflow: M.H);
The keyword clauses `publish|subscribe entity ... microflow ...` and
`consume X entity ... microflow ...` stay as deprecated aliases
(MDL-DEPR075, MDL-DEPR076): they parse to the same statement, warn, and
fmt --upgrade rewrites them. describe prints the new form. Two
operations of one kind, a handler on the publish operation and an
unknown property are parse errors. The syntax help, reference page,
skill and examples (upgraded with fmt --upgrade) use the new form.
Measured on 11.12.6 with BusinessEvents 3.12.0: check clean, mx check
0 errors, mxbuild --target=deploy succeeds, describe -> exec Unchanged
with the unit byte-identical.
Closes #2490
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…/076 The per-document-kind canonical example still used the keyword-clause spelling, and the generated migration page did not list the two new codes. Refs #2490 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…24rqgv business events: a message's operations are its children; one message can publish and subscribe
A layout built on another layout keeps its widgets under Content.LayoutCall.Arguments[].Widgets, as a page keeps them under FormCall.Arguments. The layout finder read Content.Widgets only, so `alter layout ... set ... on actionButton1` refused "widget not found" for a widget describe printed. The finder, the widget scope and the data-source walk now read every widget parent of a layout. Closes #2462 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…2461) A dataview in a layout (CE6086), a toggling scroll container region with no sidebartoggle (CE0611), a toggle outside the layout's one top-level scroll container (CE0628) and a toggle on a page or snippet (CE6086) passed check and exec and failed the build. Measured with mx check 11.12.6; now MDL-LAYOUT01..04 in the project-free pass. All 22 Atlas layouts, described and re-checked, still pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
The wireframe tree listed a DataGrid2's columns as caption and binding only, dropping column content, column filters, the control bar and the empty-state placeholder that plain describe prints. Columns now carry children and filter, the widget carries named slots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
create external entities dropped a property typed as a vendor EnumType, and adding it back by hand was CE6612 (a stored, not a mapped, value) or CE4597 with an ordinary enumeration. Measured with mx check 11.12.6: an enumeration with Rest$ODataRemoteEnumerationSource and a remote value per member builds at 0 errors. - model.Enumeration/EnumerationValue carry the remote source, read and written by the modelsdk backend, so a rebuild no longer drops it - the importer generates (or reuses) the enumeration per EnumType - create or modify enumeration keeps the stored source - alter entity add attribute on an external entity is refused (CE6612) at check and exec Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
Rest$ODataRemoteEnumerationValue is in the metamodel from 10.12 (the source from 10.2), and how an older project stores a generated value was not measured. Below 10.12 the property is not imported, and the import says why; the type coverage test lists both types as unreachable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…24rqgv Batch J: nested layout alter, layout placement checks, elk DataGrid2 slots, OData enum import
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:maininto upstream: 13 commits since #1915 — 5 upstream issues fixed, business event messages that build and deploy, Studio Pro's conversion records kept, and a guard on accepting new errors into a verify baseline.check: catch what the build refuses
Body: BINARY $Filewith a FileDocument object passed check and exec and failedmx checkwith CE0117. Measured on 11.12.6: a FileDocument's or Image'sContentsand empty build; the object, a String literal and a String member don't. An object is told to write$File/Contents. Fixes call rest service Body: BINARY $File (a FileDocument object) passes check and exec; mx check CE0117 (BINARY $File/Contents builds) #1897create or modify view entityand then aggregates over it was refused ("has no member") because check read the stored model, which lacks the column until the statement runs. Fixesmxcli checkreads view entity columns from the model, not from the same script: a column added byCREATE OR MODIFY VIEW ENTITYis reported as a missing member in that script #1908alter microflowfragments: a replaced loop body that declared$Nand then made it acount()output passed check and exec, andmx checkreported CE0111. Fixes mxcli check misses CE0111 when COUNT output reuses a declared variable in an altered loop body #1914Pages
DataSource: selection dgItemsinsidedgItems' own control bar is accepted by exec as it was by check (it said "widget not found"). Fixes DataSource: selection <datagrid> inside controlbar {} fails with "widget not found" #1911Studio Pro's conversion records are kept
mxdrops a one-time conversion record it has no provider for when it re-savesProjects$ProjectConversion. After Studio Pro 11.16.1 recorded one,fix design-properties— and the repair aftermarketplace install, which runs it — carried the re-saved unit back without it, and Studio Pro asked to convert the project again. The harvest now puts back a record the stored list has and the tool's lacks. Fixes #1917Business events
message X (...) { publish (Entity: M.P); subscribe (Entity: M.C, Microflow: M.H); }. Declaring it twice stored two messages of one name:mx checkpassed and the deployment failed ("An item with the same key has already been added", measured with mxbuild 11.12.6--target=deployand BusinessEvents 3.12.0). The old spelling is deprecated (MDL-DEPR075/076), with a migration page.String(36),String(unlimited)); they were dropped and the build applied 200, somx checkreported every attribute's length differing from its entity's. describe prints each operation once, in stored order.verify and tooling
--accept-errors:--update-baselineis the one command that turns a failing gate green without fixing anything. It now exits 2, naming the errors and leaving the baseline untouched, when the run has errors the existing baseline doesn't hold (lint andmx check).mxcli testasks the Docker daemon first: without--localand with no daemon, it failed only atdocker compose up, after generating a.docker/stack the project never had.