From 6aa8b9110d69a31af5942daf60e679a24d690eb9 Mon Sep 17 00:00:00 2001 From: Adam Boniecki Date: Thu, 26 Jun 2025 10:50:51 +0200 Subject: [PATCH] Turn off dumping mermaid graphs in FSharpWorkspace 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 --- .../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