Skip to content

Ensure we create new RemoteInvokeOptions for every call #107820

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

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

ericstj
Copy link
Member

@ericstj ericstj commented Sep 14, 2024

Fixes #107671, #107240

The RemoteInvokeOptions instance is mutated by RemoveExecutor.Invoke and cannot be shared.

The RemoteInvokeOptions instance is mutated by RemoveExecutor.Invoke and cannot be shared.
@ericstj ericstj merged commit 17c83a6 into dotnet:main Sep 16, 2024
83 of 85 checks passed
@ericstj
Copy link
Member Author

ericstj commented Sep 16, 2024

/backport to release/9.0

Copy link
Contributor

Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/10886995195

@kunalspathak
Copy link
Member

@ericstj - wondering what changed that these tests started to fail recently?

@ericstj
Copy link
Member Author

ericstj commented Sep 17, 2024

I don't have any hard data that shows a recent uptick in occurrences. All the recent traffic was due to manual analysis on JITStress and PGO legs. I agree that's increased - but that just could be coincident with the push to try and get these green by release.

We never saw this failing in the actual monitored build legs. Either they don't run with elevated permissions to install services - or they run on machines with fewer cores and don't actually run these tests concurrently.

jtschuster pushed a commit to jtschuster/runtime that referenced this pull request Sep 17, 2024
The RemoteInvokeOptions instance is mutated by RemoveExecutor.Invoke and cannot be shared.
sirntar pushed a commit to sirntar/runtime that referenced this pull request Sep 30, 2024
The RemoteInvokeOptions instance is mutated by RemoveExecutor.Invoke and cannot be shared.
@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure: Microsoft.Extensions.Hosting.WindowsServiceLifetimeTests.ExceptionOnStartIsPropagated
4 participants