Skip to content

feat: integrate upstream v0.9.1 frontend - #4

Merged
shawnkoh merged 138 commits into
mainfrom
change/thread-06gb7vyhkwpmczsph1h1f8kg-01m2t65s7rnq
Sep 18, 2026
Merged

shawnkoh merged 138 commits into
mainfrom
change/thread-06gb7vyhkwpmczsph1h1f8kg-01m2t65s7rnq

Conversation

@shawnkoh

Copy link
Copy Markdown

Scope

Merge official v0.9.1 while preserving the downstream client-only behavior: adaptive content margins, independent sidebar show/hide and launch preference, targeted plugin gestures, exact-target client launch, and server-derived shared completion state. Keep official servers and the existing wire protocol unchanged. Remove obsolete client-local completion state.

Verification

  • macOS ARM64 release build, rustfmt and all-target clippy passed (Rust 1.96.1; Zig 0.16.0).
  • Rust suite: 3473 passed, 6 skipped; one API subscription test times out. The identical test also fails against the published official v0.9.1 binary, so it is recorded as an upstream baseline limitation rather than suppressed.
  • Maintenance: 122 Python tests and 5 release-workflow tests passed; 6 UI architecture checks, 39 integration asset tests, and 7 documentation contract tests passed.
  • Real PTY clients passed against isolated official 0.9.0 and 0.9.1 servers: exact targets, concurrent navigation, shared completion acknowledgement, desktop/mobile geometry, hide/show, close-tab resize, and detach preserving pane processes.
  • Native terminal-window launch and close verified; double-click and context-menu plugin targets verified on both official server versions.
  • Independent focus and UI surface reviews found no actionable regressions.
  • Windows cross-lint was not run: Windows SDK configuration is not installed on this macOS host.

No production server upgrade or restart is part of this change. No release tags are pushed.

github-actions Bot and others added 30 commits September 7, 2026 19:26
* fix: stop polling idle ssh uploads on unix

* fix: preserve ssh output during idle bridge cancellation

* test: exercise active ssh upload cancellation
* fix: collapse worktree groups with saved machines

refs herdrdev#3778

* fix: scope worktree collapse by machine

refs herdrdev#3778

* fix: collapse machines without switching focus

refs herdrdev#3778

---------

Co-authored-by: akbash-bot <[email protected]>
Co-authored-by: Ogulcan Celik <[email protected]>
* fix: support windows hosts in saved ssh machines

refs herdrdev#3651

* fix: keep windows ssh bridge writes blocking

refs herdrdev#3651

* fix: close saved windows ssh bootstrap input

refs herdrdev#3651

* refactor: simplify remote bridge helpers

refs herdrdev#3651

* refactor: isolate remote bridge platform behavior

refs herdrdev#3651

* fix: close captured ssh input under windows consoles

refs herdrdev#3651

* test: remove redundant remote command assertions

refs herdrdev#3651

refs herdrdev#3701

* test: handle framed ssh commands in machine setup

refs herdrdev#3651

---------

Co-authored-by: Ogulcan Celik <[email protected]>
* fix: restore autofocus when creating worktrees

refs herdrdev#3766

* fix: let the client focus newly created worktrees

refs herdrdev#3766
* fix: highlight workspace navigation with saved machines

refs herdrdev#3754

* feat: navigate workspaces across connected machines

refs herdrdev#3754

* feat: navigate workspaces across machines

refs herdrdev#3754

---------

Co-authored-by: akbash-bot <[email protected]>
Co-authored-by: Ogulcan Celik <[email protected]>
* fix(windows): preserve legacy mouse reports over ssh

refs herdrdev#3735

* fix(windows): preserve input after missing mouse release

refs herdrdev#3735

---------

Co-authored-by: akbash-bot <[email protected]>
Co-authored-by: JJ Liebig <[email protected]>
* fix: preserve focused viewer geometry during activation

refs herdrdev#3744

* fix: preserve geometry through activation sync

refs herdrdev#3744

---------

Co-authored-by: akbash-bot <[email protected]>
* fix(input): accept WezTerm control key reports

refs herdrdev#3589

