Skip to content

Comments

feat(): remove deprecated remove_non_manifold_faces key from meshing defaults#1774

Merged
benflexcompute merged 7 commits intomainfrom
BenY/Delete_remove_non_manifold_faces
Feb 18, 2026
Merged

feat(): remove deprecated remove_non_manifold_faces key from meshing defaults#1774
benflexcompute merged 7 commits intomainfrom
BenY/Delete_remove_non_manifold_faces

Conversation

@benflexcompute
Copy link
Collaborator

@benflexcompute benflexcompute commented Feb 7, 2026

…g


Note

Low Risk
Small, targeted deprecation cleanup with backwards-compat shims; main risk is behavioral change for users still passing the removed key (now ignored with a warning).

Overview
Removes the deprecated meshing.defaults.remove_non_manifold_faces field from MeshingDefaults, the GAI translation whitelist, and all JSON test fixtures/refs, and drops the now-obsolete mutual-exclusion validation/test that involved this flag.

Adds compatibility handling so older inputs are auto-cleaned: a new _to_25_9_0 updater step (not yet registered) strips the key from serialized params, and a MeshingDefaults pre-validator drops the constructor argument while emitting a validation warning and directing users to remove_hidden_geometry instead.

Written by Cursor Bugbot for commit 5d3b979. This will update automatically on new commits. Configure here.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d98fce700b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@benflexcompute benflexcompute enabled auto-merge (squash) February 18, 2026 18:52
@benflexcompute benflexcompute merged commit ccf9c4e into main Feb 18, 2026
18 checks passed
@benflexcompute benflexcompute deleted the BenY/Delete_remove_non_manifold_faces branch February 18, 2026 19:01
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

"`meshing.defaults.remove_non_manifold_faces` is no longer supported and has been "
+ "ignored. Set `meshing.defaults.remove_hidden_geometry` instead."
)
add_validation_warning(message)
Copy link

Choose a reason for hiding this comment

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

Deprecation warning fires unconditionally regardless of value

Medium Severity

The remove_deprecated_arguments validator emits a deprecation warning whenever remove_non_manifold_faces is present in the input, regardless of its value. All old serialized configs include this field with its default value of False. Since _to_25_9_0 is not yet registered in VERSION_MILESTONES, loading any old config triggers the warning from the model validator. The warning message "Set meshing.defaults.remove_hidden_geometry instead" is misleading for users who never enabled the deprecated feature. Per the PR discussion, the reviewer suggested showing the warning only when the value is True, and the response was "GOOD CATCH." The check on value currently only tests key presence, not the truthiness of the value.

Fix in Cursor Fix in Web

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.

2 participants