carlos / platform Public

edge: Task 3 test uses baj, not k3x, for the -tunnel row (#471 Task 3 review P2)

Ruling platform-60 overrides the plan's k3x: tests use valid non-ops sqids
only. The second account is fwdOther (baj, domains.Sqid(8)).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev e5d2d14b007a745a062926689681a9c351d90f5d parent 0fe483d
1 file changed, +4 −4
  • internal/edge/upgrades_test.go +4 −4
diff --git a/internal/edge/upgrades_test.go b/internal/edge/upgrades_test.go
index 87d93908d..91331ea8a 100644
--- a/internal/edge/upgrades_test.go
+++ b/internal/edge/upgrades_test.go
@@ -6,8 +6,8 @@ package edge
// Upgrades are still refused at the hub (TestUpgradesStillRefusedBeforeSwitchOn);
// nothing calls reserveUpgrade outside these tests yet.
//
-// Accounts: fwdOwner ("bah") owns fleets home and away; "k3x" is the
-// second account the plan names for the -tunnel row.
+// Accounts: fwdOwner ("bah") owns fleets home and away; fwdOther ("baj")
+// is the second, valid non-ops account, used for the -tunnel row.
import (
"bufio"
@@ -77,7 +77,7 @@ func TestTenancyComesFromReloadsArm(t *testing.T) {
const sock = "/run/carlos/shop-home.sock"
_, hub, _ := forwardHubAndBox(t, []registry.Route{
forwardRow(upHost, "home", fwdOwner),
- {Host: "t.example.com", Kind: "instance", Status: "ready", Tunnel: "t1", Account: "k3x", App: "blog"},
+ {Host: "t.example.com", Kind: "instance", Status: "ready", Tunnel: "t1", Account: fwdOther, App: "blog"},
// A fleet-placed instance (ArmFleet) and a platform alias of it.
{Host: "src.example.com", Kind: "instance", Status: "ready", Socket: sock,
Region: registry.PlacementTarget("home"), Account: fwdOwner, App: "shop"},
@@ -97,7 +97,7 @@ func TestTenancyComesFromReloadsArm(t *testing.T) {
for host, want := range map[string]tenancy{
upHost: upTenancy,
"www.example.com": upTenancy,
- "t.example.com": {ArmTunnel, "k3x", "blog", "", "t1"},
+ "t.example.com": {ArmTunnel, fwdOther, "blog", "", "t1"},
"src.example.com": fleetTen,
"alias.example.com": fleetTen,
"local.example.com": {},