Each remote Task call creates an Invocation with its own lifecycle. Ordinary process memory and files outside declared durable storage belong to that execution; do not assume they will be present in a later Invocation.

  • **Ephemeral Disk** files exist only for one Invocation and are destroyed when it ends.
  • **Object Storage Mount** files belong to the external S3-compatible bucket or prefix. Yak mounts that external data for an Invocation but does not make it a Yak Volume.
  • **Volume** files are Yak-managed durable state and can be shared with later Invocations through SDK file operations or Task mounts.
  • **Live App** state has a persistent App and Version lifecycle with server-owned Endpoints. yak deploy returns the published endpoint URLs and version state.

Use the product that owns the required lifetime instead of relying on local process state. See Choose Storage for the quick comparison and Live Apps for persistent HTTP behavior.