dotnet / dotnet/roslyn

CSharpInteractiveDirectives.WorkspaceClearedAfterReset failing due to locale mismatch

Open
#79,301 0 comments 0 reactions 0 assignees View on GitHub
Area-Infrastructure Area-Interactive untriaged
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

The WorkspaceClearedAfterReset test is expecting logging to be in English but exception messages are coming back in a different locale.

It is expecting "Stack overflow." but that is not what is being logged even when using the `UseCulture("en-us")` attribute on the test.
image

Contributor guide

Open the contributing guide

Research direction

Start with the CSharpInteractiveDirectives.WorkspaceClearedAfterReset test and reproduce its failure, focusing on how the UseCulture("en-us") attribute interacts with the logged exception message. Done means the test reliably observes the expected English "Stack overflow." message without a locale mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
localization, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.