A stopped workflow stage should show its child stages as stopped too
Les mainteneurs répondent en général sous 1 jour
@lavaman131 y travaille déjà.
Depuis le 16/10/2026.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
When a workflow run stops, its run card in Chat shows the stopped stage as stopped, but the stages under it keep their last status, such as running or queued. The card then reads as though work is still going on inside a run that has ended.
Steps to reproduce
- Start a workflow run from a document's Planner whose stages have child stages, for example a stage that fans out into several sub-stages.
- While a parent stage and its children are running, stop the run. Ending the Planner's connection or deleting the document also stops it.
- Look at the run card in Chat (
apps/web/src/chat/run-card.tsx).
Expected: every stage under a stopped stage shows stopped too, or a muted "not run" for ones that never started. The tree should agree with its parent, and no spinner should keep going under a stopped stage.
Actual: the parent shows stopped, while its children still show running or queued, sometimes with an active spinner.
Suggested fix
- When the card renders a stage whose status is stopped, failed or cancelled, show each descendant that hasn't reached its own end state as stopped. A descendant that already finished (done or failed) keeps its own status.
- Do this where the card builds its stage tree from the Planner's run report, so it applies however the report arrived (live update or reload). Optionally apply the same rule where the server stores the report (
packages/protocol/chat.d.ts). - Add a unit test: a stopped parent with running, queued and done children renders stopped, stopped and done.
- Add a design-audit plate: extend
design-audit/plates/workflow-runs.tsxwith a stopped run that has nested stages.
Assistant-workflow: inline
Assistant-duration: unmeasured
Assistant-verification: manual unavailable: UX feedback from lavaman131 after a run stopped mid-stage on the hosted instance; not reproduced locally
Co-authored-by: lavaman131
- Langage dominant
- TypeScript
- Étoiles
- 409
- Forks
- 24
- Merge moyen
- 11 h 58 min
- PR mergées (30 j)
- 456
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de githubnext/chopin
-
documentation triage/human-response
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
githubnext/chopin#149 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
githubnext/chopin#699 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 3/5 Une demi-journée Accessibilité débutants 45/100
githubnext/chopin#597 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 30/100
githubnext/chopin#596 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 12/100
githubnext/chopin#595 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de githubnext/chopin
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
awslabs/visual-asset-management-system#804 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
restatedev/sdk-typescript#813 ·
-
bug desktop P1 session XS
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Merit-Systems/x402scan#1312 ·
-
type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Azure/apiops-cli#331 ·
Les mainteneurs répondent en général sous 3 jours