Skip to content

codeSplitter: rebuilds can still wait for an AgentSandbox container behind feature runs #1242

Closed

Description

@QuinnsCode

Follow-up to #1234 / #1241.

#1241 puts fix tasks on a FIXES queue of their own, so they no longer queue behind feature runs. But AGENT_SANDBOX is maxInstances: 2 (apps/codesplitter/rustybuns.config.ts). If two feature runs hold both containers, a rebuild that has been picked up still waits for one.

Possible fix: keep one container for agent_runs rows opened by heal.ts. For example, execute could count the running hosted feature runs and hold a feature run back while it would take the last container. Or raise maxInstances by one and cap feature runs at the old number.

Activity

  1. self-assigned this
    on Oct 13, 2026
  2. QuinnsCode commented on Oct 13, 2026

    @QuinnsCode
    OwnerAuthor

    Parked for later (owner's call, 2026-10-13). #1252 did this by raising AgentSandbox max_instances from 2 to 3, which moves the 24/7 worst case from ~$41 to ~$62 a month. Today the fix and rebuild work runs on the owner's Mac (desktop codeSplitter and Agent Office workers), so a hosted fix lane only matters when codeSplitter fixes things while the Mac is off.
    Options when this comes back:

    1. Keep 2 containers and reserve 1 for fix tasks (no cost change).
    2. Take codeSplitter: keep an AgentSandbox container for fix tasks; feature runs take two (#1242) #1252 as written (3 containers). Its branch office/widget-e595 is kept.
    3. Turn hosted fix tasks off and leave them to the desktop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions