docs: add caveat about running go tests to agent instructions [skip ci]

This commit is contained in:
kolaente
2026-02-08 15:40:33 +01:00
parent bcfde14b14
commit ac3fd3e131

View File

@@ -70,6 +70,8 @@ After creation, tell the user where they can find the new worktree.
- **Clean**: `mage build:clean` - Cleans build artifacts
- **Format**: `mage fmt` - Format Go code before committing
**IMPORTANT:** To run api tests, you MUST use the `mage test:web`, or `mage test:feature` or `mage test:filter` commands. Using plain `go test` will not work!
**Go Tips:**
- To see source files from a dependency, or to answer questions about a dependency, run `go mod download -json MODULE` and use the returned `Dir` path to read the files.
- Use `go doc foo.Bar` or `go doc -all foo` to read documentation for packages, types, functions, etc.