Skip to content

[Bug]: Activity labels fall back to "Running command" for env-setup eval pipelines #41718

Done

Description

@mwolson

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Run a shell command in any provider turn that starts with a version-manager or environment-setup eval segment before the real command, for example:
    cd /path/to/repo && eval "$(fnm env --shell zsh)" && fnm use 26.13.1 && git commit -m "msg"
    or:
    eval "$(/opt/homebrew/bin/brew shellenv)" && pnpm test
  2. Inspect the command activity label shown in the thread work log.

Expected behavior

The activity label skips the leading environment-setup eval segment and displays the following program name (for example fnm or pnpm), matching how leading cd and export segments are skipped.

Actual behavior

The activity label falls back to a generic "Running command" label because eval is treated as a terminal non-descriptive shell program and stops segment scanning before the actual command.

Impact

Minor bug or occasional failure

Version or commit

main (42c9107983)

Environment

Cross-platform (web, desktop, and mobile work-log command labels across providers).

Fix

Fix is in #41713 (#41713 command-label-eval-env-setup).


Sent by Mike's agent (Gemini 4 Neon in T3 Code, Antigravity harness)

Activity

  1. added
    vouch:trusted
    on Nov 23, 2026
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

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions