fix: finalize TUI operation coordination
hermetic-ci / test (push) Canceled after 0s

This commit is contained in:
proxyctl coordinator
2026-07-18 02:56:33 +08:00
parent 652d7eba2b
commit e6fd3ffe73
8 changed files with 153 additions and 67 deletions
+2 -4
View File
@@ -208,8 +208,7 @@ func TestCompleteModelRedactsApplicationErrorsBeforeRendering(t *testing.T) {
model := resizedModel(t, module, themeModeNoColor, 80, 24)
updated, cmd := model.Update(keyMessage("r"))
model = updated.(Model)
updated, _ = model.Update(cmd())
model = updated.(Model)
model, _ = applyOperationCommand(t, model, cmd)
model = updateKey(model, "e")
view := model.View()
if strings.Contains(view, secret) || !strings.Contains(view, "https://bob:REDACTED@proxy.example:8080") {
@@ -228,8 +227,7 @@ func TestCompleteModelNarrowShellKeepsLastProductionTargetStatusAndActionsVisibl
updated, refresh := model.Update(keyMessage("r"))
model = updated.(Model)
updated, _ = model.Update(refresh())
model = updated.(Model)
model, _ = applyOperationCommand(t, model, refresh)
assertUsableFrame(t, model.View(), 80, 24,
"> ! Drifted Docker daemon",