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

Supporting .NET8 updates #1

Merged
merged 9 commits into from
Feb 18, 2024

Conversation

paulyuk
Copy link

@paulyuk paulyuk commented Feb 17, 2024

Description

These complementary updates do the following:

  • fix Actors tests by changing test match string of healthz endpoint to latest value
  • fix Actors tests with correct paths to do dapr run commands (no more path not found)
  • update Bindings to .NET8 and clean out swashbuckle references

Issue reference

#980
#987

Checklist

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

  • The quickstart code compiles correctly
  • You've tested new builds of the quickstart if you changed quickstart code
  • You've updated the quickstart's README if necessary
  • If you have changed the steps for a quickstart be sure that you have updated the automated validation accordingly. All of our quickstarts have annotations that allow them to be executed automatically as code. For more information see mechanical-markdown. For user guide with examples see Examples.

pngan and others added 8 commits February 14, 2024 19:50
Exception is batch because Swashbuckle does not support net8
Batch uses Swashbuckle net6 dlls
With special net6 install for batch project

Signed-off-by: Phillip Ngan <phillip.ngan@gmail.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>
@@ -34,15 +34,15 @@ Run the `SmartDevice.Service`, which will start service itself and the Dapr side
<!-- STEP
name: Run actor service
expected_stdout_lines:
- "Request finished HTTP/1.1 GET http://127.0.0.1:5001/healthz - - - 200"
- "Request finished HTTP/1.1 GET http://127.0.0.1:5001/healthz - 200"
Copy link
Author

Choose a reason for hiding this comment

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

This is the line of output from healthz that changed, causing our tests to fail. by changing the expected out we fix it back up again.

@@ -1,5 +1,5 @@
DAPR_CLI_VERSION: 1.12.0
DAPR_RUNTIME_VERSION: 1.13.0-rc.2
DAPR_RUNTIME_VERSION: 1.13.0-rc.4
Copy link
Author

Choose a reason for hiding this comment

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

hopefully this avoids a merge conflict with release-1.13.

<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
Copy link
Author

Choose a reason for hiding this comment

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

Reviewed with .NET SDK maintainers in Dapr and they agree with this. Also tests pass.

<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
Copy link
Author

Choose a reason for hiding this comment

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

Reviewed with .NET SDK maintainers in Dapr and they agree with this. Also tests pass.

@pngan pngan force-pushed the ConvertToNet8-on-release-1.13 branch 2 times, most recently from 05fce33 to 78f35dc Compare February 18, 2024 03:01
Copy link
Owner

@pngan pngan left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Phillip Ngan <4557674+pngan@users.noreply.github.com>
@pngan pngan merged commit 4f051f5 into pngan:ConvertToNet8-on-release-1.13 Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants