-
Notifications
You must be signed in to change notification settings - Fork 918
Open
Labels
1. to developfeature: π file providermacOS File Provider Extension, more general also known as virtual file system.macOS File Provider Extension, more general also known as virtual file system.os: π macOSApple macOS, formerly also known as OS XApple macOS, formerly also known as OS X
Description
Problem
The highly concurrent working environment of file provider extensions sometimes makes it hard to reason about their serialized logs which contain messages of occasionally concurrent processes ordered by time instead of context.
Goal
Significantly improve insights on the client-side events by being abled to distinguish log messages based on the individual system calls and enumerations.
Solution
- Every incoming call to the
NSFileProviderReplicatedExtension(including its extensions likeNSFileProviderThumbnailing) creates aUUIDwhich is considered to be the unique identifier for that call. It is passed down the call stack so all objects down the call stack can contextualize their log messages. - Every enumeration in an
NSFileProviderEnumeratorimplementation creates a UUID to identify it and its related messages later in the logs. TheUUIDis passed down the call stack so all objects down the call stack can contextualize their log messages.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
1. to developfeature: π file providermacOS File Provider Extension, more general also known as virtual file system.macOS File Provider Extension, more general also known as virtual file system.os: π macOSApple macOS, formerly also known as OS XApple macOS, formerly also known as OS X
Type
Projects
Status
π§ Planning evaluation (don't pick)