Skip to content

[BUG] Bash detach can truncate trailing output (StdoutPipe + Wait race) #696

Closed

Description

@edenreich

Summary

When a foreground bash command is detached to background (ctrl+b), the StdoutPipe + Wait handoff after detach can race and truncate the command's trailing output (#684). Minor robustness follow-up.

Steps to Reproduce

  1. Run a bash command that emits output right up to the moment it exits.
  2. Detach it to background mid-run (ctrl+b).
  3. Read the shell output via BashOutput / /tasks; trailing lines emitted near process exit can be missing.

Expected Behavior

All output up to process exit is captured and readable after a detach.

Actual Behavior

Trailing output can be truncated due to a StdoutPipe + Wait race in the detach handoff.

Notes

Activity

  1. added
    bug
    on Jun 30, 2026
  2. added theissue type on Jun 30, 2026
  3. moved this to Todo in 2026on Jun 30, 2026
  4. added a commit that references this issue on Jul 2, 2026
    e1d0d84
  5. moved this from Todo to Done in 2026on Jul 2, 2026
  6. inference-gateway-releaser commented on Jul 3, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.128.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

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

    bugreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions