Repository navigation
check: refuse a validation feedback on a member the entity does not have (CE1613) - #2695
Merged
Merged
Conversation
…ave (CE1613) check-gap f25: `validation feedback $I/Nope` passed check -p, check -p --references and exec, and mxbuild reported CE1613. The builder fell back to writing <entity>.<name>, and check --references skipped a feedback's target. Both now ask flowMemberVerdict (systemDates on), the question list operations already ask (#1646), and report one shared message. Measured on 11.16.1: own, inherited, bare association and stored createdDate are clean; a missing name, a wrong-case name and an unstored createdDate are CE1613. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82tETa46YQmMS58pQjL
…ion-feedback # Conflicts: # mdl-examples/check-gap/README.md
ako
marked this pull request as ready for review
November 30, 2026 12:56
…ion-feedback # Conflicts: # mdl-examples/check-gap/README.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 batch 3 of the 9 gaps the check-gap parity sweep found: f25.
The defect:
validation feedback $I/Nope message 'x'on a member the entity does not have passedcheck -p,check -p --referencesandexec. MxBuild then reported CE1613 "The selected attribute 'Sp.Item.Nope' no longer exists."There were two causes:
bareFeedbackMemberfell back to writing<entity>.<name>when the name resolved to nothing.check --referencesskips a feedback's target on purpose, because it is a member reference rather than an expression.The fix: both now ask
flowMemberVerdict(withsystemDateson), the same question list operations already ask (#1646), and report one shared message (missingMemberRefusal).execrefuses even without the preflight, and no new rule ID is needed.Measured on MxBuild 11.16.1, one project per case:
createdDatewhere the root stores itnameforName),createdDatewhere the root does not store itEvidence
validation_feedback_member_test.gochecks the refused cases and the controls throughassertAgree, which runs bothcheckandexec. It also asserts thatcheckandexecgive the same message.checkside stubbed, the tests fail. They also fail with the builder side stubbed.mdl-examples/bug-tests/check-gap-validation-feedback-member.mdlholds the accepted forms. It is clean undercheck,check -p --references,execandmx checkon 11.16.1. It can't be a.fail.mdlbecause the refusal needs a project.make ci-localpasses.Not covered:
change $I (Nope = 1)on an entity the script itself declares still passescheck --references. It is recorded in the finding and left out of this PR.Generated by Claude Code