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

Fix Healthchecks UI package, update language targets #3643

Merged
merged 8 commits into from
Nov 29, 2021

Conversation

LukaszRozmej
Copy link
Member

@LukaszRozmej LukaszRozmej commented Nov 26, 2021

Changes:

Fixes issues with CLI by including Nethermind.Api.dll in the plugins.
Fixes issue with Healthckech UI by using .net 6 RC packages (.net 5 packages don't work due to changes in .net 6 and EF 6, that break reflection in EF 5)
Moves Language version to latest by default on all projects (doesn't need updating later).

Types of changes

What types of changes does your code introduce?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Testing

Requires testing

  • Yes
  • No

In case you checked yes, did you write tests??

  • Yes
  • No

Tested the package on clean VM without dotnet installed.

@LukaszRozmej LukaszRozmej changed the title Fix Healthchecks UI package Fix Healthchecks UI package, update language targets Nov 26, 2021
@LukaszRozmej LukaszRozmej marked this pull request as ready for review November 26, 2021 15:02
cp $RELEASE_DIRECTORY/$RELEASE_PATH/Nethermind.{HealthChecks,Merge.Plugin,Mev,Consensus}.dll $WIN_RELEASE/plugins
cp $RELEASE_DIRECTORY/$RELEASE_PATH/Nethermind.{HealthChecks,Merge.Plugin,Mev,Consensus}.dll $LIN_ARM64_RELEASE/plugins
cp $RELEASE_DIRECTORY/$RELEASE_PATH/Nethermind.{HealthChecks,Merge.Plugin,Mev,Consensus}.dll $OSX_ARM64_RELEASE/plugins
cp $RELEASE_DIRECTORY/$RELEASE_PATH/Nethermind.{HealthChecks,Merge.Plugin,Mev,Api}.dll $LIN_RELEASE/plugins
Copy link
Member Author

Choose a reason for hiding this comment

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

Api re-added

Comment on lines +17 to +19
<PackageReference Include="AspNetCore.HealthChecks.UI" Version="6.0.1-rc2.4" />
<PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="6.0.1-rc2.4" />
<PackageReference Include="AspNetCore.HealthChecks.UI.InMemory.Storage" Version="6.0.1-rc2.4" />
Copy link
Member Author

Choose a reason for hiding this comment

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

Those are causing issues, we need version 6, there is no stable yet.

@LukaszRozmej LukaszRozmej linked an issue Nov 26, 2021 that may be closed by this pull request
@LukaszRozmej LukaszRozmej merged commit 1f25554 into master Nov 29, 2021
@LukaszRozmej LukaszRozmej deleted the healthchecks_package branch November 29, 2021 10:49
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.

[1.12.0] Unable to initialize health checks.
3 participants