Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Conversation

@smartinello1
Copy link
Contributor

This PR is based on issue Flow-Scanner/lightning-flow-scanner#241

Implemented a new rule for missing description on all elements in flows excluding:

  • Start Element
  • Element with subtype equals to metadata

…bles) #215

New Rule Implementation - MissingMetadataDescription

Checks for every flow's element if has a property description filled
Introduces a sample flow XML and a Jest test to validate the MissingMetadataDescription rule. Also adds debug logging to the rule implementation for easier troubleshooting.
Descriptions were added to actionCalls, recordCreates, and variables in several flow .flow-meta.xml files to improve metadata completeness. The rule logic in MissingMetadataDescription.ts was updated to better filter elements missing descriptions, excluding 'start' subtype and suppressed elements.
@smartinello1 smartinello1 requested a review from a team as a code owner November 26, 2025 21:14
@smartinello1 smartinello1 requested review from vBritt0 and removed request for a team November 26, 2025 21:14
Copy link
Member

@RubenHalman RubenHalman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this awesome addition! Really happy to merge this. Just one quick question: would you like to add a small mention of the new rule (or an example) to the README before we ship it?

Also, small note: I’ll initially land this in the beta rule store. That’s on me: the contribution docs were pointing at the wrong directory.

Merging now – thanks again! 🚀

@RubenHalman RubenHalman merged commit b3fd378 into Flow-Scanner:main Nov 26, 2025
1 of 2 checks passed
RubenHalman pushed a commit that referenced this pull request Nov 26, 2025
This PR is based on issue #215 and provided by @smartinello1

Implemented a new rule for missing description on all elements in flows
excluding:

- Start Element
- Element with subtype equals to metadata
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants