Skip to content

Upload a folder or a build once for many leases, and put files into an app's container #1636

Open

Description

@V3RON

Request: #945

Problem

A lease's files (#1351) belong to one lease, so a run that installs the same build on many leases uploads it once per lease. budgie's e2e suite (budgie-at/budgie#1867, from the comment on #945) uploads the same .app through the gateway for each of 10 leases. Requests past 100 s end in a Cloudflare 524, so it uploads at most 3 at a time, and about 4 of the run's 15 minutes are setup.

There is also no way to put files into an app's data container. budgie built a helper simulator app (E2EDrop) and sends fixtures as base64 raw-deflate on exec stdin, unpacked with simctl spawn <helper> untar <dir>.

A lease file is one flat file, and nothing unpacks an archive (ADR 0067: "Unpacking an uploaded archive into folders (an iOS .app) … not in this decision"). A simulator .app is a folder, so a remote caller cannot install an iOS app it built from the lease folder at all. #1635 (remote CLI) ships single-file uploads and leaves this here, decided in its spec session of 2026-11-17.

Who it is for

A CI run that installs one build on many leased devices, and puts test fixtures into the app on each.

Open questions

  • How a folder (an iOS .app) reaches the lease folder: simlock files put ./MyApp.app packs it and the worker unpacks it, or an archive upload is unpacked on request.
  • Where a shared upload lives (per token, per run, per gateway or worker), how long it is kept, and who may install from it.
  • How a file reaches an app's data container, on iOS and on Android.

Written by an agent.

Activity

  1. added
    feature:spec
    on Nov 17, 2026
  2. changed the title [-]Upload a build once and install it on many leases, and put files into an app's container[/-] [+]Upload a folder or a build once for many leases, and put files into an app's container[/+] on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:spec

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions