Skip to content

fix(files): prevent corrupt Windows Cloud Files placeholders #280

Description

@veryCrunchy

Problem

Enabling the Windows virtual file provider can create a directory placeholder that Windows reports as having corrupt and unreadable cloud file metadata. The provider then fails while traversing the sync root, so the integration cannot start reliably.

Expected behavior

Cloud Files directory placeholders use valid filesystem metadata, remain readable through Win32 and Java filesystem APIs, and survive provider startup and restart. Existing provider failures must be reported without claiming that integration is active.

Acceptance criteria

  • A Windows integration test registers a temporary sync root, creates a directory placeholder, starts the provider, and reads the directory.
  • Placeholder filesystem metadata follows the CFAPI contract for attributes, size, and timestamps.
  • Affected startup paths fail closed and do not leave a claimed-active provider.
  • Windows desktop tests and MSI packaging pass.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:files-syncFiles, offline storage, transfer, and synchronizationarea:platformAndroid, desktop, iOS, Windows, macOS, and Linux platform workin-progressImplementation is currently activeplatform:desktopDesktop-specific implementation or validationpriority:P0Required for a trustworthy mobile replacement or prevents data losstype:bug

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions