Skip to content
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

Ensure upgrading does not re-enable disabled nodes #1132

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

glopesdev
Copy link
Member

@glopesdev glopesdev commented Nov 11, 2022

This PR ensures that upgrading disabled nodes does not cause the node to be re-enabled.

The fix is actually more involved than expected since there is currently no good way to convert / replace individual builder nodes in a way that keeps their sort order. As a temporary workaround we are running a local convert routine just for the individual upgraded node, but this would greatly benefit from refactoring the core API in the future to more easily support such conversion operations, especially if growing decorator support is anticipated.

Fixes #1097

@glopesdev glopesdev added the fix Pull request that fixes an issue label Nov 11, 2022
@glopesdev glopesdev added this to the 2.7.1 milestone Nov 11, 2022
@glopesdev glopesdev merged commit 7201015 into bonsai-rx:main Nov 14, 2022
@glopesdev glopesdev deleted the issue-1097 branch November 14, 2022 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade helper doesn't respect comments from earlier versions
1 participant