Skip to content

fix(graph-sweep, lint): name pluggable-widget properties as a reference the catalog can miss (replaces #530) - #556

Merged
MendixMau merged 2 commits into
masterfrom
claude/loving-gates-hauc1n-530
Oct 22, 2026
Merged

MendixMau merged 2 commits into
masterfrom
claude/loving-gates-hauc1n-530

Conversation

@MendixMau

Copy link
Copy Markdown
Owner

Replaces #530 by @saingge. Their commit cb2ab46 is carried unchanged, with their authorship. It moved into our repo so CI runs without fork approval and CHANGELOG conflicts can be resolved here. See #530 for the full description and evidence.

Review: MERGE (independent review: echo-only note plus a doc row, no mxcli call). Security review: safe.


Generated by Claude Code

…ce the catalog can miss

graph-sweep's orphan caveat named only layout snippet calls, so a live flow
read as "strong evidence of deadness". The orphan list now notes that a flow
used only as a pluggable widget's datasource or action property may have no
edge, and prints the one search that finds the page that holds it (it needs
a REFRESH CATALOG FULL SOURCE catalog, which the note says). The same wording
is fixed in review-report.js, and the QUAL004 row in lint-that-actually-runs.md
goes from "likely misses" to what was observed, with the issue link.

Observed on a Mendix 10.24 app with mxcli v0.27.0 (catalog from REFRESH
CATALOG FULL): 5 flows used only as a Gallery's or a third-party widget's
microflow datasource had 0 refs rows, "show references to" said "no references
found", "describe page" printed each, and QUAL004 flagged each. A Gallery with
a microflow datasource and no microflow onClick had its ref (15 of 15); with
both, only the onClick ref (2 of 2). The two Data grid 2 microflow datasources
in the app had theirs.

Test: test-catalog-edge-guard.sh case 1 asserts the note; run against master's
graph-sweep.sh at 393d253 it fails on both layouts (22 of 24), with the change
it passes 24 of 24. The printed search was run on a copy of the app with a FULL SOURCE catalog and listed
the page holding the flow; on a plain FULL catalog it finds nothing and mxcli says so.
…eep both sides)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013jQvaonym9V1wKKfAEPmRr
@MendixMau
MendixMau merged commit 9383e60 into master Oct 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants