[GH-ISSUE #400] Auto-Delete Tailscale Machines When Server is Deleted #256

Closed
opened 2026-03-03 11:14:21 +03:00 by kerem · 1 comment
Owner

Originally created by @charanm927 on GitHub (Aug 12, 2025).
Original GitHub issue: https://github.com/dflow-sh/dflow/issues/400

Originally assigned to: @pavanbhaskardev on GitHub.

Description:

When a server is deleted in dFlow, automatically remove the associated Tailscale machine from the Tailscale network. This ensures that no orphaned devices remain connected and avoids potential security or network clutter issues.

Acceptance Criteria:

  • Detect Tailscale device(s) linked to a server upon deletion.
  • Automatically remove those devices from Tailscale.
  • Confirm deletion was successful and log the action.
  • Handle cases where the Tailscale device is already missing gracefully.

Benefits:

  • Maintains a clean and secure Tailscale network.
  • Prevents unused devices from consuming Tailscale node slots.
  • Reduces manual cleanup after server removal.
Originally created by @charanm927 on GitHub (Aug 12, 2025). Original GitHub issue: https://github.com/dflow-sh/dflow/issues/400 Originally assigned to: @pavanbhaskardev on GitHub. **Description:** When a server is deleted in dFlow, automatically remove the associated Tailscale machine from the Tailscale network. This ensures that no orphaned devices remain connected and avoids potential security or network clutter issues. **Acceptance Criteria:** - Detect Tailscale device(s) linked to a server upon deletion. - Automatically remove those devices from Tailscale. - Confirm deletion was successful and log the action. - Handle cases where the Tailscale device is already missing gracefully. **Benefits:** - Maintains a clean and secure Tailscale network. - Prevents unused devices from consuming Tailscale node slots. - Reduces manual cleanup after server removal.
kerem 2026-03-03 11:14:21 +03:00
Author
Owner

@pavanbhaskardev commented on GitHub (Sep 19, 2025):

  • Deleting tailscale machine after server is deleting
  • Pushed changes to main PR
<!-- gh-comment-id:3312254697 --> @pavanbhaskardev commented on GitHub (Sep 19, 2025): - Deleting tailscale machine after server is deleting - Pushed changes to main [PR](https://github.com/dflow-sh/dflow/pull/447)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dflow#256
No description provided.