Skip to content

Add net7 to testing matrix - #1005

Merged
halspang merged 4 commits into
dapr:masterfrom
halspang:net7
Jan 26, 2023
Merged

halspang merged 4 commits into
dapr:masterfrom
halspang:net7

Conversation

@halspang

@halspang halspang commented Jan 6, 2023

Copy link
Copy Markdown
Contributor

Description

Add net7 into the testing framework to ensure compatibility.

Signed-off-by: halspang halspang@microsoft.com

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: NA

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@halspang
halspang requested review from a team as code owners January 6, 2023 00:50
@halspang
halspang force-pushed the net7 branch 4 times, most recently from 8b0759f to 7a19457 Compare January 6, 2023 01:11
@codecov

codecov Bot commented Jan 6, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #1005 (eee5c97) into master (389de69) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1005      +/-   ##
==========================================
- Coverage   69.92%   69.90%   -0.02%     
==========================================
  Files         157      157              
  Lines        5227     5227              
  Branches      562      562              
==========================================
- Hits         3655     3654       -1     
- Misses       1439     1440       +1     
  Partials      133      133              
Flag Coverage Δ
net5 ?
net6 69.82% <ø> (ø)
net7 69.82% <ø> (?)
netcoreapp3.1 69.86% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/Dapr.Client/DaprClientGrpc.cs 86.73% <0.00%> (-0.15%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does this work on downlevel .NET versions? eg: is this API present pre-7.0?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, it is present for 3.1-7, though only 7 appears to handle cookies incorrectly. Given this comes from the integration suite, I believe it doesn't represent an issue with our standard code and I did manually test the actor example with net7 to ensure this isn't an issue.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What's the reason for this change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I added that when I was debugging the cookie issue. I'll remove it.

@rynowak

rynowak commented Jan 23, 2023

Copy link
Copy Markdown
Contributor

You should be able to also remove .NET 5 from your testing matrix as it was EOL in May 2022. This is not a breaking change since it doesn't break anything for a .NET 5 user. We'll just stop testing it.

Signed-off-by: halspang <halspang@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants