You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Framework storage payloads are sealed. What the framework itself writes to FunctionStorage (the buffered-table init payload, which carried resolved CREATE SECRET values and attach/transaction context; aggregate constant arguments; the streaming-aggregate session) is now encrypted and authenticated with AES-256-GCM under HKDF-SHA256(signing key, info="vgi.storage.payload.v1"), bound to its shard, execution, namespace and key. Workers without a signing key (subprocess/unix) use the per-user host-local key file. A payload that fails to authenticate raises StoragePayloadError; there is no plaintext fallback. The format ("sealed framework payload v1") is shared by every VGI SDK.
The buffered-table init payload is no longer pickled; nothing unauthenticated read from storage reaches pickle.loads.
Data your own function writes to storage is unchanged and unsealed (documented in docs/shared-storage.md).
Performance
The immutable buffered-table init payload is cached per execution: a distributed buffered function makes half the storage round trips (305 → 155 for a 300k-row aggregate), which matters on remote backends such as cloudflare-do.
Diagnostics
VGI_STORAGE_PROFILE=1 now attributes every storage call to its call site, execution, RPC and in-flight concurrency on every backend; VGI_STORAGE_PROFILE_FILE writes a JSONL dump and python -m vgi._storage_profile_report rebuilds the report.