Skip to content

fix: refresh routed workspace explorer trees - #538

Open
overact wants to merge 1 commit into
omdsh-dev:mainfrom
overact:fix/ssh-remote-filesystem
Open

fix: refresh routed workspace explorer trees#538
overact wants to merge 1 commit into
omdsh-dev:mainfrom
overact:fix/ssh-remote-filesystem

Conversation

@overact

@overact overact commented Sep 3, 2026

Copy link
Copy Markdown

Summary

  • route Better Sidebar Explorer directory listings through the DSH filesystem service
  • preserve the session anchor path in client rows while containment uses provider-owned target identities
  • add SSH-anchor, local-security, symlink, and plugin-shape regression coverage

Diagnosis

SSH Remote workspaces use empty local anchor directories whose descendants are projected by the routed ctx.fs service. Better Sidebar cleared its client cache correctly on refresh, but its host fs.tree route re-read the empty anchor with Node opendir, so every refresh returned an empty tree.

Verification

  • pnpm exec vitest run tests/fs-tree-routed.spec.ts tests/fs-tree.spec.ts tests/fs-tree-symlink.spec.ts tests/plugin-shape.spec.ts
  • focused tests/smoke.spec.ts SSH/tree/fence cases
  • pnpm typecheck
  • pnpm build

Scope

This fixes Explorer listing/refresh for routed workspaces. Other Better Sidebar surfaces that still use direct Node filesystem/process APIs (read/write/search/upload/Git/terminal) need separate routing work.

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.

1 participant