-
Notifications
You must be signed in to change notification settings - Fork 10k
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
HybridCache: reflect API merge into runtime - preview 7 backport #56946
HybridCache: reflect API merge into runtime - preview 7 backport #56946
Conversation
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
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.
Changes look good to me as far as reflecting the API that was ultimately approved into runtime.
Should cherry-pick this into #56962 |
@wtgodbe lets see if this works... changed target/base from |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
tested locally - needed to add back a few more "unshipped" (I guess I got carried away with the del) - should build now |
@wtgodbe definitely improving - https://github.com/dotnet/aspnetcore/pull/56946/checks?check_run_id=27868375271 still has some unrelated (I hope!) errors in Something is up with "Linux Musl ARM" and "macOS arm64" like they haven't got the updated bits - taking a peek, but EOD here |
f12be00
into
darc-release/9.0-preview7-c259b2cd-b00e-4c3b-b2fb-6b98cf9f247a
HybridCache: reflect API merge into runtime
In runtime 103103, the proposed HybridCache API was moved from a placeholder in aspnetcore into runtime (which owns the Microsoft.Extensions.Caching.Abstractions library). This means that the original API in aspnetcore is now duplicated and redundant. Additionally, runtime requested some minor last-minute API changes (mainly: prefer
cancellationToken
overtoken
naming, and preferIEnumerable<string>
overIReadOnlyCollection<string>
for tags parameter)This PR reflects this merge - removing the duplicated APIs, and fixing the changes impacted by the API delta.
Since 103103 was merged immediately before the preview 7 snap, this will need applying both in
main
andrelease/9.0-preview7
after the runtime deps are updated (this is therelease/9.0-preview7
version). Until runtime is built and the deps are updated, aspnetcore may be unbuildable.Cross-reference: #56945 (
main
)