Kabir Sikand
5f79d959d3
cmd/tailscale/cli: render blueprint projection on tailscale leave
...
Before clearing Prefs.BlueprintID and logging out, capture the
current Status.Self.BlueprintConfig and display it after the logout
completes so the operator can see what configuration the node is
releasing. Best-effort: if the Status fetch fails or the projection
hasn't arrived yet, fall back to the short "Detached from blueprint
bp:<id> and logged out." line. Leave is reversible; we do not block
on a Status fetch.
Extracts two pure helpers (snapshotProjection, renderLeaveMessage)
so the display branches are unit-testable without a live daemon.
Updates #cleanup
Signed-off-by: Kabir Sikand <[email protected] >
2026-05-27 20:07:26 +00:00
..
2026-01-23 15:49:45 -08:00
2026-05-15 16:23:50 +01:00
2026-03-06 13:32:03 -08:00
2026-05-19 15:30:54 +00:00
2026-05-19 15:30:54 +00:00
2026-05-27 19:49:23 +00:00
2026-05-27 19:49:23 +00:00
2026-05-27 19:54:07 +00:00
2026-05-27 19:54:07 +00:00
2026-01-23 15:49:45 -08:00
2026-02-18 11:54:09 -05:00
2026-05-15 19:43:19 +00:00
2026-05-15 19:43:19 +00:00
2026-02-08 10:04:04 -08:00
2026-02-08 10:04:04 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-04-27 18:54:14 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-04-05 15:52:51 -07:00
2026-04-30 13:50:46 -07:00
2026-04-05 15:52:51 -07:00
2026-03-06 13:32:03 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-04-02 12:06:39 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-05-01 07:53:51 -07:00
2026-01-23 15:49:45 -08:00
2026-03-05 05:31:41 -08:00
2026-03-05 05:31:41 -08:00
2026-04-30 13:50:46 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-23 09:27:27 +00:00
2026-03-23 09:27:27 +00:00
2026-01-23 15:49:45 -08:00
2026-04-05 15:52:51 -07:00
2026-04-01 20:42:35 +01:00
2026-05-01 06:51:40 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-05-27 20:02:47 +00:00
2026-05-27 20:02:47 +00:00
2026-05-18 23:45:04 +00:00
2026-05-27 20:02:47 +00:00
2026-05-27 20:07:26 +00:00
2026-05-27 20:07:26 +00:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-02-19 11:39:16 -08:00
2026-02-19 11:39:16 -08:00
2026-04-01 19:09:22 +01:00
2026-04-01 19:09:22 +01:00
2026-02-08 10:04:04 -08:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-01-23 15:49:45 -08:00
2026-05-01 06:51:40 -07:00
2026-04-05 15:52:51 -07:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-03-05 20:13:18 -08:00
2026-05-15 19:43:19 +00:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-03-06 13:32:03 -08:00
2026-03-04 21:57:05 -08:00
2026-01-27 13:42:04 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-04-27 18:54:14 -07:00
2026-01-23 15:49:45 -08:00
2026-05-05 10:12:36 +01:00
2026-02-12 14:49:52 -05:00
2026-02-12 14:49:52 -05:00
2026-02-02 15:19:06 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-23 15:05:11 +00:00