Skip to content

Bug: MAX_TASK_WORKERS Is Ignored #90

Description

@malys

Summary

MAX_TASK_WORKERS does not appear to be respected.

I configured:

MAX_TASK_WORKERS=1

but Claude Code Studio still starts and runs 2 task sessions concurrently.

Version

  • Claude Code Studio: v7.x

Current Behavior

Configuration:

MAX_TASK_WORKERS=1

Expected:

1 running task at a time

Observed:

2 tasks running simultaneously

Steps to Reproduce

  1. Configure:
MAX_TASK_WORKERS=1
  1. Restart Claude Code Studio.
  2. Queue multiple Kanban tasks.
  3. Observe task execution.

Actual Behavior

Two tasks are executed in parallel despite the configured limit.

Expected Behavior

When:

MAX_TASK_WORKERS=1

only a single worker should be active.

Additional tasks should remain queued until the running task completes.

Questions

  • Is MAX_TASK_WORKERS currently implemented?
  • Does it only apply to specific task types?
  • Are delegated agents excluded from this limit?
  • Is there another configuration overriding this value?

Suggested Improvement

Add visibility in the UI:

Task Workers

Running: 1 / 1
Queued: 4

and log the resolved value at startup:

MAX_TASK_WORKERS=1

Impact

  • Unexpected parallel execution.
  • Higher resource consumption.
  • Higher token/quota consumption.
  • Difficult to control task concurrency.

Priority

High

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions