Improve workflow UI, retain stage diffs, and add portable pipeline transfers
Make OpenCode authoring responsive and expand the managed skill references. Add conflict-aware import/export, real-provider reference workflows, and tracked V2 generation for reliable budget accounting.
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestHomeNotificationSetup(t *testing.T) {
|
||||
func TestInfrastructureRetainedWithoutClutteringPageHeaders(t *testing.T) {
|
||||
m := New(context.Background(), "ws://localhost/connect")
|
||||
m.width = 120
|
||||
m.height = 40
|
||||
@@ -17,16 +17,16 @@ func TestHomeNotificationSetup(t *testing.T) {
|
||||
view := ansi.Strip(m.View())
|
||||
header := strings.Split(view, "\n")[0]
|
||||
for _, text := range []string{"ntfy", "http://10.0.0.249:8090", "topic pipelines"} {
|
||||
if !strings.Contains(header, text) {
|
||||
t.Fatal("missing phone setup", text, view)
|
||||
if strings.Contains(header, text) {
|
||||
t.Fatal("infrastructure cluttered the result page header", text, view)
|
||||
}
|
||||
}
|
||||
if strings.Contains(strings.Join(m.homeLines(), "\n"), "Phone notifications") {
|
||||
t.Fatal("notification setup still occupies home panel")
|
||||
}
|
||||
m.runOpen = true
|
||||
if !strings.Contains(strings.Split(ansi.Strip(m.View()), "\n")[0], "topic pipelines") {
|
||||
t.Fatal("ntfy setup missing from run page header")
|
||||
if strings.Contains(strings.Split(ansi.Strip(m.View()), "\n")[0], "topic pipelines") || len(m.notificationEndpoints) != 1 || m.notificationEndpoints[0].Topic != "pipelines" {
|
||||
t.Fatal("notification information lost or leaked into run header")
|
||||
}
|
||||
for _, width := range []int{1, 12, 40, 80, 120} {
|
||||
m.width = width
|
||||
|
||||
Reference in New Issue
Block a user