From 37770e741de8b412fd26e014e6aa3a67f62279aa Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Tue, 27 Jan 2026 01:39:19 -0600 Subject: [PATCH] Include host directory name in workspace GuestPath --- internal/workspace/registry.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/workspace/registry.go b/internal/workspace/registry.go index 91b7a55..42a31e7 100644 --- a/internal/workspace/registry.go +++ b/internal/workspace/registry.go @@ -102,11 +102,12 @@ func (r *Registry) Register(hostPath string) mo.Result[*Workspace] { } hash := Hash(absPath) + dirName := filepath.Base(absPath) ws := Workspace{ HostPath: absPath, Hash: hash, MountTag: fmt.Sprintf("ws_%s", hash), - GuestPath: fmt.Sprintf("/workspace/%s", hash), + GuestPath: fmt.Sprintf("/workspace/%s-%s", hash, dirName), } r.workspaces[absPath] = ws