Files
headscale/integration/AGENTS.md
T
Kristoffer Dalby 4608e29a02 all: add nested AGENTS.md for db, integration, bump and .github
Agents load them only when working in that directory.
2026-11-20 18:35:07 +01:00

477 B

integration

Read README.md here before writing a test and ../cmd/hi/README.md before running one. Never guess hi flags.

  • Every test function starts with IntegrationSkip(t).
  • External calls (client.Status, headscale.ListNodes, …) go inside EventuallyWithT; state-mutating commands (tailscale set) never do.
  • Prefer hscontrol/servertest/ when a test does not need Docker.
  • A run writes ~100 MB of logs under control_logs/{runID}/; prune old runs.