[PR #2579] [MERGED] bring back last_seen in database #2743

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

📋 Pull Request Information

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

Base: mainHead: kradalby/last-seen-online


📝 Commits (2)

  • 109e412 db: add back last_seen to the database
  • 4414dfc integration: ensure last_seen is set

📊 Changes

7 files changed (+71 additions, -12 deletions)

View changed files

📝 cmd/headscale/cli/utils.go (+2 -2)
📝 hscontrol/app.go (+2 -2)
📝 hscontrol/db/db.go (+18 -1)
📝 hscontrol/db/node.go (+14 -0)
📝 hscontrol/poll.go (+4 -0)
📝 hscontrol/types/node.go (+1 -5)
📝 integration/auth_key_test.go (+30 -2)

📄 Description

Fixes #2574


🔄 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/2579 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 5/9/2025 **Status:** ✅ Merged **Merged:** 5/10/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/last-seen-online` --- ### 📝 Commits (2) - [`109e412`](https://github.com/juanfont/headscale/commit/109e41269273382b7a6805c8d3f5666b40416f30) db: add back last_seen to the database - [`4414dfc`](https://github.com/juanfont/headscale/commit/4414dfcbdc84d2168a43f7376b7a8b092e3d3d81) integration: ensure last_seen is set ### 📊 Changes **7 files changed** (+71 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/utils.go` (+2 -2) 📝 `hscontrol/app.go` (+2 -2) 📝 `hscontrol/db/db.go` (+18 -1) 📝 `hscontrol/db/node.go` (+14 -0) 📝 `hscontrol/poll.go` (+4 -0) 📝 `hscontrol/types/node.go` (+1 -5) 📝 `integration/auth_key_test.go` (+30 -2) </details> ### 📄 Description Fixes #2574 --- <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:18:44 +01:00
adam closed this issue 2025-12-29 04:18:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2743