[PR #2811] [MERGED] integration: add tests for api bypass #2874

Closed
opened 2025-12-29 04:19:27 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2811
Author: @kradalby
Created: 10/22/2025
Status: Merged
Merged: 10/22/2025
Merged by: @kradalby

Base: mainHead: kradalby/api-bypass


📝 Commits (2)

  • 7276bc1 integration: add tests for api bypass
  • 715ad5d app: return unauthorised on auth check fail

📊 Changes

3 files changed (+664 additions, -3 deletions)

View changed files

📝 .github/workflows/test-integration.yaml (+5 -1)
📝 hscontrol/app.go (+2 -2)
integration/api_auth_test.go (+657 -0)

📄 Description

tests #2810


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2811 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/api-bypass` --- ### 📝 Commits (2) - [`7276bc1`](https://github.com/juanfont/headscale/commit/7276bc1cf8b5984dd7a5e5a2eb54930a72e9e991) integration: add tests for api bypass - [`715ad5d`](https://github.com/juanfont/headscale/commit/715ad5d14cad3286f2038b4bd9cd7b340d5ce270) app: return unauthorised on auth check fail ### 📊 Changes **3 files changed** (+664 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test-integration.yaml` (+5 -1) 📝 `hscontrol/app.go` (+2 -2) ➕ `integration/api_auth_test.go` (+657 -0) </details> ### 📄 Description tests #2810 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 04:19:27 +01:00
adam closed this issue 2025-12-29 04:19:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2874