What is the problem you're trying to solve
With the transition to parallel unpacking, Prepare() receives an empty parent string, deferring parent linkage entirely to Commit(). Custom snapshotters that rely on parent context during the initialization or mount phases lose necessary state. They currently have no way to identify the layer's place in the snapshot chain until the commit phase.
Describe the solution you'd like
Inject the parent chain ID and the current layer's diff ID into the labels map passed via the Prepare RPC request. This provides a backwards-compatible, non-breaking redundancy that allows snapshotters to access parent topology early in the unpack lifecycle.
Additional context
No response
What is the problem you're trying to solve
With the transition to parallel unpacking, Prepare() receives an empty parent string, deferring parent linkage entirely to Commit(). Custom snapshotters that rely on parent context during the initialization or mount phases lose necessary state. They currently have no way to identify the layer's place in the snapshot chain until the commit phase.
Describe the solution you'd like
Inject the parent chain ID and the current layer's diff ID into the labels map passed via the Prepare RPC request. This provides a backwards-compatible, non-breaking redundancy that allows snapshotters to access parent topology early in the unpack lifecycle.
Additional context
No response