Skip to content

v0.13.7 — SSH remote workspaces

Choose a tag to compare

@github-actions github-actions released this 13 Nov 14:04
d2c4323

0.13.7 — Remote Git recovery without stale blocking

Changes / 更新

  • PR #51 reduces repeated failed Git status probes. Thanks to @weijie-5 for the initial implementation; maintainer review narrowed the scope and added recovery/lifecycle regressions.
  • Identical workspace, argv and environment share a small negative cache; other projects and queries remain independent. Keys are SHA-256 fingerprints held only in memory (64 entries maximum), not retained command contents or credentials.
  • An actual helper reconnect clears the cache immediately. Without that notification, a monotonic 2-second cooldown admits one recovery query; a successful query reopens normal traffic. This feature does not create automatic retries or new connections.
  • Old outcomes cannot override newer results or a reconnected/reloaded instance. Cancelled handles, expected Git exits, local commands, writes and piped-input queries are not counted as infrastructure failures.
  • Read-only classification excludes symbolic-ref writes, output-file flags, ambiguous wrappers and custom config. Existing DSH ownership of subprocess streams, cancellation and teardown is unchanged.
  • 中文:减少重复 Git 报错,同时避免恢复后仍被拦住、一个项目影响另一个项目,或取消操作被算成连接故障。不是新的主机离线判定,也不会自动重连或重试。

Install / 安装

Paste into the official Desktop/Web plugin page:

https://github.com/CrazyShout/dsh-ssh-remote/releases/download/v0.13.7/dsh-ssh-remote-0.13.7.tgz
dsh plugin --profile web add 'https://github.com/CrazyShout/dsh-ssh-remote/releases/download/v0.13.7/dsh-ssh-remote-0.13.7.tgz'

Save work before reloading. Runtime dependencies still download at installation; Desktop and Web use separate profiles.

Compatibility / 兼容

  • DSH: 0.2.0-rc.2, 0.2.1-rc.2, 0.2.1-rc.3, 0.2.2-rc.1, 0.2.2-rc.2, 0.2.2-rc.3. No DSH upgrade, new Host RPC or runtime dependency.
  • Helper remains 0.13.5, SHA-256 95749359a6a0b6523fd34ac951eb78baf97757da4f5b8b0ab3aea7095ab14708.
  • A failed query still reports its original error. Suppression is not proof that SSH is down, and it does not repair dependencies. An admitted recovery query follows DSH's original timeout/cancellation; its running time is not included in the 2-second cooldown.
  • Real SSH tests inject failure only in a disposable command; they do not interrupt user connections or simulate a network outage. Windows CI is not a maintainer Windows Desktop GUI acceptance claim.

Rollback / 回退

Install the pinned v0.13.6 archive through the official plugin page and reload after saving work. It retains the Windows Git routing fix but has no query cooldown.

Verified release / 发布验收

  • PR CI: 39/39 passed. Merged-main CI: 39/39 passed. Release workflow: 40/40 passed, including verification and packaging.
  • Local baseline: 661 passed / 13 platform or opt-in skips. Published DSH 0.2.2-rc.3 SDK: 670 passed / 10 skips, with Host/Client type checks.
  • Regressions cover stale success/failure order, observed cancellation, workspace/query/environment isolation, helper reconnect versus heartbeat, matching authority, eviction/disposal, and single recovery admission.
  • Real hk-wsl checks used the published DSH subprocess provider and a disposable Git wrapper returning 127. Repeated failures did not spawn another SSH process; a different project remained usable; recovery worked after an actual helper reconnect and after the 2-second interval. Immediate reset is established by deterministic notification tests; the actual helper reconnect took 2123 ms. No real network outage or user-connection interruption was induced.
  • Installed the actual draft archive through the official Web/Desktop installers in isolated macOS profiles. Verified installed/running 0.13.7, remote native file preview, fresh Bash pwd/exit 0, and unaffected local file reads; no model requests.
  • Actual-archive upgrade from 0.13.6, rollback, disable and uninstall passed, with workspace test data preserved. All 311 extracted package files match the accepted local candidate.
  • Archive SHA-256: dc39fdd3a6beb55d390e809bc9b5909405704272bc33085b83fb5eefd5fe27f7.
  • 中文:已通过 CI、真实 SSH、实际安装包及 Web/Desktop 验收。日常 DSH 安装与配置未修改;Windows 路由有 CI 覆盖,不声称维护者亲自完成了 Windows 桌面 GUI 验收。