Skip to content

fix(runtime): identify workspaces by UUID marker instead of fs dev/ino/path #1337

Closed

Description

@Astro-Han

Workspace identity currently anchors to fs:{dev}:{ino}:{resolvedPath} (packages/runtime/src/continuation-safety.ts), and resume parks on mismatch. In a fresh sandbox dev/ino always change, so cross-sandbox crash-retry would park every time. Desktop /move carries the pendingCwdReminder workaround for the same root cause.

Scope

  1. Replace the anchor with a UUID marker file; path demoted to diagnostics.
  2. The marker must survive tar/untar intact.
  3. The storage-root marker gets the same adopt-on-import treatment.
  4. Remove the desktop pendingCwdReminder workaround.
  5. Tests: marker adoption on import, resume after path change, legacy anchor migration.

Activity

  1. changed the title [-]Intrinsic workspace identity via UUID marker[/-] [+]fix(runtime): identify workspaces by UUID marker instead of fs dev/ino/path[/+] on Jul 22, 2026
  2. YayoiNanoka commented on Jul 22, 2026

    @YayoiNanoka
    Contributor

    I’d like to take this issue.
    My understanding of the scope is:

    • introduce a versioned intrinsic workspace UUID marker;
    • replace the current fs:{dev}:{ino}:{path} continuation identity with that UUID;
    • define safe marker creation, import adoption, and conflict behavior;
    • support migration from legacy filesystem identities;
    • remove the pendingCwdReminder workaround;
    • add tests for path moves, bundle-style restore, marker conflicts, and legacy migration.

    I’ll keep Session Bundle import/export and the broader cloud runtime work outside this issue. If this matches the intended scope, please assign it to me. I’ll wait for confirmation before opening a branch or PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions