Skip to content

bug(platform): the board card of a task whose run waits for room looks idle #5147

Closed

Description

@tale-code-bot

Split from #3977 ("Waiting is visible"), re-checked against main at b2560c2 (TALE-47). Line
references are against that commit.

What happens

Since #4603, a project agent's run that finds no room waits, parked with its reason (org_limit,
host, destroy_pending, exec_limit, model_capacity). Its Run row, its timeline row and the
chat tray say why. The board does not:

  • The kanban card's live line reads "needs an answer", "in review" or " is working", else
    nothing (services/platform/app/features/tasks/components/task-card.tsx:150). "Working" comes
    from isAgentWorking (task-board-context.tsx:91, :131). That reads runningTaskIds, which
    the server builds from app.project_agent_runs rows with status = 'running' only
    (services/platform/backend/domains/tasks/service.ts:5271, :5339).
  • The ops indicators already return every live run with waiting and waitingReason
    (readLiveAgentRuns, service.ts:5184; TaskOpsRunIndicator,
    services/platform/app/lib/backend/contract/tasks.ts:85). No app code reads runs or
    runsTruncated: tasks-workspace.tsx:161 passes the board only runningTaskIds,
    askingTaskIds and pendingReviews.
  • The list view's row shows no run state at all (tasks-list.tsx:351 reads only isBlocked).
  • Automation runs show the opposite error. The per-project read adds automation runs that are
    queued, running or waiting to runningTaskIds (service.ts:5292, :5299), so their
    cards read as working while the run only waits.

So when every agent worker is busy, someone who starts a third task sees a card that looks idle,
and may start it again.

Expected

  • The card's live line says the run waits and why. It reads TaskOpsIndicators.runs and uses the
    Run row's own words (tasks.agentRun.waiting.*: Waiting for a worker, Waiting for room,
    …). A queued run that is not parked does not read as working.
  • The list row says the same.
  • The line is part of the card's accessible description (stateDescription, task-card.tsx:176,
    :259), like the other live states.
  • A task missing from a truncated runs list (runsTruncated) reads as unknown, never as idle.
  • An automation run that is queued or waiting no longer reads as working.
  • Strings in EN, DE and FR (and de-CH where a string needs it). A case in
    task-card.accessibility.test.tsx, and a waiting variant of the manual box TASK-F75.

Related

Activity

  1. added
    agent-ready
    on Oct 30, 2026
  2. added a commit that references this issue on Oct 31, 2026
    f597ffa
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

    agent-readybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions