"refresh" deletes connections for temporarily invisible Tailscale devices (devices using JIT)
Hi there,
We are encountering some issues with some of our Tailscale connections that require JIT access. We are working on version: XPipe 24.4, macOS 14 (arm64).
The behaviour we are observing:
At the moment, refreshing a tailnet permanently deletes any connection whose device isn't visible in tailscale status --json, including all user config. There is no way to recover without a backup of ~/.xpipe/storage.
How it is affecting our workflow:
We use time-limited Tailscale ACL grants for some devices. Once the JIT access expires and after a refresh in Xpipe, the devices in question disappear from tailscale status --json even though they still exists in the tailnet with the same StableNodeID. Once a new JIT request is approved, the devices need to be re configured every time.
What already works well: Refresh is non-destructive when all devices are visible, and when a device comes back into view it's matched by StableNodeID and keeps its existing entry. The only issue is that temporary absence is treated as deletion.
Possible approach:
We noticed PodmanCmdStore already returns false from removeLeftovers() to prevent this. A per-category toggle in DataStoreCategoryConfig (similar to the existing tri-state flags) could let users opt out of deletion on refresh for any hierarchy store, not just Tailscale.
Please let me know your thoughts.
Many thanks, Lucie Barbier-Dearnley
Source: xpipe-io/xpipe