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

[release/8.0] Error out when NativeLib has EventPipe enabled #90934

Merged
merged 3 commits into from
Aug 22, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 22, 2023

Backport of #90811 to release/8.0

/cc @agocke @LakshanF

Customer Impact

There is an active issue causing a hang when EventSource is used inside a native library, as opposed to an executable. The fix will not make into .NET 8.

This change adds an error to the SDK if EventSource is enabled and the project is compiling to a native library, avoiding the runtime hang.

Testing

Manual testing. An SDK test can be added when this flows to the dotnet/sdk repo.

Risk

Very low. Simple change to the Native AOT publish targets.

@ghost
Copy link

ghost commented Aug 22, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #90811 to release/8.0

/cc @agocke @LakshanF

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: -

@agocke agocke added the Servicing-consider Issue for next servicing release review label Aug 22, 2023
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

approved. once ready we can merge.

@agocke agocke added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Aug 22, 2023
@agocke
Copy link
Member

agocke commented Aug 22, 2023

@carlossanlop can you merge when you get a chance?

@carlossanlop carlossanlop merged commit 5661a20 into release/8.0 Aug 22, 2023
110 of 114 checks passed
@carlossanlop carlossanlop deleted the backport/pr-90811-to-release/8.0 branch August 22, 2023 21:45
@ghost ghost locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-NativeAOT-coreclr Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants