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
Bug fix for pipeline downloading incorrect package ver #20294
Bug fix for pipeline downloading incorrect package ver #20294
Changes from all commits
102522e
e13583d
578c84a
d7d0a63
2cdb687
4f11a9f
7fcd66b
c8d7d4b
9755ae1
45df900
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 should still try to add some sort of validation to make sure we found the packages we were expecting.
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.
Isn't this essentially just testing that our release build scripts work and build the right thing? I think that might be an environment assumption we can make and let the build scripts be responsible for validating that? Or am I misunderstanding.
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.
I just want to make sure we don't accidently slip through this step and not update any package references in the requirements and then everything works as expected but we didn't actually test anything.
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.
Makes sense. Do you happen to know of a clear reference to the current version being released? It seems like we may have to export a variable as part of our version update scripts the way we did for java?
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.
I think for our purposes here the goal is to test the artifact we have just built so we can continue to parse the version from the artifact if we want (or we can switch to getting that from the PackageInfo.json) and then we just need to check to make sure what we passed in via the parameter.Artifact matches what we found and are updating.
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.
@ckairen @scbedd and I are still a little confused as to what's being proposed here. Within the release pipeline context, based on previous steps and the actions of the release engineer, the build artifact and version in it is a source of truth for the version. So if we wanted to check that we were pulling in the right versioned artifact, wouldn't we be essentially be checking the same source of version data against itself?
Since you're out until next week, I think we should merge what's here to fix the immediate issue, but keep #19928 open so we can discuss/clarify when you get back.
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.
I reopened #19928 and added some more context there.