📝 Update AGENTS.md with new sync.WaitGroup guidelines.

This commit is contained in:
Dan Jones 2025-11-13 14:38:43 -06:00
commit 57e01555a9

View file

@ -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)