headscale/.github/workflows
Kristoffer Dalby fddc7117e4
stability and race conditions in auth and node store (#2781)
This PR addresses some consistency issues that was introduced or discovered with the nodestore.

nodestore:
Now returns the node that is being put or updated when it is finished. This closes a race condition where when we read it back, we do not necessarily get the node with the given change and it ensures we get all the other updates from that batch write.

auth:
Authentication paths have been unified and simplified. It removes a lot of bad branches and ensures we only do the minimal work.
A comprehensive auth test set has been created so we do not have to run integration tests to validate auth and it has allowed us to generate test cases for all the branches we currently know of.

integration:
added a lot more tooling and checks to validate that nodes reach the expected state when they come up and down. Standardised between the different auth models. A lot of this is to support or detect issues in the changes to nodestore (races) and auth (inconsistencies after login and reaching correct state)

This PR was assisted, particularly tests, by claude code.
2025-10-16 12:17:43 +02:00
..
build.yml all: remove 32 bit support (#2692) 2025-07-16 13:32:59 +02:00
check-generated.yml mapper: produce map before poll (#2628) 2025-07-28 11:15:53 +02:00
check-tests.yaml .github/workflows: prettier 2025-07-07 15:48:38 +01:00
docs-deploy.yml integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00
docs-test.yml cmd/hi: fixes and qol (#2649) 2025-06-23 13:43:14 +02:00
gh-action-integration-generator.go .github/workflow: only run a few selected postgres tests 2025-07-07 15:48:38 +01:00
gh-actions-updater.yaml cmd/hi: fixes and qol (#2649) 2025-06-23 13:43:14 +02:00
integration-test-template.yml postgres uses more memory 2025-09-09 09:40:00 +02:00
lint.yml Fix invocation of golangci-lint (#2703) 2025-07-24 08:41:20 +02:00
release.yml .github/workflows: prettier 2025-07-07 15:48:38 +01:00
stale.yml .github/workflows: prettier 2025-07-07 15:48:38 +01:00
test-integration.yaml stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
test.yml .github/workflows: prettier 2025-07-07 15:48:38 +01:00
update-flake.yml cmd/hi: fixes and qol (#2649) 2025-06-23 13:43:14 +02:00