Skip to content

propr deploy fly: fit the Fly Free plan (legacy Docker on a persistent rootfs, 5 GB volume preflight) #3785

Done

Description

@integry

Problem

propr deploy fly has no path that works on the Fly.io Free plan today:

Live evidence: #3775 (comment)

Change

  1. Legacy mode: Docker images on a persistent root filesystem, not the volume.
    • Create the Machine with rootfs.size_gb (for example 20) and rootfs.persist: true.
    • The dockerd boot creates an ext4 loop image at /var/lib/docker, so the storage driver is overlay2 rather than vfs on overlayfs. It also clears stale /var/run/docker*.pid and /run/containerd PID files on boot.
    • The volume stays at the default 1 GB and holds only SQLite and Redis.
    • Rootfs size is not under the volume cap: a 20 GB persistent rootfs with dockerd on overlay2 ran on the Free plan in an experiment (a 1 GB shared-cpu-1x Machine is enough; 512 MB is not).
    • Billing: a stopped persistent rootfs costs $0.15/GB-month. Show it in the plan output.
  2. Preflight the volume cap. If the org is on the Free plan, which the Fly API can report, and --volume-size is over 5, fail before creating anything. The message should say the Free plan caps volumes at 5 GB and suggest the default.
  3. Docs: deploy-fly.md gets a short "Fly Free plan" section listing what fits: 1 GB Machine, 1 GB volume, Sprites agents, opt-in idle shutdown.

Acceptance

  • Unit tests for the plan (rootfs fields in the Machine config for legacy mode, volume default 1 GB) and for the Free-plan preflight.
  • --dry-run shows the rootfs size and the cost line.

Activity

  1. propr-dev commented on Nov 24, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3785/claude-opus-5-5-propr-deploy-fly-fit-the--20261124-1107-3vo
    • Base Branch: 3758-epic-runtime-abstraction-sc0
    • Worktree: issue-3785-20261124-1107-claude-opus-5-5-3vo

    🔍 Track Task Execution

  2. integry commented on Dec 1, 2026

    @integry
    OwnerAuthor

    Done in #3787, which merged into the runtime epic; the epic merged into main with #3774 and ships in 0.9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions