1
0
mirror of https://github.com/juanfont/headscale.git synced 2026-02-07 20:04:00 +01:00
juanfont.headscale/cmd/hi
Kristoffer Dalby 3c3e39c737 cmd,hscontrol: fix err113 lint issues (batch 8)
Add sentinel errors and use %w wrapping for dynamic errors in:
- cmd/headscale/cli/mockoidc.go: errMockOidcUsersNotDefined
- cmd/headscale/cli/users.go: errFlagRequired, errMultipleUsersMatch
- cmd/hi/docker.go: ErrMemoryLimitViolations
- cmd/hi/stats.go: ErrStatsCollectionAlreadyStarted

Add nolint:err113 comments for test infrastructure errors that include
dynamic context for debugging:
- hscontrol/auth_test.go: extractRegistrationIDFromAuthURL
- hscontrol/state/node_store_test.go: concurrent test error reporting

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 08:01:58 +00:00
..
cleanup.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
docker.go cmd,hscontrol: fix err113 lint issues (batch 8) 2026-02-06 08:01:58 +00:00
doctor.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
main.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
README.md cmd/hi: improve test cleanup to reduce CI disk usage (#2881) 2025-11-28 16:59:54 +01:00
run.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
stats.go cmd,hscontrol: fix err113 lint issues (batch 8) 2026-02-06 08:01:58 +00:00

hi

hi (headscale integration runner) is an entirely "vibe coded" wrapper around our integration test suite. It essentially runs the docker commands for you with some added benefits of extracting resources like logs and databases.