Skip to content

[BUG]: workers are rebuilt from scratch for every task #227

Description

@gjanco

claimed: 40ms/worker (orchestrator.rs:446-744)

Activity

  1. Shearerbeard commented on Jul 17, 2026

    @Shearerbeard
    Collaborator

    Vetted 2026-07-17. No worker cache exists and create_worker runs per retry attempt, so the mechanism is real, but the rebuild costs nowhere near 40ms: measured 0-2ms on openai (n=9), 0-4ms on anthropic (n=6), and 1ms on bedrock (n=6, including the inline aws_config load). MCP connections were already shared before this ticket was filed. Closing as immaterial.

  2. changed the title [-]Worker rebuild per task[/-] [+][BUG]: workers are rebuilt from scratch for every task[/+] on Jul 17, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions