Skip to content

fix(native): report output truncation via stdout/stderr truncated flags #144

Closed

Description

@morluto

Description

CommandRunner currently returns stdoutTruncated and stderrTruncated as false in its returned result even when output was truncated.

Impact

Consumers lose metadata about output provenance and may process partial results as complete output.

Reproduction

  1. Run a native command that exceeds capture size limits.
  2. Inspect result flags in returned command outcome.
  3. Confirm truncation flag remains false.

Expected behavior

Set truncation flags to true whenever output truncation/kill occurs.

Files

  • src/native/CommandRunner.ts (around lines 210-217, 238-239)

Activity

  1. added
    bug
    P2: medium
    on Jul 14, 2026
  2. added a commit that references this issue on Oct 26, 2026
  3. added
    area: native
    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

    P2: mediumarea: nativebug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions