Repository navigation
check: six page mistakes the build rejects (CE0551, CE0552, CE0117, CE5600, CE0899, CE0529) - #2717
Merged
Merged
Conversation
…E5600, CE0899, CE0529) Check-gap sweep 3, the page batch (f51-f57): each passed check -p and exec, and MxBuild 11.16.1 rejected the project. - A data source's return shape: a list widget needs a list (CE0551), a data view an object (CE0552). flowSignature now carries ReturnShape. - visible:/editable: on a non-Boolean attribute, enumerations included (CE0117). - A widget action argument of the wrong type (CE0117), by the call-argument matrix. flowParam now carries the primitive Kind. - MDL122: a duplicated page URL (CE5600) or one starting with a slash (CE0899). - MDL123: a home page that takes a parameter (CE0529). All 23 measured cases agree with mx. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82tETa46YQmMS58pQjL
…e page A page the script defines twice (create, then create or modify) was compared with itself and reported as a duplicate URL (12-styling-examples.mdl). Each page's last definition now stands, and only different pages are compared. language-970-authoring-language.mdl made a page that takes a parameter the home page, which MDL123 now refuses (CE0529). The example tests navigation captions, so its home page is now a page without parameters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82tETa46YQmMS58pQjL
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82tETa46YQmMS58pQjL
# Conflicts: # CHANGELOG.md # mdl/executor/validate_program.go
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
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.
Part of #1258. This is the pages batch of the third check-gap sweep (#2715): f51, f52, f53, f54, f56 and f57. Each passed
check -pandexec, and MxBuild 11.16.1 rejected the project.What
checknow reports (each rule measured on 11.16.1, one project per case):visible:/editable:$currentObject/Qty > 1'abc'to Integer: CE0117/: CE0899sameandSame(case-sensitive)Code changes
attributeScopeValidator), which already resolved the data context and attribute types.flowSignaturegainsReturnShape/ReturnName, andflowParama primitiveKind.ValidateProgram, soexecrefuses too. They cover the script's pages and the project's.Evidence
mx.check_gap_pages_test.gohas the reported cases and controls. Stubbing each of the five checks fails exactly its own cases.check -p. It found one false positive, which is now fixed: a page the script defines twice was compared with itself for URL duplicates (12-styling-examples.mdl). Each page's last definition now stands. It also found one real defect:language-970-authoring-language.mdlused a page with a parameter as its home page (CE0529). That example tests captions, so its home page is now a page without parameters.check-gap-pages.fail.mdlgives MDL122 ×2 and MDL123;mxreports exactly CE5600, CE0899 and CE0529 for it. The controlcheck-gap-pages.mdlis clean undermx.make ci-localpasses. The README marks for f51–f57 will follow once check-gap: third parity sweep, f51-f73 on MxBuild 11.16.1 #2715 is merged.Generated by Claude Code