fix(terminal): preserve startup query reply order

Answer cooked-mode terminal queries in the originating turn when the native PTY can prove echo is quiet, and hold later query-only replies behind deferred replies on upstream SSH relays. Keep renderer replies atomic and bound both renderer and host-side queues with local, daemon, relay, native, and Docker SSH fish regression coverage.

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
This commit is contained in:
Brennan Benson
2026-08-14 14:26:02 -07:00
co-authored by Neil
parent 9bb8836bb6
commit fc7f372ccb
35 changed files with 1679 additions and 150 deletions
+5
View File
@@ -182,6 +182,7 @@ jobs:
# and its fish lane is the only end-to-end guard for #9993, so a skip would
# report green with nothing exercised. Turns those skips into failures.
ORCA_REQUIRE_FISH: '1'
ORCA_REQUIRE_NODE_PTY_ECHO_STATE: '1'
steps:
- name: Checkout
@@ -247,6 +248,8 @@ jobs:
src/main/providers/__tests__/shell-ready-framework-example.test.ts \
src/main/pty/omp-shell-wrapper.node-pty.test.ts \
src/renderer/src/components/terminal-pane/fish-color-scheme-child-stdin.node-pty.test.ts \
src/shared/fish-query-reply-child-stdin.node-pty.test.ts \
src/shared/pty-cooked-querier-reply-delivery.node-pty.test.ts \
src/shared/posix-command-path-lookup.test.ts
test:
@@ -283,6 +286,8 @@ jobs:
--exclude=src/main/providers/__tests__/shell-ready-framework-example.test.ts \
--exclude=src/main/pty/omp-shell-wrapper.node-pty.test.ts \
--exclude=src/renderer/src/components/terminal-pane/fish-color-scheme-child-stdin.node-pty.test.ts \
--exclude=src/shared/fish-query-reply-child-stdin.node-pty.test.ts \
--exclude=src/shared/pty-cooked-querier-reply-delivery.node-pty.test.ts \
--exclude=src/shared/posix-command-path-lookup.test.ts \
--exclude=tests/e2e/cross-version-wire/** \
--shard=${{ matrix.shard }}/${{ matrix.shard_total }}