From 57e01555a92661551ab25af49f53af34592a73bd Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Thu, 13 Nov 2025 14:38:43 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20AGENTS.md=20with=20new?= =?UTF-8?q?=20`sync.WaitGroup`=20guidelines.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index 07e84ff..7193d67 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -24,6 +24,7 @@ This document outlines the conventions and commands for agents operating within - **Testing**: - Use `github.com/nalgeon/be` - Tests should be in a separate package, such as waiterr_test +- **sync.WaitGroup**: Do not use the `WaitGroup.Add` or `WaitGroup.Done` functions. Instead, we should rely on `WaitGroup.Go` to spawn new goroutines. ## Git Commit Guidelines - **Format**: Prepend commit messages with a gitmoji emoji (see https://gitmoji.dev)