carlos / platform Public

merge fix: the fast-adopt test learns the account argument

The rastrillo session's fast-adopt canary work and multi-account landed
together; git merged the text but shipRelease/Promote gained an account
parameter. Semantic conflict, not a behavior change.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Paul Campbell 5b4e8ffeec619b44abd38579102a26232b264411 parent 6dce4e8
1 file changed, +3 −3
  • internal/release/adopt_test.go +3 −3
diff --git a/internal/release/adopt_test.go b/internal/release/adopt_test.go
index b03c6591d..624c67f38 100644
--- a/internal/release/adopt_test.go
+++ b/internal/release/adopt_test.go
@@ -347,11 +347,11 @@ func TestPassFilterOnlyTouchesRoutesExtraAccepts(t *testing.T) {
opt := t.TempDir()
reg := testRegistry(t)
- shipRelease(t, s, "myapp", "v1", adoptPlatform, []byte("build one"))
- if err := Promote(ctx, s, priv, "myapp", "canary/x", "v1"); err != nil {
+ shipRelease(t, s, "bab", "myapp", "v1", adoptPlatform, []byte("build one"))
+ if err := Promote(ctx, s, priv, "bab", "myapp", "canary/x", "v1"); err != nil {
t.Fatalf("Promote canary/x: %v", err)
}
- if err := Promote(ctx, s, priv, "myapp", "stable", "v1"); err != nil {
+ if err := Promote(ctx, s, priv, "bab", "myapp", "stable", "v1"); err != nil {
t.Fatalf("Promote stable: %v", err)
}
addRoute(t, reg, "canary.example.com", "myapp", "canary/x", false)