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

[Engineering] Update Dependency Versions #7564

Merged
merged 2 commits into from
Sep 11, 2019

Conversation

jsquire
Copy link
Member

@jsquire jsquire commented Sep 10, 2019

Summary

The intent of these changes is to set the foundation for dependencies used by the forthcoming Event Hubs Blob Checkpoint Store library.

Goals

  • Add package versions for Event Hubs and Blob Storage to be used by the Event Hubs Blob Checkpoint Store projects.

  • Updating Storage Management version to allow for interacting with blob containers.

Last Upstream Rebase

Wednesday, September 11, 2019 9:03am (EDT)

Related and Follow-Up Issues

@jsquire jsquire added Event Hubs Client This issue points to a problem in the data-plane of the library. labels Sep 10, 2019
@jsquire jsquire added this to the Sprint 158 milestone Sep 10, 2019
@jsquire jsquire self-assigned this Sep 10, 2019
@jsquire
Copy link
Member Author

jsquire commented Sep 10, 2019

According to the .NET Dependency Report there are no current consumers of the Microsoft.Azure.Management.Storage library, so I believe it should be save to rev the version.

image

@jsquire
Copy link
Member Author

jsquire commented Sep 10, 2019

The intent is to wait to merge these changes until tomorrow, once Preview 3 of the Azure Storage client library has been confirmed as released.

Copy link
Member

@tg-msft tg-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're scheduled to publish Preview 3 this afternoon so it might be good to hold off on merging until then.

@weshaggard
Copy link
Member

The intent of these changes is to set the foundation for dependencies used by the forthcoming Event Hubs Blob Checkpoint Store library.

Why do it preemptively? I think it would be nice to go it with the actual changes that consume these.

@jsquire
Copy link
Member Author

jsquire commented Sep 11, 2019

The intent of these changes is to set the foundation for dependencies used by the forthcoming Event Hubs Blob Checkpoint Store library.

Why do it preemptively? I think it would be nice to go it with the actual changes that consume these.

I have a follow-up PR that uses these, waiting only for this to clear, so it's not long-term planning; there's an immediate need. Why do it separately? To try and keep concerns separated and smoke out any conflicts - like the failures that submitting this exposed. That lets me potentially address the conflict without introducing it to the main set of changes to which it would be orthogonal.

- Adding package versions for Event Hubs and Blob Storage to be used by the
  Event Hubs Blob Checkpoint Store projects.

- Updating Storage Management version to allow for interacting with Blob
  containers.
…nsight)

Updating the recorded session records for the HDInsight tests, as they were
generated using a (very) old preview version of the Storage Management library.
@jsquire jsquire force-pushed the eng/package-dependencies branch from 432299a to 25c1e5a Compare September 11, 2019 14:40
@weshaggard
Copy link
Member

To try and keep concerns separated and smoke out any conflicts - like the failures that submitting this exposed. That lets me potentially address the conflict without introducing it to the main set of changes to which it would be orthogonal.

What failures were exposed by submitting this as is without any consumers?

My main thing is that I don't want these dependencies listed in here without having consumers as they will only cause folks pause later if someone needs to update one, similar to the one you updated that didn't have any consumers any longer. We really need a process to GC the unused versions in this file.

By adding these dependencies at the same time as you add the consuming code it makes it clear why they are being added so I still suggest doing them together.

@jsquire jsquire merged commit 9160567 into Azure:master Sep 11, 2019
@jsquire jsquire deleted the eng/package-dependencies branch September 11, 2019 16:53
@jsquire
Copy link
Member Author

jsquire commented Sep 11, 2019

To try and keep concerns separated and smoke out any conflicts - like the failures that submitting this exposed. That lets me potentially address the conflict without introducing it to the main set of changes to which it would be orthogonal.

What failures were exposed by submitting this as is without any consumers?

My main thing is that I don't want these dependencies listed in here without having consumers as they will only cause folks pause later if someone needs to update one, similar to the one you updated that didn't have any consumers any longer. We really need a process to GC the unused versions in this file.

By adding these dependencies at the same time as you add the consuming code it makes it clear why they are being added so I still suggest doing them together.

Sorry. This didn't come up until the merge refresh; wasn't my intent to work around the discussion.

The failures were due to expectations in the HD Insight recorded tests which appear to have been last generated in late 2018. The API remained the same, but the version parameter needed to be updated.

I understand the concern and acknowledge the validity, but at the same time, there is also value in keeping PRs to related work and keeping the size from ballooning. The set of changes that this was gating is not small, and has some time considerations around the associated release; my goal was to keep that as streamlined and accessible for review as possible.

@weshaggard
Copy link
Member

weshaggard commented Sep 11, 2019

Sounds reasonable at least for the one dependency update, I must have missed the test recording update when I reviewed the change.

I do still stand by general guidance that we should try to keep the version changes and new changes to this file with the new consumers of the changes so it is clear why we are changing them. The first question I will have anytime I see changes to this versions file is why it is needed and having the associated changes with it make that clearer.

@jsquire
Copy link
Member Author

jsquire commented Sep 11, 2019

Sounds reasonable at least for the one dependency update, I must have missed the test recording update when I reviewed the change.

I do still stand by general guidance that we should try to keep the version changes and new changes to this file with the new consumers of the changes so it is clear why we are changing them. The first question I will have anytime I see changes to this versions file is why it is needed and having the associated changes with it make that clearer.

Understood and no disagreement in the general case. I'll continue to use that as the desired state unless there's a justification to deviate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants