[Hotfix Main]: [SNAPPY] Added validator for duplicate refinements on an entity#1813
Merged
piotrkluba merged 3 commits intomainfrom Feb 17, 2026
Merged
[Hotfix Main]: [SNAPPY] Added validator for duplicate refinements on an entity#1813piotrkluba merged 3 commits intomainfrom
piotrkluba merged 3 commits intomainfrom
Conversation
piotrkluba
previously approved these changes
Feb 17, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
piotrkluba
approved these changes
Feb 17, 2026
piotrkluba
added a commit
that referenced
this pull request
Feb 17, 2026
…an entity (#1813) Co-authored-by: piotrkluba <piotr.kluba@flexcompute.com>
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.
Hotfix of PR #1812 (#1812) to the
mainbranch.Hey @piotrkluba, please review this hotfix PR created from your original PR.
Note
Low Risk
Validation-only change that tightens configuration constraints and is covered by new unit tests; main risk is breaking existing inputs that relied on duplicate refinements.
Overview
Adds a new
SurfaceMeshingParamsvalidator that rejects applying the same refinement type more than once to the same entity (coveringBodyRefinement,RegionRefinement, andSurfaceEdgeRefinement).Extends meshing validation tests to assert the new error behavior and updates an existing
SurfaceEdgeRefinementtest case to avoid triggering the new duplicate check.Written by Cursor Bugbot for commit cb6e783. This will update automatically on new commits. Configure here.