Multiple RegisterOrReplace calls for the same pipeline step identifier throws System.Exception: Step registration with id '<step-identifier>' is already registered for '<step-identifier>'.#7484
Merged
danielmarbach merged 17 commits intomasterfrom Nov 24, 2025
Conversation
danielmarbach
approved these changes
Nov 24, 2025
…e last that was registered.
…peLineModelBuilder
…revent unnecessary growind and adjusting
9e9ccb3 to
8b0d2a8
Compare
andreasohlund
approved these changes
Nov 24, 2025
ngallegos
added a commit
that referenced
this pull request
Nov 24, 2025
…r throws System.Exception: Step registration with id '<step-identifier>' is already registered for '<step-identifier>'. (#7484) * Allow subsequent RegisterOrReplace calls on the same step and take the last that was registered. * Fixed inaccurate exception message and added test coverage for the PipeLineModelBuilder * Allow multiple Replace calls on the same step, using the last one * First small dirty refactoring * Simplify * Remove unused code * Further simplifications and consistently use modifications * Express fixed order * Drastically reduce unnecessary allocations and preallocate lists to prevent unnecessary growind and adjusting * Simplify and remove unnecessary things * There is really no point in re-inventing the wheel * Streamline test * Cleanup line ending * Modernize * nullable * Delete unused code * Rebase and fix --------- Co-authored-by: Daniel Marbach <danielmarbach@users.noreply.github.com>
This was referenced Nov 24, 2025
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.
Fixes #7485
Related to: