Executions: show runs waiting on a prompt; Automated tab filters on the server #71

Merged
jared merged 1 commits from executions-views into main 2026-11-23 11:45:44 -05:00
Owner

Closes #3, closes #4. This is a UI change, so it needs your approval.

Waiting runs, before and after

#3: Runs waiting on a prompt

  • The executions list now includes waiting_for_input for each execution: true when a running execution is blocked on a prompt.
  • That row shows waiting in the design system's purple, instead of looking like any other running job.
  • The Status filter's Waiting option, which could never match anything, now finds these runs.

#4: Automated tab

  • A new only_internal=true filter, for Gandalf and scheduler runs, is used by the Automated tab. It now pages and counts on the server, like the Manual tab already did.
  • Before, it filtered one shared page of 50 in the browser, so it under-filled and its count was wrong.

Tests

  • Integration: waiting_for_input is true while a prompt is pending and false after the answer. only_internal and hide_internal return disjoint sets.
  • UI: a waiting run shows as waiting, and the Waiting filter finds it.
  • Locally: integration 48/48, UI 34/34, lint is clean.

The issue also suggested a header banner ("1 execution awaiting input"). That would be a bigger visual change, so it can follow separately if you want it.

🤖 Generated with Claude Code

Closes #3, closes #4. **This is a UI change, so it needs your approval.** ![Waiting runs, before and after](https://code.lotusguild.org/LotusGuild/pulse/raw/branch/pr-assets/pr-71/executions-waiting.png) ## #3: Runs waiting on a prompt - The executions list now includes `waiting_for_input` for each execution: true when a running execution is blocked on a prompt. - That row shows **waiting** in the design system's purple, instead of looking like any other running job. - The Status filter's **Waiting** option, which could never match anything, now finds these runs. ## #4: Automated tab - A new `only_internal=true` filter, for Gandalf and scheduler runs, is used by the Automated tab. It now pages and counts on the server, like the Manual tab already did. - Before, it filtered one shared page of 50 in the browser, so it under-filled and its count was wrong. ## Tests - Integration: `waiting_for_input` is true while a prompt is pending and false after the answer. `only_internal` and `hide_internal` return disjoint sets. - UI: a waiting run shows as `waiting`, and the Waiting filter finds it. - Locally: integration 48/48, UI 34/34, lint is clean. The issue also suggested a header banner ("1 execution awaiting input"). That would be a bigger visual change, so it can follow separately if you want it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 1 commit 2026-11-23 11:38:39 -05:00
Executions: show runs waiting on a prompt; Automated tab filters on the server (#3, #4)
CI / Lint (eslint) (pull_request) Successful in 29s
CI / Test (jest) (pull_request) Successful in 24s
CI / Security (npm audit) (pull_request) Successful in 12s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m48s
CI / Integration (api) (pull_request) Successful in 2m32s
CI / UI (playwright) (pull_request) Successful in 2m6s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 2m28s
39d28fb9e7
- #3: the list response includes waiting_for_input for each execution
  (a running execution blocked on a prompt). The row shows it as
  'waiting' (the design system's purple status) and the Waiting status
  filter, which could never match, now finds it.
- #4: new only_internal=true filter (Gandalf and scheduler runs), used by
  the Automated tab, so it pages and counts on the server like the Manual
  tab; the client-side filter over one shared page is gone.
- Tests: integration for waiting_for_input and both server filters; UI
  for the waiting status and the filter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared merged commit 2c1eb712f2 into main 2026-11-23 11:45:44 -05:00
jared deleted branch executions-views 2026-11-23 11:45:49 -05:00
Sign in to join this conversation.