Files
tailscale/cmd/tailscale
Kabir Sikand f2b02df99e cmd/tailscale/cli, ipn/ipnstate: add blueprint projection wait helper
Adds a pure waitForBlueprintProjection helper that polls a Status
fetcher until the daemon reports a matching projection or a deadline
elapses. Extracted from runJoin so the wait-loop behavior can be unit
tested without a fake LocalClient.

Also threads PeerStatus.BlueprintConfig (populated only on Self, from
tailcfg.Node.BlueprintConfig) so the helper's success condition can
be expressed in terms of the public Status surface. Peer entries
never read this field; the helper checks only Status.Self.

Updates #cleanup

Signed-off-by: Kabir Sikand <[email protected]>
2026-05-27 19:54:07 +00:00
..