Repository navigation
check: workflow call microflow signatures and decision conditions (CE6678, CE0117, CE0078) - #2721
Merged
Merged
Conversation
…6678, CE0117, CE0078) Check-gap sweep 3, the workflow batch (f59 f60): each passed check -p and exec, and MxBuild 11.16.1 rejected the project. - A workflow call microflow returning a String, Integer or object (CE6678). It must return a Boolean, an enumeration or nothing. - A call microflow parameter other than the context object with no mapping (CE0117). The context object is passed implicitly. - A decision on a String or Integer attribute (CE0078). sdkFlowSignature now sets ReturnKind, so return-type rules judge project microflows too. 12 of 13 measured cases agree with mx. The 13th, an enumeration return with unmatched outcomes (CE6686), is left unjudged on purpose. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82tETa46YQmMS58pQjL
# Conflicts: # CHANGELOG.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82tETa46YQmMS58pQjL
# Conflicts: # CHANGELOG.md # mdl/executor/validate_datasource_args.go
ako
marked this pull request as ready for review
December 1, 2026 11:21
# Conflicts: # CHANGELOG.md # 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 the workflow batch of the third check-gap sweep (#2715): f59 and f60. Each passed
check -pandexec, and MxBuild 11.16.1 rejected the project.What
check -pnow reports (measured on 11.16.1, one workflow per case, context entitySp.Ctx):call microflow's microflow$S: Stringor$O: Other, unmapped: CE0117$C: Ctx, the context object, passed implicitlydecisioncondition$WorkflowContext/Qty > 1A microflow that returns an enumeration also needs outcomes that match it (CE6686). That's a separate rule and isn't judged here; it's the one expected mismatch in the agreement run (12 of 13 agree).
How
checkCallMicroflowSignatureandcheckDecisionConditionrun in the existing workflow signature checker, which already resolved microflow signatures from the script and the project.sdkFlowSignaturenow setsReturnKind, so return-type rules can judge a project microflow, not only one the script declares. This also widens the existing multi-user completion check (CE5012) to project microflows. The workflow and data-source tests still pass.Evidence
check_gap_workflows_test.go: seven reported cases and five controls, run against PedApp (11.13.0). Stubbing either check fails exactly its own cases.check -p.mdl-examples/bug-tests/check-gap-workflows.mdlis the control, clean undercheck,check -pandmx. The checks need a project, so there's no.fail.mdl.make ci-localpassed. After the latest merge of main, which only conflicted on the CHANGELOG, the build, the full executor package and the conformance gate pass.Generated by Claude Code