Files
tailscale/tstest/integration/testcontrol/reco-experiment.go
Brad Fitzpatrick bcc7e46f42 tstest/integration/testcontrol: add experiment.reco implementation
Select the published reco-backed test server with a build tag while
preserving the default implementation and existing caller API. Pin the
public module with its proxy-verified checksums; no workspace is needed.

Accept incremental peer messages in the TSP test. Exercise legacy map
semantics with the default server and version-floor rejection with reco,
including current-version streaming, without manual test skips.

Document GOFLAGS usage so child Go builds inherit the experiment tag.

Updates tailscale/corp#49097

Change-Id: I9b3e086c4c6a9a57a076e76b883422875c843f20
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-09-29 10:25:02 -07:00

19 lines
650 B
Go

// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
//go:build experiment.reco
package testcontrol
import "github.com/bradfitz/reco/recotestcontrol"
// Re-export the test server API so callers can select either implementation
// using only a build tag. The reco implementation supports capability 109+.
type Server = recotestcontrol.Server
type AuthPath = recotestcontrol.AuthPath
type MasqueradePair = recotestcontrol.MasqueradePair
type AltMapStreamFunc = recotestcontrol.AltMapStreamFunc
type MapStreamWriter = recotestcontrol.MapStreamWriter
var RejectRequestForPath = recotestcontrol.RejectRequestForPath