From e30b2da35395488ff52693884344f84ebae0e39e Mon Sep 17 00:00:00 2001 From: Adam Boniecki <20281641+abonie@users.noreply.github.com> Date: Fri, 27 Jun 2025 12:54:37 +0200 Subject: [PATCH] Turn off dumping mermaid graphs in FSharpWorkspace (#18717) This was added to debug FSharpWorkspace tests on the LSP branch, should only run in debug mode if at all and we don't need it at the moment Co-authored-by: Adam Boniecki --- .../CompilerService/FSharpWorkspace.fs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/FSharp.Compiler.ComponentTests/CompilerService/FSharpWorkspace.fs b/tests/FSharp.Compiler.ComponentTests/CompilerService/FSharpWorkspace.fs index 6fd5062d35e..3f4b41679ab 100644 --- a/tests/FSharp.Compiler.ComponentTests/CompilerService/FSharpWorkspace.fs +++ b/tests/FSharp.Compiler.ComponentTests/CompilerService/FSharpWorkspace.fs @@ -43,7 +43,10 @@ type TestingWorkspace(testName) as _this = let activity = Activity.start $"Test FSharpWorkspace {testName}" [] - do _this.Projects.Debug_DumpGraphOnEveryChange <- Some debugGraphPath + // Keeping graph dumping infrastructure for now + // To turn it on change `None` to `Some debugGraphPath` + // But if we want to turn it on again, it needs to only work in debug and not release + do _this.Projects.Debug_DumpGraphOnEveryChange <- None member _.DebugGraphPath = debugGraphPath