Skip to content

Sprites runtime: default pool of 2 parallel Sprites, and logins/health checks never blocked by running tasks #3925

Done

Description

@integry

Problem

The Fly setup wizard saves PROPR_SPRITES_MAX=1 and WORKER_CONCURRENCY=1 for the Sprites runtime ("Setup starts with one Sprite", src/flyLaunch/setupRuntimePage.ts, runtimeValidation.ts). In the 0.9.4 release-candidate test this meant:

  • While one task ran on its Sprite, adding the next agent's login failed with "all Sprite slots are in use". Agent logins (startSpriteLogin) and explicit health checks take a slot from the same pool, so a new user who labels an issue and then sets up a second agent is blocked until the task finishes.
  • Two issues cannot run in parallel, although the Sprites Free Plan allows 3 Sprites per org and parallel agents are the main point of the product.

Do

  1. Default pool of 2, concurrency 2. The wizard saves PROPR_SPRITES_MAX=2 and WORKER_CONCURRENCY=2 for Sprites (keep 1 only for the validation run itself). This leaves one Free Plan slot spare. Update the runtime step copy ("Setup starts with two Sprites; the Free Plan allows 3") and the token-cap advice, keeping one idea per line.
  2. Logins and explicit checks never wait behind tasks. Give remote logins and explicit agent health checks their own allowance: they may use one Sprite above PROPR_SPRITES_MAX (a login Sprite is always deleted afterwards), or the pool keeps one slot that only logins/checks can take. Pick one, document it, and make sure the total stays within the token's cap; if even that slot is busy, the existing queue-and-wait message applies.
  3. Make the pool size changeable in the dashboard (Settings → Agent runtime): show the current pool size and concurrency, with a short note about the Free Plan's 3-Sprite limit, so the user doesn't need to edit config files.
  4. propr deploy fly uses the same defaults.

Tests: wizard saves 2/2; a login succeeds while a task holds every task slot; concurrency 2 runs two tasks on two Sprites; validation still uses 1.

Activity

  1. propr-dev commented on Nov 30, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-6.2-sol model.

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

    Processing Details:

    • Agent: codex
    • Model: gpt-6.2-sol
    • Branch: 3925/gpt-6.2-sol-sprites-runtime-default-p-20261130-1447-0ph
    • Base Branch: 3758-epic-runtime-abstraction-sc0
    • Worktree: issue-3925-20261130-1447-gpt-6.2-sol-0ph

    🔍 Track Task Execution

  2. integry commented on Dec 1, 2026

    @integry
    OwnerAuthor

    Done in #3927, 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

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions