Skip to content

Inline VS Code loses Settings Sync/auth state on Programa restart (ephemeral port + temp token) #21

Description

@arzafran

Tracking upstream cmux manaflow-ai#6595 — applicable to our fork but needs a product/scope decision.

Assessment: Confirmed: launchServeWebProcess at Sources/AppDelegate.swift:973 uses --port 0 and Sources/AppDelegate.swift:1084-1088 creates a UUID-named temp file in NSTemporaryDirectory on every launch. No VSCODE_CLI_USE_FILE_KEYRING, no stable --server-data-dir. VS Code Web gets a fresh server identity on every restart. Fix is small (stable port in UserDefaults, persistent token file in Application Support, VSCODE_CLI_USE_FILE_KEYRING env var) but needs a product decision on committing to a stable VS Code serve-web data directory in Application Support.

Upstream: manaflow-ai#6595

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions