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

FSI: improve thread-safety #18152

Merged
merged 4 commits into from
Dec 18, 2024
Merged

FSI: improve thread-safety #18152

merged 4 commits into from
Dec 18, 2024

Conversation

majocha
Copy link
Contributor

@majocha majocha commented Dec 16, 2024

Description

  • Running more than one evaluation session may occasionally lead to concurrency issues with generated assembly versions.

See https://dev.azure.com/dnceng-public/public/_build/results?buildId=896555&view=ms.vss-test-web.build-test-results-tab&runId=23516108&resultId=104252&paneView=debug
Similar errors may be observed in other test cases in ComponentTests.Scripting when "run until failure" in parallel.

The above problems affect mostly the test suite but can theoretically show up IRL when more than one fsi sessions are created and used concurrently.

This PR attempts to improve it. Verified locally by running some iterations of relevant tests. Let's see if it breaks anything else.

Copy link
Contributor

github-actions bot commented Dec 16, 2024

⚠️ Release notes required, but author opted out

Warning

Author opted out of release notes, check is disabled for this pull request.
cc @dotnet/fsharp-team-msft

@majocha majocha marked this pull request as ready for review December 17, 2024 16:07
@majocha majocha requested a review from a team as a code owner December 17, 2024 16:07
@psfinaki psfinaki added the NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes label Dec 17, 2024
@majocha majocha marked this pull request as draft December 17, 2024 18:43
@majocha majocha changed the title FSI: improve concurrent assembly versioning FSI: improve thread-safety Dec 17, 2024
@majocha majocha marked this pull request as ready for review December 17, 2024 20:26
Copy link
Member

@KevinRansom KevinRansom left a comment

Choose a reason for hiding this comment

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

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants