Repository navigation
fix(pipelines): waiting on background work is not needing you, plus a Possibly stuck indicator - #33
Merged
jappyjan merged 4 commits intoNov 16, 2026
Conversation
jappyjan
force-pushed
the
feat/pipelines
branch
from
November 16, 2026 11:19
179b512 to
f183d21
Compare
…needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JappyMondo
force-pushed
the
t3/fix-pipeline-needs-input-active-watchers
branch
from
November 16, 2026 11:37
78d5cdb to
c866a6b
Compare
… needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jappyjan
marked this pull request as ready for review
November 16, 2026 11:43
jappyjan
added a commit
that referenced
this pull request
Nov 16, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 17, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 18, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 18, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 19, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 20, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 20, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 21, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 21, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 22, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 22, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 23, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
jappyjan
added a commit
that referenced
this pull request
Nov 23, 2026
… Possibly stuck indicator (#33) * fix(pipelines): a step waiting on background work no longer reads as needing you A paused awaiting_handoff step whose thread still has pending background work (commands, monitors, background tasks, subagents, pull request watches) now shows as waiting on background work on web, mobile and MCP, instead of Needs you. Add a Possibly stuck indicator for any thread whose last turn ended while non-PR-watch background work kept running past a threshold (setting possiblyStuckAfterHours, default 2, 0 = off): a row status, a collapsible sidebar group on web and mobile, and MCP attention possibly_stuck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(web): the Possibly stuck clock no longer reads the UTC minute as local time The shared minute clock is a UTC date-time without an offset, and Date.parse read it as local time. The check ran a timezone offset early or late: for a user west of UTC, any thread with unawaited background work looked stuck as soon as its turn ended. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(pipelines): a stuck step reads Possibly stuck everywhere, and all surfaces share one wait rule Review fixes for the waiting-on-background-work and Possibly stuck work: - A paused step that may be stuck now rolls up to its pipeline parent as Possibly stuck with an attention badge, not as generic Input. Only the current step counts, so a dev server an earlier step left running no longer moves a running pipeline into the Possibly stuck shelf. - The server and the clients classify a thread's pending work with one shared rule (classifyBackgroundWait). MCP no longer reports a run as awaiting_handoff while its step's wake turn runs. - The minute clock is parsed in one place (client-runtime minuteTickToEpochMs), and a missing server config never reads as stuck on any surface, including the mobile run panel. - The mobile run panel's step rows use the shared wait labels, so they read Waiting on background work / Possibly stuck like the web. Short labels say Possibly stuck everywhere. - The coordinator panel's progress bar no longer marks a step waiting on background work as needing you. - The web setting moves to its own Possibly stuck section; pipeline_status mentions possibly_stuck. - Smaller cleanups: one stuck clock per environment in the web sidebar, no per-step-row clock in the run view, mobile reads server configs from the presentation atom, accessible shelf labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(pipelines): a failed or gated step with stale work still reads as needing input Possibly stuck only rolls up from a step paused at its handoff, so a failed, stopped or gated pause keeps asking for input as MCP reports it. A run that is over still surfaces any stuck step, and the mobile step row reads Running during a wake turn, like the web. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Jan Jaap <jan.jaap@digimondo.de> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A pipeline step whose turn ended without a handoff showed "Needs you" / "Input" even while its thread still had a dev server, monitor, background task, subagent or PR watch running. That work usually wakes the agent, and a handoff is refused while it runs, so the step was waiting on its own work, not on the user.
Fix
classifyBackgroundWaitinpackages/shared, wrapped bythreadBackgroundWaitin client-runtime) classifies a thread's pending work aspull_request,background_workorpossibly_stuck. The web sidebar (row, parent, progress bar), run view, coordinator panel, mobile run panel and thread list, and MCPlist_pipeline_runsall use it. The server pause mechanics and Continue are unchanged.<Step>may be stuck" in the run view;possibly_stuck.possiblyStuckAfterHours(default 2, 0 = off). It is editable in web Settings → Threads → Possibly stuck and in mobile Settings → Threads.docs/user/pipelines.md,docs/user/thread-sidebar.md.Notes
Staleness reuses the shared minute clock. The minute string is parsed in one place (
minuteTickToEpochMsin client-runtime). A missing server config never reads as stuck.MCP
list_pipeline_runsno longer reports a paused run asawaiting_handoffwhile its step's wake turn runs, which matches the clients.MCP tool text grew;
agentContextBudget.jsonis updated. The paid evals inevals/mcp-tool-usewere not run: there are no API keys in this environment.QA found and fixed a timezone bug in the web stuck check: the UTC minute string was parsed as local time.
vp run check:changed: format, lint, knip and typecheck pass. These test failures also fail on unmodifiedfeat/pipelines:Sidebar.browser.test.tsx > settled paginationProjectionStore.test.tsandOrchestrator.control-reads.test.ts(statement.stat is not a function)ServerEnvironment.test.ts > install ownershipChatView.browser.test.tsx > rightPanelOpentimed out under load and passes when run alone.🤖 Generated with Claude Code