* fix(input): preserve WezTerm tab and escape reports

refs herdrdev#3589

---------

Co-authored-by: akbash-bot <[email protected]>
JJLiebig and others added 29 commits September 14, 2026 22:41
Root cause:
The handoff test starts an agent immediately after workspace creation,
before the new shell is necessarily ready. The reconnect test assumes a
fixed sidebar row and searches raw ANSI output for text that can arrive
as separate incremental cell updates.

Fix:
Wait for a shell builtin to write a readiness marker before sending the
single raw agent.start request. Exercise the gap with a delayed shell.
Locate the recovered workspace in the rendered sidebar and check the
reconstructed screen for selection and input, including overlay borders.
Do not extend existing timeouts or add retries that hide failures.

Validation:
All 25 affected group and helper tests pass. Ten repeated rounds of the
two runtime tests and the row helper pass, for 30 test executions without
retries. Standalone native just ci passes 3582 Rust tests with six default
skips, formatting, all-target Clippy, 106 maintenance tests, six architecture
tests and 39 integration-asset tests. Windows cross-lint was not run because
its SDK is not installed.

Co-authored-by: JJ Liebig <[email protected]>
)

refs herdrdev#4153

Root cause:
A no-focus pane move can remove the source tab without changing the
server's numeric workspace and tab coordinates. PaneMove is not classified
as a topology change, so a client viewing that tab retains its deleted ID.
Its target lookup falls back to the server default and can follow a later,
unrelated focus change instead of staying in the source workspace.

Fix:
Include PaneMove in the existing client-location reconciliation path.
Extend the existing focus-guard test with a client on the removed tab and
verify that a later server-default change cannot move its view. Preserve
the other client's view and existing error, no-op and zoom assertions.

Validation:
The minimized regression fails five times on PR herdrdev#4159's unchanged head and
passes five times with the one-line fix. All 19 pane-move tests, native
lint, maintenance, architecture and integration-asset checks pass.
Full native just ci on the publication branch, including the unchanged
prerequisites from herdrdev#4159 and herdrdev#4168, passes 3585 Rust tests with six default
skips plus lint, 106 maintenance, six architecture and 39 integration-asset
tests. All seven docs contract tests pass. Local Windows cross-lint was
not run because its SDK is unavailable.

No geometry policy, protocol or periodic rendering behavior is changed.
The v0.8.2 Windows archive shipped an herdr.exe that imported
VCRUNTIME140.dll and the api-ms-win-crt-* Universal CRT, none of which the
archive provides. Static CRT linkage was restored for x86_64-pc-windows-msvc
in .cargo/config.toml, but nothing verified the packaged executable, so the
dependency could silently regress.

Parse the PE import and delay-import tables and reject herdr.exe when it
depends on the dynamic Microsoft C/C++ runtime, including release and debug
variants. Check the input while staging and re-check the staged executable
before archiving so a direct archive cannot bypass the guard.

refs herdrdev#3129
* fix: require exact session names before deletion

refs herdrdev#3819

* test: isolate session deletion regression tests

refs herdrdev#3819

---------

Co-authored-by: JJ Liebig <[email protected]>
…4224)

Root cause:
The API socket is bound before App evaluates session restore. Waiting only
for that socket lets the late-session test inject its file during startup,
so the server may load it normally instead of exercising late-file recovery.
The missing backup then fails an otherwise correct persistence assertion.

Fix:
Wait for a read-only workspace-list request to pass through App and assert
that the workspace list is still empty before injecting the session file.
Keep the existing autosave deadline and byte-for-byte backup assertion.
Add no sleeps, retries, longer timeouts or production changes.

Validation:
The original assertion fails with unchanged master. With the barrier, five
independent runs pass. Full native just ci passes 3624 Rust tests with six
default skips, formatting, all-target Clippy, 112 maintenance tests, six
architecture tests and 39 integration-asset tests. All seven docs contract
tests pass. Local Windows cross-lint was not run because its SDK is absent.

Co-authored-by: JJ Liebig <[email protected]>
@shawnkoh
shawnkoh merged commit 0e21694 into main Sep 18, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.