-
Notifications
You must be signed in to change notification settings - Fork 36
Issue #602 #611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Issue #602 #611
Conversation
|
Hello thank you for your effort on this. First comment: i don't see the point having duplicate rules like:
|
|
Hey @VinceFINET, Thanks for the feedback. We understand the goal of avoiding pure duplication (e.g., InactiveFlow vs. rule 35), and de-duplication makes sense. The rapid release cycle of OrgCheck — Boron landed in April 2025 with breaking changes — combined with the need to set it up in an Org, makes phased contributions from external/community folks really hard. This PR therefore aims for a phased, low-risk approach:
Thoughts? Any commitment to a phased approach, or guidance on upcoming changes? |
|
Hello I appreciate your effort into this integration. I was just mentioning the duplicate rules as a starting point. Let's discuss also how you plan to include the existing LFS code.
That means the feature related to the libs included in this static library are doomed to stay in the app and not in the future sfdx plugin... As JsForce does not need to be included of course because its out of the box in a sfdx plugin, still i would like to have the hability to use these libraries in the app and in the plugin later one. I guess the solution is that i have to include the library and the code around them in the javascript core code and not in the application anymore. That would allow me to have the feature of exporting XSL files, to generate SVG files for diagramming, and potentially to have a local storage with the same zip optimisation. I strongly believe that this applies to the way we can include the FLS lib as well. What could be the options?? |
|
I think there’s a small misunderstanding in this part: “That means the feature related to the libs included in this static library are doomed to stay in the app” Using a static resource is just one way of injecting JavaScript into a Salesforce app and doesn’t prevent the same library from being used elsewhere. For example, LFS today:
It’s the same core JS, just injected differently. The static resource is an implementation detail and not a lock-in. It can always be replaced later with imports from a shared package or copied/injected into any file directly using a build script. So including LFS as a static resource now wouldn’t “doom” it to the app, it just reflects the current delivery mechanism and keeping this similar was the most straight forward path, but it can be fully adapted as you see fit. The important part is keeping the core logic environment-agnostic, which LFS already is.
|
#602
@VinceFINET This PR is my attempt at implementing the integration based on your earlier feedback. My understanding of the requirements may be limited, so there could be some misinterpretations, please let me know if anything needs adjustment. Any additional guidance would be greatly appreciated!
Integration Points
Flow Dataset (
../dataset/orgcheck-api-dataset-flows.js)LFSScanner.scanFlows()after retrieving flow metadataScore Rules (
../core/orgcheck-api-secretsauce.js)LFS Rule Mapping
Integration Summary