Skip to content

Bugfix: Do not modify user-provided configs via drivers #756

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

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

maddenp-cu
Copy link
Collaborator

Synopsis

Fixes a bug whereby dereferencing a config in a driver's initializer affected a YAMLConfig object passed to the driver. Ensure that drivers have an independent deep copy of the user-provided config, insulating both parties from unexpected changes.

Type

  • Bug fix (corrects a known issue)

Impact

  • This is a non-breaking change (existing functionality continues to work as expected)

Checklist

  • I have added myself and any co-authors to the PR's Assignees list.
  • I have reviewed the documentation and have made any updates necessitated by this change.

@maddenp-cu maddenp-cu merged commit e58ac52 into ufs-community:main Jun 25, 2025
2 checks passed
@maddenp-cu maddenp-cu deleted the driver-copy-config branch June 25, 2025 18:06
maddenp-cu added a commit to maddenp-cu/uwtools that referenced this pull request Jun 25, 2025
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