Skip to content

fix(board): show a run waiting for a session slot as Queued on its card - #591

Merged
artempartos merged 1 commit into
developfrom
artempartos/board-card-queued-chip
Oct 28, 2026
Merged

artempartos merged 1 commit into
developfrom
artempartos/board-card-queued-chip

Conversation

@artempartos

Copy link
Copy Markdown
Contributor

Summary

When two tasks had runs in flight and one of them was waiting for a free session slot, both
board cards said Running. Sessions & Runs showed the waiting one as Queued.

The server already reports a waiting run as queued (#208). WorkflowRun.waiting_for_slot_ids
uses the same rule as the Sessions & Runs feed, and the collapsed chip and the recent-runs tooltip
already show it in blue. Only the card's own status chip got it wrong: since the board redesign it
has shown every in-flight state (pending, running, paused, queued) as an amber "Running".

The chip now shows a waiting run as a blue Queued without the pulsing dot, because nothing is
executing yet. Every other state looks the same as before.

Related issues

User report: two cards on the board showed Running while Sessions & Runs showed one of them as Queued.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / chore
  • Breaking change

How was this tested?

  • New BoardPage.test.tsx case: a card whose latest run is queued shows "Queued" and not
    "Running". It fails without the fix and passes with it. All 132 tests in the file pass.
  • eslint on the changed files and tsc --noEmit both pass locally.
  • I did not run the full make check_all locally. CI on this PR is the verification.

Checklist

  • I read CONTRIBUTING.md.
  • All my commits are signed off for the DCO (git commit -s).
  • I have signed (or will sign) the CLA when the bot prompts me — or my
    organization has executed the Corporate CLA.
  • make check_all passes locally (tests, rubocop, brakeman, eslint, typescript).
  • I added/updated tests where it makes sense.
  • I updated documentation where it makes sense.
  • User-visible changes have an entry under [Unreleased] in CHANGELOG.md.
  • My commits use clear, descriptive messages.

🤖 Generated with Claude Code

The server already reports a run whose step waits for capacity as `queued`
(#208), and Sessions & Runs, the collapsed chip and the recent-runs tooltip
all show it that way. The card's own status chip, rebuilt in the board
redesign, folded every in-flight state into an amber "Running", so two
cards read as running while one of them was still waiting for a slot.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
@artempartos
artempartos merged commit e6c24c8 into develop Oct 28, 2026
16 checks passed
artempartos added a commit to Hitin/flow that referenced this pull request Oct 28, 2026
* origin/develop:
  docs(workflows): describe workflows as sessions made of steps (AixleHQ#595)
  feat(workflows): open archived workflows read-only in the builder (AixleHQ#594)
  feat(task-comments): let authors delete their own recent comments (AixleHQ#593)
  feat(mcp): log the JSON-RPC method and tool name of each MCP call (AixleHQ#592)
  fix(board): show a run waiting for a session slot as Queued on its card (AixleHQ#591)
  feat(brand): use the new Aixle Flow lockup and route fonts through tokens (AixleHQ#590)
  feat(overview): show tokens used and session time instead of token cost (AixleHQ#589)
  fix(agents): pre-acknowledge Claude Code's cost-threshold notice (AixleHQ#587)
  test(playwright): QA helpers batch 2 (appRequest, readInertiaPage, shot, probeRoutes, signOut) (AixleHQ#586)
  test(playwright): plain-JS QA helpers for browser_run_code on staging (AixleHQ#584)
  feat(runners): add the runners table and the Runner model (AixleHQ#583)
  refactor(feature-flags): plain cached reads, no usage tooling (AixleHQ#579)

# Conflicts:
#	CHANGELOG.md
artempartos added a commit to Hitin/flow that referenced this pull request Oct 28, 2026
* origin/develop:
  docs(workflows): describe workflows as sessions made of steps (AixleHQ#595)
  feat(workflows): open archived workflows read-only in the builder (AixleHQ#594)
  feat(task-comments): let authors delete their own recent comments (AixleHQ#593)
  feat(mcp): log the JSON-RPC method and tool name of each MCP call (AixleHQ#592)
  fix(board): show a run waiting for a session slot as Queued on its card (AixleHQ#591)
  feat(brand): use the new Aixle Flow lockup and route fonts through tokens (AixleHQ#590)
  feat(overview): show tokens used and session time instead of token cost (AixleHQ#589)
  fix(agents): pre-acknowledge Claude Code's cost-threshold notice (AixleHQ#587)
  test(playwright): QA helpers batch 2 (appRequest, readInertiaPage, shot, probeRoutes, signOut) (AixleHQ#586)
  test(playwright): plain-JS QA helpers for browser_run_code on staging (AixleHQ#584)
  feat(runners): add the runners table and the Runner model (AixleHQ#583)
  refactor(feature-flags): plain cached reads, no usage tooling (AixleHQ#579)

# Conflicts:
#	CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant