Skip to content

FlyMachinesRuntime: ephemeral Fly Machine per run using propr/agent #3767

Done

Description

@integry

Fly Machines boot from OCI images, so the existing propr/agent image runs unchanged, with the same entrypoints. Useful when exact image parity or larger memory is needed.

Acceptance:

  • Runtime creates a Machine per run via the Machines API (api.machines.dev/v1) with configured size/region, auto-destroy on exit, restart policy no.
  • Uses clone workspace transport and credential broker; streams logs (exec/log API) and supports stop/cancel and liveness.
  • Agent-to-ProPR MCP over the org private network (.internal) when the control plane runs on Fly; capability declared accordingly.
  • Image pull cold-start measured; optional pre-warm.
  • Config: Fly token (scoped deploy token), app name, size, region.

Implementation

Add packages/core/src/agents/runtime/flyMachinesRuntime.ts using fetch against the Machines API. Reuse spec rendering for env/entrypoint/resources.

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: 3767/claude-opus-5-5-flymachinesruntime-epheme-20261124-1023-ez4
    • Base Branch: 3758-epic-runtime-abstraction-sc0
    • Worktree: issue-3767-20261124-1023-claude-opus-5-5-ez4

    🔍 Track Task Execution

  2. integry commented on Nov 25, 2026

    @integry
    OwnerAuthor

    Done via #3801 (FlyMachinesRuntime restart), merged into the epic after live Fly verification.

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