Repository navigation
feat(tui,remote-interop): a composer and queue foundation; transfers counted on the wire - #1358
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
The TUI workbench gets a real composer: typed input with editing and clipboard
handling, a scroll model, and a run loop that can hold queued work — the
foundation the workbench needs before it can drive sessions the way the desktop
already does. It also documents the new behaviour in
docs/guide/tui.md.On the remote side, transfers can now be measured by counting the actual NATS
messages a loopback transfer publishes, so a change's effect on the wire is
observable instead of inferred from wall time.
Commits
feat(tui): build a reliable composer and queue foundation— composer inputediting and clipboard, workbench editor/scroll/run state, bilingual strings
for the new surface, and the
docs/guide/tui.mdupdate.test(remote): count NATS transfer messages— a loopback benchmark thatproxies the broker and counts
PUB/request frames and bytes during atransfer, so overlap can be asserted rather than estimated.
The branch also carries one merge commit with no content of its own (it folded
the local
perf/remote-protocoltask branch into the dev branch).Verification
Run at
6c5a13f28with the repo-pinned toolchain (rustc/clippy 1.97.0):cargo fmt --all -- --check→ cleancargo clippy -p future-tui --all-targets -- -D warnings→ cleancargo clippy -p future-remote-interop --all-targets -- -D warnings→ cleancargo test -p future-tui --lib→ 1064 passed, 0 failedcargo test -p future-remote-interop→ ok (the newtransfer_benchmarkis#[ignore]d: a benchmark with real sockets and deliberate latency)Notes