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.
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
RSS <-> Nexus handoff: Set an initial (disabled) target blueprint #5244
RSS <-> Nexus handoff: Set an initial (disabled) target blueprint #5244
Changes from 4 commits
f71e2f3
f76f990
7111cca
325047c
aac78b0
8e304ba
3cccded
c573751
f1acada
c1ca898
51b031b
0b28298
6bafd89
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We wouldn't really expect anything to be able to concurrently set a different target while we're doing this operation, would we? As in, other than this pathway, is "setting the target" still an operator/developer-driven operation?
Why I ask: I'm just curious if some other background task in Nexus could attempt to concurrently set a blueprint and cause this
blueprint_target_set
call to failThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In principle a background task could sneak in, set a blueprint target, and cause this to fail. In practice the only thing that could do that is a support operator:
None
None
are to generate one from an inventory collection (which is expected to only be a support-driven operator, forever, as once we do it to deployed systems and merge this change it will never be required again) or to construct one by hand, which is what RSS is doing on this PR.