1
0
mirror of https://github.com/juanfont/headscale.git synced 2026-02-23 13:50:36 +01:00
juanfont.headscale/.github/workflows
Kristoffer Dalby 731c8f948e
integration: add negative and check-period SSH check mode tests
Add two new integration tests for SSH check mode:

- TestSSHCheckModeUnapprovedTimeout: verifies that SSH is rejected when
  the check auth request is never approved and the registration cache
  entry expires. Uses short cache TTL (15s) to avoid long waits.

- TestSSHCheckModeCheckPeriodCLI: verifies that after approval with a
  1-minute checkPeriod, the session expires and the next SSH connection
  requires re-authentication through a new check flow.

Also adds helper functions sshCheckPolicyWithPeriod (policy with
CheckPeriod) and findNewSSHCheckAuthID (finds auth-id excluding a
known one for re-auth verification).

Updates #1850
2026-02-20 11:52:25 +01:00
..
build.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
check-generated.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
check-tests.yaml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
docs-deploy.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
docs-test.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
gh-action-integration-generator.go .github/workflows: split long TestAutoApproveMultiNetwork into multiple jobs 2025-12-17 09:32:05 +01:00
gh-actions-updater.yaml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
integration-test-template.yml ci: pin Docker to v28 to avoid v29 breaking changes 2026-02-19 08:21:23 +01:00
lint.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
needs-more-info-comment.yml github: add needs-more-info automation workflow 2026-02-09 09:51:28 +01:00
needs-more-info-timer.yml github: fix needs-more-info label race condition 2026-02-15 19:42:47 +01:00
nix-module-test.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
release.yml ci: pin Docker to v28 to avoid v29 breaking changes 2026-02-19 08:21:23 +01:00
stale.yml github: add needs-more-info automation workflow 2026-02-09 09:51:28 +01:00
support-request.yml github: add support-request automation workflow 2026-02-09 09:51:28 +01:00
test-integration.yaml integration: add negative and check-period SSH check mode tests 2026-02-20 11:52:25 +01:00
test.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
update-flake.yml cmd/hi: fixes and qol (#2649) 2025-06-23 13:43:14 +02:00