From ef2b4a97a660761239b0f5a28d6411fba7b861cd Mon Sep 17 00:00:00 2001 From: Abdon Pijpelink Date: Thu, 12 Feb 2026 16:21:40 +0100 Subject: [PATCH 1/2] Fix problem with Go snippet compilation --- automation/snippets/lib/languages/go.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/snippets/lib/languages/go.py b/automation/snippets/lib/languages/go.py index 67d746f12b..6214ac7ceb 100644 --- a/automation/snippets/lib/languages/go.py +++ b/automation/snippets/lib/languages/go.py @@ -47,7 +47,7 @@ def compile(cls, tmpdir: Path, fnames: list[Path]) -> CompileResult: }, ) - subprocess.run(["go", "build", "-o", "tester", "."], cwd=tmpdir, check=True) + subprocess.run(["go", "build", "-buildvcs=false", "-o", "tester", "."], cwd=tmpdir, check=True) return result From 952fbea416e4faa3b6481875ceee5ec92fd6c494 Mon Sep 17 00:00:00 2001 From: Abdon Pijpelink Date: Fri, 20 Feb 2026 13:17:09 +0100 Subject: [PATCH 2/2] Update automation/snippets/lib/languages/go.py Co-authored-by: xzfc <5121426+xzfc@users.noreply.github.com> --- automation/snippets/lib/languages/go.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/automation/snippets/lib/languages/go.py b/automation/snippets/lib/languages/go.py index 6214ac7ceb..28f4cd4235 100644 --- a/automation/snippets/lib/languages/go.py +++ b/automation/snippets/lib/languages/go.py @@ -47,7 +47,11 @@ def compile(cls, tmpdir: Path, fnames: list[Path]) -> CompileResult: }, ) - subprocess.run(["go", "build", "-buildvcs=false", "-o", "tester", "."], cwd=tmpdir, check=True) + subprocess.run( + ["go", "build", "-buildvcs=false", "-o", "tester", "."], + cwd=tmpdir, + check=True, + ) return result