Skip to content

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.

@github-actions
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
Contributor

@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