Repository navigation
Closed
Labels
Description
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
fromisAgentWorking(task-board-context.tsx:91,:131). That readsrunningTaskIds, which
the server builds fromapp.project_agent_runsrows withstatus = 'running'only
(services/platform/backend/domains/tasks/service.ts:5271,:5339). - The ops indicators already return every live run with
waitingandwaitingReason
(readLiveAgentRuns,service.ts:5184;TaskOpsRunIndicator,
services/platform/app/lib/backend/contract/tasks.ts:85). No app code readsrunsor
runsTruncated:tasks-workspace.tsx:161passes the board onlyrunningTaskIds,
askingTaskIdsandpendingReviews. - The list view's row shows no run state at all (
tasks-list.tsx:351reads onlyisBlocked). - Automation runs show the opposite error. The per-project read adds automation runs that are
queued,runningorwaitingtorunningTaskIds(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.runsand 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
runslist (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-CHwhere a string needs it). A case in
task-card.accessibility.test.tsx, and a waiting variant of the manual boxTASK-F75.
Related
- Improvement: show active agent work separately from board status counts #4114 asks for a board-level summary of agent activity (running, queued, waiting). It needs the
samerunsdata; this issue covers the state on each card. One lookup inTaskBoardProvider
should serve both, rather than two readings of run state.
Activity
fix(platform): say on the board card and list row why a run waits