Skip to content

The agent that grows with you

test: retain native reconnect output for intermittent Ink failure

Tekniumf454485d7cc2
diff --git a/ui-tui/scripts/native_canonical_probe.py b/ui-tui/scripts/native_canonical_probe.py
index af492495f9a..ba15b05e396 100644
--- a/ui-tui/scripts/native_canonical_probe.py
+++ b/ui-tui/scripts/native_canonical_probe.py
@@ -195,6 +195,7 @@ def run():
deadline = time.monotonic() + 20
while time.monotonic() < deadline and expected not in third[2]:
time.sleep(.1)
+ (Path(sys.argv[1]) / 'reconnected.pty').write_bytes(third[2])
receipts['reconnect_rendered_reply'] = expected in third[2]
receipts['daemon_survived_detach'] = daemon.poll() is None
if kind == 'approval':