From 120400dc1f86b1e833d5be996f029e6482ba249b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 07:03:05 +0000 Subject: [PATCH] test: add t.Parallel() to compile_recovery_test.go All three tests in cmd/gh-aw-wasm/compile_recovery_test.go are independently safe to run in parallel: they use only local variables, no shared mutable globals, no environment mutation, no filesystem paths, no ports, and no synchronization between tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- cmd/gh-aw-wasm/compile_recovery_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/gh-aw-wasm/compile_recovery_test.go b/cmd/gh-aw-wasm/compile_recovery_test.go index 6ee97f4e689..73bceac0675 100644 --- a/cmd/gh-aw-wasm/compile_recovery_test.go +++ b/cmd/gh-aw-wasm/compile_recovery_test.go @@ -7,6 +7,7 @@ import ( ) func TestRunCompileWithRecoverySuccess(t *testing.T) { + t.Parallel() var resolved any var rejected error @@ -25,6 +26,7 @@ func TestRunCompileWithRecoverySuccess(t *testing.T) { } func TestRunCompileWithRecoveryError(t *testing.T) { + t.Parallel() want := errors.New("compile failed") var resolved any var rejected error @@ -44,6 +46,7 @@ func TestRunCompileWithRecoveryError(t *testing.T) { } func TestRunCompileWithRecoveryPanic(t *testing.T) { + t.Parallel() var resolved any var rejected error