carlos / platform Public

console: an edge promote no longer flashes a bake note — edge holds zero

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VioXzogWf1Xi4Rswz2B6EK
Paul Campbell 809433b1d8a53f74b7bfa8a722ee5ce478c5b696 parent 32e8411
1 file changed, +5 −3
  • internal/console/server_test.go +5 −3
diff --git a/internal/console/server_test.go b/internal/console/server_test.go
index 74da16298..7eda6b806 100644
--- a/internal/console/server_test.go
+++ b/internal/console/server_test.go
@@ -487,9 +487,11 @@ func TestPromoteFlow(t *testing.T) {
t.Fatalf("edge pointer = %+v, want v3", p)
}
_, _, body = get(t, c, fx.u("/apps/kass"))
- if !strings.Contains(body, "Promoted v3 to edge.") ||
- !strings.Contains(body, "bake window") || !strings.Contains(body, "rollback never bakes") {
- t.Fatalf("promote flash missing bake note:\n%s", body)
+ // edge holds zero — pipelines spec: merged to main is picked up as it lands.
+ // The flash for an edge promotion contains only "Promoted v3 to edge." without
+ // the "bake window" text that appears for channels with a hold (beta, stable).
+ if !strings.Contains(body, `<p class="banner">Promoted v3 to edge.</p>`) {
+ t.Fatalf("edge promotion flash incorrect:\n%s", body)
}
// One rung at a time, up to stable — which is the rung that asks for a