Skip to content

fix(web): show completed Actions held by environment Pause #506

Closed

Description

@lastobelus

When a Project Action finishes while environment Pause holds its agent follow-up, the client shows no Action status. The result and report remain retained, but the thread looks as if there is no pending work.

Observed on source a4043c2d76c27cb4d566a41d8e7025c767ad0460 during isolated web-client acceptance. This is a demonstrated presentation gap; its introduction by an upstream update has not been established.

Reproduction

  1. Pause an environment with a Project Action in progress.
  2. Let the Action complete while its follow-up remains held.
  3. Open its thread.

The relevant state is a completed outcome with delivery: "pending" and heldByEnvironmentPause: true. The current Action banner hook selects running outcomes or delivery: "available", so neither banner applies.

Expected behavior

Show that the Action completed and its follow-up is held by environment Pause. Present the retained report summary when available, and explain that the environment's Resume control releases the follow-up. Preserve the pending state and existing authority checks.

Scope

The narrow repair belongs in the composer Action presentation. Do not relabel this as an interrupted Action, change delivery to available, automatically start a provider, or add a raw-output viewer. The remote web Pause entry point already exists in Settings → Connections; the sidebar's local-only Pause control is intentional. This is separate from delegated-task completion policy in #482.

Source pointers: apps/web/src/components/chat/useActionResumeBanners.tsx, apps/web/src/components/chat/ComposerActionResume.tsx, and the Action-banner integration in apps/web/src/components/ChatView.tsx.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions