Repository navigation
Description
Problem
propr deploy fly (#3768 / #3785) still has two "this release" guards from before the runtimes and idle shutdown existed:
packages/cli/src/commands/deployFly.ts:180: refuses--agent-runtime sprites(the default) andfly-machines, because "its worker only runs Docker agents". The Sprites runtime (SpritesRuntime: run agents on Fly Sprites #3764) and Fly Machines runtime (FlyMachinesRuntime: ephemeral Fly Machine per run using propr/agent #3767) have since landed in the epic, and the worker runs agents on Sprites. That was verified live in the Fly smoke workflow (run https://github.com/integry/propr/actions/runs/45706507010).deployFly.ts:201: refuses--idle-shutdownbecause "the app image has no idle detector (Opt-in idle shutdown and wake for the control plane #3770)". Opt-in idle shutdown (Opt-in idle shutdown and wake for the control plane #3770) and wake redelivery (Idle shutdown: redeliver the GitHub webhook that woke the instance (direct-webhook mode) #3811) have landed and are verified live as well.
As a result, the headline command can't deploy the configuration the tutorial documents. The tutorial (#3769 / #3804) works around it by rendering the Machine config with the configuration builder directly.
Required
-
Remove both guards and their help text: the
--agent-runtimeoption description (line ~438) and the long help (~466).spritesbecomes the working default,fly-machinesworks too, anddockerstill requires--legacy-docker.--idle-shutdownstays opt-in, never default. -
Make the CLI path produce what the tutorial does today:
- the GitHub App key mounted outside
/runand outside the data volume (/etc/propr/github-app.pem); - headless Claude settings, if offered, written onto the volume after deploy rather than as a Machine
filesentry (see F7/F9 in [3769 by GPT-6.2 Astra] Docs and end-to-end smoke test: ProPR on Fly under $5/month #3804); - a Machine stop token scoped to the app when idle shutdown is on;
PROPR_ADMIN_USERSrequired;- a clear note when no agent is configured yet.
Reuse
validateContainerFilePaths. - the GitHub App key mounted outside
-
Switch the Fly smoke workflow (
.github/workflows/fly-e2e.yml) topropr deploy fly(non-interactive flags) instead of the hand-rendered config, so CI exercises the CLI users will actually run. Keep the configuration-builder route documented only if it still serves a purpose. -
Docs: update
docs/docs/operations/deploy-fly.mdanddocs/docs/tutorials/setup-fly.md. Remove the "configuration builder required on this branch" warning, and makepropr deploy flythe primary path.
Acceptance
- Unit tests for flag validation: remote runtimes accepted,
dockerwithout--legacy-dockerrejected, idle shutdown opt-in. - Live: a green Fly smoke run driven by
propr deploy fly --agent-runtime sprites --idle-shutdown …: deploy, idle stop, wake with recovery, a Claude run on Sprites, the PR, and teardown with no leftovers. Link the run.
Part of the runtime epic (#3758). Do this before #3807, #3808 and #3813.
Activity
propr-dev commentedon Nov 25, 2026
🤖 AI processing has started for this issue using codex agent with gpt-6.2-astra model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-6.2-astra3814/gpt-6.2-astra-propr-deploy-fly-lift-the-20261125-2259-6xf3758-epic-runtime-abstraction-sc0issue-3814-20261125-2259-gpt-6.2-astra-6xf🔍 Track Task Execution
integry commentedon Dec 1, 2026
Done in #3815, which merged into the runtime epic; the epic merged into
mainwith #3774 and ships in 0.9.4.