﻿# Pin object version identities in a model manifest

Pin bucket, key and version for every accepted artifact, then verify version-read permissions, retention and local integrity independently.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-storage-object-version-id/
Language: en

A model manifest names stable S3 keys, yet two workers load different checkpoint bytes after an overwrite. A key without an explicit version selects current state, not necessarily the release originally accepted. For a versioned Amazon S3 workflow, pin the complete bucket, key and version identity for every required object, then preserve availability and integrity separately.

## Distinguish current and selected

The version-retrieval documentation distinguishes a simple current-object read from an explicitly requested version. Record the selected identifier in the release manifest instead of obtaining it only after an unqualified download. A friendly model alias or stable key can continue changing. The manifest must identify the intended object before several workers begin preparing the same claimed release.

## Preserve the complete object identity

A version identifier belongs with its bucket and key context. Do not use it as a global filename or compare identifiers from unrelated keys as if they expressed release ordering. Keep the complete tuple in cache metadata and diagnostics. Also retain a trusted digest and expected size: a storage version identifies an object choice, while the integrity contract validates the bytes the worker actually receives.

## Inspect delete-marker behavior

A current delete marker can make an unqualified key lookup behave as deleted while an earlier explicitly selected version still has separate retrieval semantics. Preserve the actual API error and version choice rather than substituting another current object automatically. A failed lookup does not authorize silently selecting the next convenient version or treating an explicit delete-marker identity as ordinary checkpoint content.

## Qualify permissions and retention

GetObject documents distinct permission requirements for explicit version retrieval. Access to current data does not establish permission to read an older selected version. Versioning also does not guarantee indefinite retention against lifecycle or authorized deletion. Preserve the bucket's supported versioning context and the release's availability policy, especially when a manifest is expected to support rollback long after current keys have changed.

## Verify one complete release

Retrieve each accepted tuple and validate the whole package before local publication. Test overwrite, delete-marker and unavailable-version outcomes in an isolated client harness. A useful result keeps all workers tied to one accepted artifact set. It does not create a transaction across independent object uploads, establish source trust or guarantee reproducible inference output merely because the same storage versions were selected.

## Primary references

[Amazon S3 Explicit Object Version Retrieval](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RetrievingObjectVersions.html).

[Amazon S3 Version Retention and Bucket State](https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html).

[Amazon S3 GetObject State and Version Semantics](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html).

Related reading: [Keep tokenizer vocabulary, special tokens and chat templates in one release](/journal/tokenizer-artifact-release-manifest/); [Init container downloads an artifact again: making preparation idempotent](/journal/kubernetes-init-artifact-download/).
