-
Notifications
You must be signed in to change notification settings - Fork 273
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
Upgrade Durable V3.x to use .NET 6 Framework only #2864
Conversation
var controlQueueMessages = controlQueueLengths.Sum(); | ||
var activeControlQueues = controlQueueLengths.Count(x => x > 0); | ||
var controlQueueMessages = controlQueueLengths!.Sum(); | ||
var activeControlQueues = controlQueueLengths!.Count(x => x > 0); |
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 can only pass the build/release CI after I added this !. Otherwise, it will show me a error that controQueueLengths
could be null. I am not sure why this is triggered now.
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 suppose .NET6 might have better null-value detection / nullability analysis
The Functions v1 tests CI fail because V1 tests were deleted in this PR. |
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.
Left some comments, but it looks correct to me. The change seems simple, just repeated many times over. I'll do another pass over the csproj tomorrow to confirm it looks right
src/WebJobs.Extensions.DurableTask/AzureStorageDurabilityProvider.cs
Outdated
Show resolved
Hide resolved
src/WebJobs.Extensions.DurableTask/DurableTaskJobHostConfigurationExtensions.cs
Outdated
Show resolved
Hide resolved
src/WebJobs.Extensions.DurableTask/WebJobs.Extensions.DurableTask.csproj
Outdated
Show resolved
Hide resolved
<TargetFramework>net60</TargetFramework> | ||
<TargetFramework>net6.0</TargetFramework> |
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.
oh my. Was this even working before?
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 we added this folder later and never put it in our build haha
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.
Let me just triple check then - is this now in the build? If so - where :)
@@ -46,90 +47,31 @@ | |||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
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.
Don't have time to look at this csproj today in detail, but at a glance looks good. Will do a side-by-side comparison tomorrow.
@jviau would be good if you could skim over this. It LGTM for the most part, but would appreciate another set of eyes. |
src/WebJobs.Extensions.DurableTask/WebJobs.Extensions.DurableTask.csproj
Outdated
Show resolved
Hide resolved
This looks good to me. Will need a lot of manual validation to ensure all scenarios still work. |
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.
LGTM but before approving, we need to run the DF tests. For some reason, the GitHub action for this is not running here, probably because the PR is not against dev
or main
. So let's first get the GH action to run on all PRs, and run that here, before merging.
Issue describing the changes in this PR
Pull request checklist
pending_docs.md
release_notes.md
/src/Worker.Extensions.DurableTask/AssemblyInfo.cs