Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 12, 2025

Backport of #119651 to release/10.0

/cc @mdh1418

Customer Impact

  • Customer reported
  • Found internally

This impacts user_events-based EventPipe Sessions, which is a .NET 10 Linux-only feature.

Before the change, valid IPC command payloads to start a user_events-based eventpipe session would be incorrectly deemed invalid and thus the session wouldn't start.

Specifically, the specification at https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md#user_events-session-payload dictates that the tracepoint_sets payload portion can be empty if the default_tracepoint_name was present, but the previous logic considered that invalid.

The expectation is that just specifying the default tracepoint name and 0 tracepoint sets for a provider configuration would still kickoff a user_events-based eventpipe session.

Regression

  • Yes
  • No

Testing

Manually tested with custom script to send an IPC command.

Risk

Low. The change affects the IPC command parsing logic for user_events-based eventpipe sessions, a .NET 10 feature. Previously, some payloads were incorrectly deemed invalid, preventing user_events-based eventpipe sessions from being started. Now, the runtime will deem them valid and allow the eventpipe session to start.

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. please get a code review. we can merge when ready

@jeffschwMSFT jeffschwMSFT added this to the 10.0.0 milestone Sep 14, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

@mdh1418
Copy link
Member

mdh1418 commented Sep 15, 2025

Looks like Build Analysis did find the related issue, but didn't actually turn green? Is that because the table wasn't updated in the known issue?

@steveisok steveisok self-requested a review September 15, 2025 14:48
@hoyosjs
Copy link
Member

hoyosjs commented Sep 15, 2025

@mdh1418 - build analysis doesn't do that on release branches.

@hoyosjs
Copy link
Member

hoyosjs commented Sep 15, 2025

/ba-g all issues are known - this is a release branch which doesn't turn green automatically.

@hoyosjs hoyosjs merged commit 4fab3df into release/10.0 Sep 15, 2025
135 of 140 checks passed
@hoyosjs hoyosjs deleted the backport/pr-119651-to-release/10.0 branch September 15, 2025 18:44
@github-actions github-actions bot locked and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants