mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-18 17:04:18 +00:00
|
Some checks are pending
Build / build-nix (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Waiting to run
Check Generated Files / check-generated (push) Waiting to run
NixOS Module Tests / nix-module-check (push) Waiting to run
Tests / test (push) Waiting to run
Add TestTagsAuthKeyConvertToUserViaCLIRegister that reproduces the exact panic from #3038: register a node with a tags-only PreAuthKey (no user), force reauth with empty tags, then register via CLI with a user. The mapper panics on node.Owner().Model().ID when User is nil. The critical detail is using a tags-only PreAuthKey (User: nil). When the key is created under a user, the node inherits the User pointer from createAndSaveNewNode and the bug is masked. Also add Owner() validity assertions to the existing unit test TestTaggedNodeWithoutUserToDifferentUser to catch the nil pointer at the unit test level. Updates #3038 |
||
|---|---|---|
| .. | ||
| build.yml | ||
| check-generated.yml | ||
| check-tests.yaml | ||
| docs-deploy.yml | ||
| docs-test.yml | ||
| gh-action-integration-generator.go | ||
| gh-actions-updater.yaml | ||
| integration-test-template.yml | ||
| lint.yml | ||
| nix-module-test.yml | ||
| release.yml | ||
| stale.yml | ||
| test-integration.yaml | ||
| test.yml | ||
| update-flake.yml | ||